Skip to content

ci: relay test failures as annotations (diagnose the red cell) - #111

Merged
arena-ai-coding-agent[bot] merged 1 commit into
mainfrom
arena/01a0edde-feedback-o-tron
Sep 29, 2026
Merged

arena-ai-coding-agent[bot] merged 1 commit into
mainfrom
arena/01a0edde-feedback-o-tron

Conversation

@arena-ai-coding-agent

Copy link
Copy Markdown
Contributor

PR #110 merged and CI ran for real on main. Result:

  • Compile (warnings as errors) — green on all three cells
  • Dialyzer — green
  • Run tests — red on all three cells, one failure:
    test run/2 confirm gate a yes with the consent service down sends nothing and exits non-zero (FeedbackATron.CLITest)

Exit code 2 means failures and compile warnings, so there are two things to read.

This PR adds the relay so the failure is readable at all: log archives are hosted on results-receiver.actions.githubusercontent.com, which is not reachable from the sandbox, so a red cell cannot be diagnosed from the log the way a human would. The step re-emits the failing block (and the compile warnings) as a check annotation, which the Checks API exposes.

No behaviour is changed by this PR. Next: read the annotation, fix the test, then decide whether the relay stays.

@coderabbitai

coderabbitai Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 5529fe14-527c-4628-b401-932a9dca4dee

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@arena-ai-coding-agent
arena-ai-coding-agent Bot force-pushed the arena/01a0edde-feedback-o-tron branch from d7db9d8 to 6f64a6a Compare September 29, 2026 17:09
@arena-ai-coding-agent
arena-ai-coding-agent Bot merged commit e11bb6c into main Sep 29, 2026
1 of 2 checks passed
@arena-ai-coding-agent
arena-ai-coding-agent Bot deleted the arena/01a0edde-feedback-o-tron branch September 29, 2026 17:10
hyperpolymath added a commit that referenced this pull request Sep 29, 2026
…n) (#112)

main is currently red: all three Elixir cells fail on exactly one test,
`run/2 confirm gate a yes with the consent service down sends nothing
and exits non-zero`.

Why PR #111 was needed first: log archives live on
`results-receiver.actions.githubusercontent.com`, which the sandbox
cannot reach, so the failure could not be read the way a human would.
That PR (already merged) re-emits the failing block as a check
annotation.

The diagnosis from `mix test` exit code 2: that is not a plain assertion
failure — it is the branch where an exception escapes the suite, and the
only candidate here is the `on_exit` that restores the consent service's
registered name. It is now best-effort and cannot raise. The assertions
also name the values they compare, so if this still fails the next run
says *which* of the two behaviours is wrong rather than only which test.

No behaviour changed; nothing but the test moved.

---------

Co-authored-by: Arena Agent <agent@arena.ai>
Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
Co-authored-by: Jonathan D.A. Jewell <6759885+hyperpolymath@users.noreply.github.com>
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.

0 participants