Repository navigation
test(modules): finish Odysseus fixture migration - #4070
Merged
Merged
Conversation
This was referenced Nov 15, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2787
What changed
Finance client fixtures and their assertions now use Ithaca Fleet, Phaeacian Fleet and Ithaca Shipwrights. The ledger starter's legal-name comment and the remaining UI entity/backend-vendor test literals use the Odysseus world. Jobs, scrape and core were already migrated on main by earlier work recorded on the issue.
Why this shape
Follows the example-corpus decision. All three finance ledgers were compared against the base after substituting only names/slugs: amounts, currencies, dates, terms and invoice/payment structure are byte-identical. Runtime behavior and contracts are unchanged. A patch changeset covers the shipped template comment.
Deliberately keep
@acme/brain-backend-acme, its module variable and environment variable indocs/extending/agent-backends.md: these represent the reader's third-party package, rather than an example persona, as permitted by the issue. TheACME_API_TOKENindocs/hosting/README.mdis likewise a generic environment-variable forwarding placeholder. No stock-name matches remain under packages, template or website.Proof
Failing first: after updating finance test consumers but before migrating fixtures,
bun run test packages/module-finance/tests/finance.test.tsfailedledger computation > loads all fixture ledgerson the slug-array assertion (expected the three Odysseus slugs; received the three old slugs). 4 passed, 7 failed. An earlier dependency-missing invocation is excluded as behavioral evidence.After migration: the focused finance suite passed all 11 tests, including generated-region escaping and idempotence.
Mutation: reduced the Ithaca Fleet partial-payment receipt/allocation from 1000 to 900.
partial payment leaves the invoice partial with the right open balancefailed at the existing paid assertion, expected 1000, received 900 (10 passed, 1 failed). Restored original fixture bytes.Restored full issue command:
bun run test packages/module-finance packages/module-jobs packages/core/tests/reranker-helpers.test.ts packages/core/tests/taxonomy.test.ts packages/scrape packages/ui-react/tests/file-link-detection.test.ts packages/ui-server/tests/backend-registry.test.ts: 681 passed, 0 failed, 20 skipped across 38 files. The skips are existing real-Chrome jobs/scrape policy tests; no browser proof is claimed by this local run. No jobs/scrape/browser implementation changed.git grep -inE "acme|globex|initech" -- packages template website: no matches.bun scripts/check-changeset-packages.tsandbunx --no-install changeset status: passed; the full pending lockstep plan remains minor, with no major bump.check:pr: lint/leakage, environment documentation and changeset gates passed; the fast-invariant batch failed (261 passed, 9 failed). The exact selected batch subsequently passed on both basecc326cc64348a765325adc1cbe74248d60844845and unchanged head89375e9acec90cd717c6f716ae15bf35eaa5a51a: 280 passed, 0 failed each. These are diagnostic recovery runs, not a correction. Follow-up ci: retain diagnostics for transient local fast-invariant batch failures #4069 preserves the unexplained transient failure. No hosted job was rerun.{"version":1,"kind":"brain-check-pr-receipt","head":"89375e9acec90cd717c6f716ae15bf35eaa5a51a","base":"origin/main","mode":"focused","startedAt":"2026-11-15T22:01:27.729Z","finishedAt":"2026-11-15T22:02:31.246Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":38707.04138499999},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":157.20703000000503},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":114.01258399999642},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":17.21484899999632},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"failed","reason":"exit 1","elapsedMs":24409.34377600001}]}Checklist
Anything left open
Nothing in implementation scope. Follow-up #4069 tracks the transient local preflight failure without a milestone. The orchestrator owns candidate confirmation and landing; this PR stays draft for that handoff.
Final
bun scripts/collisions.ts --json --pr 4070at head89375e9acec90cd717c6f716ae15bf35eaa5a51a: graph built; 0 textual, 0 path, 30 closure, 0 unknown collisions. Overlapping dependency closures with #3054, #3056, #3059, #3069, #3581, #3622, #4002, #4018, #4034, #4035, #4036, #4037, #4038, #4040, #4041, #4042, #4046, #4050, #4052, #4053, #4055, #4056, #4057, #4058, #4060, #4062, #4064, #4065, #4067, #4068. These overlap selected proof/consumer closures; there are no textual or changed-path conflicts in this report.