Skip to content

ci: disable setup-beam problem matchers to quiet dep-warning annotations - #10

Merged
bougyman merged 1 commit into
mainfrom
issue-9
Aug 9, 2026
Merged

ci: disable setup-beam problem matchers to quiet dep-warning annotations#10
bougyman merged 1 commit into
mainfrom
issue-9

Conversation

@bougyman

@bougyman bougyman commented Aug 9, 2026

Copy link
Copy Markdown
Member

Summary

Closes #9 (partially - see caveat below).

  • erlef/setup-beam@v1 registers GitHub Actions problem matchers by default (disable_problem_matchers: false), which scan mix/erlc compiler output and promote matching lines into annotations. That's what was turning postgrex/rewrite's deprecated xref: [exclude: ...] and yamerl's deprecated catch ... syntax - both harmless compiler warnings from third-party deps - into annotation clutter on every build.
  • All three of those deps (postgrex, rewrite, yamerl) are already at their latest published Hex versions (verified via mix hex.outdated --all), so there's no version bump that fixes the underlying warnings - they're upstream-only until those maintainers migrate. Setting disable_problem_matchers: true on all three erlef/setup-beam@v1 steps (ci.yaml, both jobs in burrito-release.yaml) silences the annotation promotion while leaving the actual compiler output visible in the raw logs.

Caveat: the Node.js 20 deprecation annotation (mlugg/setup-zig@v2.2.1) is not addressed by this PR - we're already pinned to that action's latest release (v2.2.1), and its action.yml still declares using: 'node20'. That's on the action's maintainer to fix; nothing to change here until they bump it.

Test plan

  • Validated both edited workflow YAML files parse correctly (ruby -ryaml)
  • Confirmed via mix hex.outdated --all that postgrex/rewrite/yamerl/yaml_elixir are all already at their latest Hex-published versions - the warnings aren't from us being behind
  • Confirmed mlugg/setup-zig's latest release (v2.2.1) still targets node20 in its own action.yml - not fixable by re-pinning
  • Next real CI run on this branch should show 0 annotations from setup-beam's matchers (xref + catch warnings gone), with only the Node20 one remaining

🤖 Generated with Claude Code

…tions

setup-beam's problem matchers were promoting compiler warnings from
third-party deps (postgrex/rewrite's deprecated `xref: [exclude: ...]`,
yamerl's deprecated `catch ...` syntax) into GitHub Actions annotations
on every build. All three are already at their latest published Hex
versions, so there's no fix to bump to - just noise from code we don't
own. disable_problem_matchers: true silences the annotation promotion
while leaving the actual compiler output in the raw logs.

The remaining Node.js 20 deprecation annotation (mlugg/setup-zig@v2.2.1)
is not fixable here either - we're already on that action's latest
release, and its action.yml still declares `using: 'node20'`; that's
upstream-only until they bump it.

Closes #9.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 9, 2026 19:56
@bougyman
bougyman merged commit 4b11ce8 into main Aug 9, 2026
3 checks passed
@bougyman
bougyman deleted the issue-9 branch August 9, 2026 19:57

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR reduces GitHub Actions annotation noise by disabling erlef/setup-beam@v1 problem matchers so that third-party dependency compiler warnings remain in raw logs without being promoted to workflow annotations, addressing issue #9’s dep-warning clutter.

Changes:

  • Set disable_problem_matchers: true on the erlef/setup-beam@v1 step in the main CI workflow.
  • Set disable_problem_matchers: true on the erlef/setup-beam@v1 steps in both jobs of the Burrito release workflow.
  • Add inline documentation explaining why the matchers are disabled and linking to #9.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/workflows/ci.yaml Disables setup-beam problem matchers to prevent dependency warnings from becoming CI annotations.
.github/workflows/burrito-release.yaml Applies the same matcher-disable setting to both release jobs to keep release pipeline annotations clean.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warnings in the release pipeline

2 participants