Skip to content

Fix compute epic integration review findings - #2064

Merged
neuromechanist merged 6 commits into
feature/issue-2005-epic-compute-corefrom
fix/compute-integration-review
Nov 6, 2026
Merged

neuromechanist merged 6 commits into
feature/issue-2005-epic-compute-corefrom
fix/compute-integration-review

Conversation

@neuromechanist

Copy link
Copy Markdown
Contributor

Fixes from the integration review of the compute epic (#2005). No behavior change except test timeouts and one test row.

  • Scan tests that parse all of backend/src get an explicit 60_000 ms timeout: every planted-violation test in oidc-cascade-callers and compute-end-callers, and the tests that call createTree in the sibling scan files.
  • ADR 0118 and the tenant sweep comment no longer say an administrator moves an unreserved job's charge by an adjust entry: no route reaches the partner pool, and Epic D's partner-pool phase exposes the move. Added the missing unreservedChargeStatements row (an overrun that names the budget, effect raises) to the "every operation" table in compute-ledger-budget.test.ts.
  • The comment in compute-lifecycle.ts and ADR 0118 (A7 item 9c) now say that for a released hold the observer has no charge entry to correct, so a matched sacct row stays unapplied and only the mismatch flag records the use. SQL unchanged.
  • Epic D's reserved migration range moves to 0131 and up (README, implementation notes, ADR 0118 item 8, and the comment of migration 0130, comment lines only), with a sentence on why a migration below an applied higher one is a hazard.
  • compute-release.ts and ADR 0118 say that the owner merge command oidc end-account ends OIDC holdings only (ADR 0119) and compute ends through the revoke or delete that follows.
  • AGENTS.md gets a hard rule for the compute switches. Not done: the ADR list entries. AGENTS.md no longer carries an ADR list; the load-bearing list is in .context/decisions/README.md, which already has ADR 0118 and ADR 0119.

Tested: bun run lint, bun run typecheck, test/adr-index.unit.test.ts, test/adr-0119-wording.unit.test.ts, test/docs-links.unit.test.ts, and from backend/ the touched test files one by one, plus compute-observer, compute-sweep and compute-switches-flag. The full suite was not run.

@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

📦 Package Preview

Your package is ready to test!

bun install -g nemar-cli@PR2064

Version: 0.10.28-PR2064.67ba946
Commit: 67ba946


🤖 Updated on each push.

@neuromechanist
neuromechanist merged commit 603ef31 into feature/issue-2005-epic-compute-core Nov 6, 2026
20 checks passed
@neuromechanist
neuromechanist deleted the fix/compute-integration-review branch November 6, 2026 23:19

This branch was previously deployed

1 inactive deployment
npm — 67ba9468 Deployed Nov 6, 2026 by neuromechanist via publish #4281
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