Skip to content

ci(pm-stack): run aggregator tests with the fixture environment (#5557) - #8683

Merged
dezren39 merged 1 commit into
mainfrom
queue/10520-5557-aggregator-fixture
Nov 11, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/10520-5557-aggregator-fixture

Conversation

@dezren39

@dezren39 dezren39 commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Refs #5557 (partial — see scope notes).

What

pm-aggregator-tests.yml's aggregator test job ran bare bun test, which boots the live sources. The suite's contract is the fixture environment: this sets PM_AGG_SOURCE=fixtures and PM_AGG_DEV=1 as job-level env for the tests + typecheck job.

Scope notes (packet revalidated fresh, 2026-11-11)

  • No triggers added. The packet asked for pull_request/push triggers, but Drew's 2026-11-05 ruling (pm-aggregator-tests workflow: auto triggers BLOCKED on runner strategy (dispatch-only by Drew's ruling 2026-11-05) #6126) — recorded in this workflow's own header — keeps it dispatch-only and forbids adding auto triggers in a routine workflow fix. The earlier attempt that added them (PR ci(pm-stack): validate aggregator on pull requests #6356) was closed unmerged.
  • Stale repo-name expectations no longer reproduce. On current main, the packet-named files (test/program.test.ts, test/board-in-flight.test.ts, test/conflicts-1282.test.ts) pass 49/49 under the fixture env; the six stale developing-today/opencode / developing-today/openchamber expectations were fixed by intervening work.
  • The remaining full-suite failures seen locally trace to the laptop's live aggregator already holding ports 4870/4871 (EADDRINUSE in test server boots) — an environment collision, not a suite defect.

Verification

Task 10520 (lane any-b).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The pm-aggregator test job ran bare `bun test`, booting the live
sources: the suite contract is the fixture environment, and without
it the run depends on whatever the runner can reach (and fails on
machines already running an aggregator, via the fixed source ports).
Set PM_AGG_SOURCE=fixtures and PM_AGG_DEV=1 as job-level env for the
aggregator tests + typecheck job.

Scope notes (packet revalidated 2026-11-11, lane any-b):
- No triggers added: Drew's 2026-11-05 ruling (#6126, recorded in
  this file's header) keeps the workflow dispatch-only; the earlier
  trigger attempt (PR #6356) was closed.
- The stale repo-name expectations from the packet no longer
  reproduce: the packet-named files pass 49/49 with the fixture env
  on current main.
@dezren39
dezren39 requested a review from a team as a code owner November 11, 2026 13:45
@coderabbitai

coderabbitai Bot commented Nov 11, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 24 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: cbacbf68-a634-4461-b4d9-ef311112796c
Commits

Reviewing files that changed from the base of the PR and between c04c45a and 276a84d.

Files selected for processing: 1

  • .github/workflows/pm-aggregator-tests.yml
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T13:46:53.039040Z 276a84d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@dezren39
dezren39 merged commit d975192 into main Nov 11, 2026
1 of 21 checks passed
@dezren39
dezren39 deleted the queue/10520-5557-aggregator-fixture branch November 11, 2026 14:55
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.

1 participant