Skip to content

test(pm-aggregator): finish forks-org repoint in fixtures + expectations; fix stale Phase-C CSS assertion (#6768) - #6786

Merged
developing-today[bot] merged 1 commit into
mainfrom
queue/fallback-6768-program-test-forks-refs
Nov 7, 2026
Merged

developing-today[bot] merged 1 commit into
mainfrom
queue/fallback-6768-program-test-forks-refs

Conversation

@dezren39

@dezren39 dezren39 commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

Fixes #6768.

What was wrong

  1. program.test.ts (2 deterministic failures): the registry repoint commits aef24c0006 (opencode) and 0a7bfedbb7 (openchamber) moved production code (project-config.ts, model.ts, live.ts) to developing-today-forks/* — intended, the forks org is the repos' current home — but missed src/sources/fixtures.ts and the fleet-card expectations in test/program.test.ts.
  2. aa.test.ts (AA explorer: every chart gets an expand button + zoom/pan controls #3298 test): the .chart-expanded { position: fixed assertion expected the rule inline in page HTML. Since Phase C (pm-stack overhaul: port registry, functional audit, Tailwind/DaisyUI/Datastar UI (2026-11-05) #6153) page CSS is the external /assets/app.css build, the rule lives in src/ui.css / compiled app.css (position: fixed !important) — behavior unchanged, assertion stale.

Changes

  • src/sources/fixtures.ts: OPENCODE/OPENCHAMBER constants → forks org (completes the repoint; fixture roadmap/board refs now match the shipped registry).
  • test/program.test.ts: all registry-derived expectations → forks org.
  • test/render.test.ts: the two fixture-derived assertions → forks org. Synthetic old-org strings used as arbitrary parsing input in other tests are untouched.
  • test/aa.test.ts: assert the /assets/app.css link + the .chart-expanded rule in src/ui.css — the pattern render.test.ts / epic-graph.test.ts already use for Phase C.

Verification

  • bun test test/program.test.ts — 16/16 pass (was 14/16).
  • Targeted batch (program, render, board-in-flight, projector, projects, coverage, ready-for-agent, forecast-3982, epic-graph, a11y-1215): 195 pass / 0 fail.
  • forecast-3982 timeout from the finding run: not reproduced — 33/33 pass twice in isolation; a load flake on the busy laptop (load1 ~15).
  • aa.test.ts cannot boot its test server on the laptop (the production aggregator holds 127.0.0.1:4871, EADDRINUSE in the file-level hook — CI is unaffected); its AA explorer: every chart gets an expand button + zoom/pan controls #3298 assertions were verified directly against renderAa fixture output plus src/ui.css, which is also how the one failing assertion was root-caused.

Filed from a fallback-mode queue shift (lane code-u; queue backend down, code#6619).


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

…ons; fix stale Phase-C CSS assertion in aa (#6768)

The registry repoint commits aef24c0 (opencode) and 0a7bfed (openchamber) moved production code to developing-today-forks/* but missed src/sources/fixtures.ts and the fleet-card expectations in program.test.ts, leaving 2 deterministic failures. Update the fixture OPENCODE/OPENCHAMBER constants and all registry-derived expectations (program.test.ts, plus the two fixture-derived assertions in render.test.ts). Synthetic old-org strings used as arbitrary test input elsewhere are untouched.

aa.test.ts: the .chart-expanded assertion expected the rule inline in page HTML; since Phase C (#6153) page CSS is the external /assets/app.css build, so assert the app.css link + the rule in src/ui.css (the pattern render.test.ts/epic-graph.test.ts already use). Behavior is unchanged: app.css carries .chart-expanded with position: fixed !important.

forecast-3982 timeout from the finding run: not reproduced - 33/33 pass twice in isolation; load flake on the busy laptop. aa.test.ts cannot boot its server on the laptop (production aggregator holds 127.0.0.1:4871); its #3298 assertions were verified directly against renderAa output + ui.css.
@dezren39
dezren39 requested a review from a team as a code owner November 7, 2026 04:52
@coderabbitai

coderabbitai Bot commented Nov 7, 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 52 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: d10c2cf9-9d93-4b9e-a575-e75453ed3e39
Commits

Reviewing files that changed from the base of the PR and between 2c30bb8 and b3bcaab.

Files selected for processing: 4

  • pm-stack/aggregator/src/sources/fixtures.ts
  • pm-stack/aggregator/test/aa.test.ts
  • pm-stack/aggregator/test/program.test.ts
  • pm-stack/aggregator/test/render.test.ts
  • 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 7, 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-07T04:53:46.433354Z b3bcaab 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.

@developing-today

Copy link
Copy Markdown
Contributor

Merging per standing merge authority (lane code-d, fallback mode, resuming lane code-u's park on CI):

  • Codex gate: Codex review completed on head b3bcaab — has_any_findings: false, has_unresolved_findings: false. CodeRabbit hit its review limit and posted no findings.
  • Verification (fresh, laptop): bun test test/program.test.ts + test/render.test.ts on the PR branch: 46/46 pass. Same files on clean main: 43 pass / 2 fail — the deterministic test(pm-aggregator): program.test repo-fleet expectations stale after forks-org registry move (+ forecast/aa failures on main) #6768 failures this PR fixes. The aa.test.ts server-spawn hook timeout reproduces identically on clean main (pre-existing environment failure, unrelated to this diff); the PR's aa assertion change was verified statically (rule present in src/ui.css; page emits the /assets/app.css link).
  • CI: checks still QUEUED in the runner backlog (infra) — merging per the standing rule, change verified directly.

@developing-today
developing-today Bot merged commit 90a5e91 into main Nov 7, 2026
4 checks passed
@developing-today
developing-today Bot deleted the queue/fallback-6768-program-test-forks-refs branch November 7, 2026 05:03
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.

test(pm-aggregator): program.test repo-fleet expectations stale after forks-org registry move (+ forecast/aa failures on main)

1 participant