Repository navigation
chore(ci): publish orchestrator events to the hosted archive - #4053
Merged
Merged
Conversation
Owner
Author
|
Collision scan for PR #4053 head Counts: {"closure": 24}. No unknown collision reports. The inventory sibling #4045 overlaps measurement docs; runner-slot sibling #4052 overlaps Exact collision findings and inspected peer heads[
{
"kind": "closure",
"otherPRs": [
{
"number": 3054,
"head": "a3401a68ecbcd85ef0565ede7a7a1d2e6d5f8912"
}
],
"paths": [],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"module-diagrams",
"ui-react"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 3056,
"head": "966d79e0d845e0328a0ed82785b3053293144ca6"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"module-diagrams",
"ui-react"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 3059,
"head": "0f0fd07538c27dbca64d30d5b2a5de0467b0c90f"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 3069,
"head": "44c302ecae7dd6005ea29af6b891eb31b2ca1c0f"
}
],
"paths": [],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"module-diagrams",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 3437,
"head": "ce943f3dff8ec8cd90c1f5718f9f3c2e78326398"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"module-diagrams",
"ui-react"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 3581,
"head": "eb4d654b1ee24d3badb245d17ddf53735c6cfe67"
}
],
"paths": [],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 3622,
"head": "6a814ee735e6a37ae3a8c034b4e1c35c65b56d60"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 3806,
"head": "260b1713481b446324439be588a247125e79860b"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4002,
"head": "b40a5e3cca3e35ce627372be42748e6bc8e157d0"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4018,
"head": "ddc6bf80b1932b416409cafbb97d6badace40754"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"module-diagrams",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4024,
"head": "aa8b320bf6212b56a3c91e0e8a83b92faff1d1f4"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4028,
"head": "e1223a5cd88f5c6e5889fb1bc2a84c04fc43fbcf"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4034,
"head": "a2d2fd815d78cb9fcc0e914fb36701ccef5cad5a"
}
],
"paths": [],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4035,
"head": "4570672077284cd77104a8c89b7f3b35c3c8acaa"
}
],
"paths": [],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4036,
"head": "f7905121dd64734461774c927f2076a863ed3ef7"
}
],
"paths": [],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4037,
"head": "9da07b14ddf2873c756a194a8badd329368cc483"
}
],
"paths": [],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4038,
"head": "1727dc77d5d70aa5ccc56759d14cc67dec205ce9"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4040,
"head": "ee73f2d62ffe834c533a4fff67055a9056b16d7f"
}
],
"paths": [
"tests/ci-timings.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4041,
"head": "e782dc9eec5e8c5a1ed733a1800aa17adc843810"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4042,
"head": "722c47ce2c1cb23b415b04b4e0ec4cf2be157b6b"
}
],
"paths": [],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4045,
"head": "41b459d5e19aab72602bc72c9631fe8e86423c32"
}
],
"paths": [
"docs/process/ci-throughput.md",
"docs/process/ci-timings.md"
],
"categories": [],
"workspaces": []
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4046,
"head": "8c294206f883e04de11e308d1954dbf0c3a8e59d"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"module-diagrams",
"ui-react"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4050,
"head": "358cc819ca1c544404ec0e45ba34f97d63544ee0"
}
],
"paths": [
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
},
{
"kind": "closure",
"otherPRs": [
{
"number": 4052,
"head": "a7fe275b3560811786dfb79b3f29e64b290a8522"
}
],
"paths": [
"docs/process/ci-throughput.md",
"docs/process/ci-timings.md",
"scripts/ci-timings.ts",
"tests/ci-epochs.test.ts",
"tests/ci-event-publish.test.ts",
"tests/ci-red-main.test.ts",
"tests/ci-throughput.test.ts",
"tests/ci-timings-collection.test.ts",
"tests/ci-timings.test.ts",
"tests/red-main.test.ts"
],
"categories": [
"browser",
"captures",
"endurance",
"layout",
"pack",
"runtime",
"typecheck",
"unit"
],
"workspaces": [
"common",
"compute-boat",
"core",
"geo",
"module-diagrams",
"module-finance",
"module-images",
"module-jobs",
"module-speaking",
"module-travel",
"module-video",
"render-template",
"scrape",
"ui-backend-claude",
"ui-backend-pi",
"ui-kit",
"ui-react",
"ui-render-puppeteer",
"ui-sdk",
"ui-server"
]
}
] |
This was referenced Nov 15, 2026
Merged
Merged
…chestrator-events
schlessera
marked this pull request as ready for review
November 16, 2026 07:08
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 #2954
What changed
ci-timings publishappends recorded work, wait and preemption events torefs/heads/brain-ci-metricsunder immutableevents/<id>.jsonpaths. Repeated batches add nothing; conflicting IDs fail. A bounded retry reads competing updates and preserves their tree, including unrelated monthly archive files. The recorder accepts preemption and optional opaque orchestrator IDs.Why this shape
Follows the append-only, leakage-screened, exact-lease publication decision in
docs/decisions/ci-evidence.md. An isolated Git index preserves the caller's checkout. Daily compaction consumes the dedicated events path under #2955; this change does not enable compaction or report delivery. Internal measurement tooling only: no package changeset or supported CLI/MCP contract change.Proof
publishing the same batch twice adds nothing and conflicting IDs cannot rewrite historyatFIRST_BATCH_PUBLISHED(expected 1, received 0), and the privacy test atUNSAFE_EVENT_REFUSED(expected rejection, resolved). Neither failure was a module-load error.unsafe hostnames, outside paths and names are refused before any pushfail atUNSAFE_EVENT_REFUSED. Restored the screen and reran successfully.bun run test tests/ci-event-publish.test.ts tests/ci-throughput.test.ts tests/ci-timings.test.ts tests/ci-timings-collection.test.ts: 45 passed, 0 failed. The new tests use separate Git repositories and concurrent child processes against a real local bare remote, synchronize both initial reads, and prove both events and two parented commits survive. Other cases prove idempotency, immutable-ID conflicts, privacy refusal before push, unchanged index/checkout, preserved monthly content, bounded input, scope recovery, unknown-version refusal and the record/publish CLI.bun run build: passed.NODE_OPTIONS=--max-old-space-size=6144 bun run typecheck: passed. The initial default 2 GiB Node heap exhausted memory; the larger heap completed without changing source or gates.bun run check:pr --base origin/main: receipt below. Hosted candidate confirmation belongs to the orchestrator's merge queue.{"version":1,"kind":"brain-check-pr-receipt","head":"1338d820c1aa0aff6aa61a8b0f5ef830e1c206a8","base":"origin/main","mode":"focused","startedAt":"2026-11-16T07:04:55.637Z","finishedAt":"2026-11-16T07:06:22.207Z","checks":[{"name":"all lint and leakage gates","categories":["changeset"],"outcome":"passed","elapsedMs":12507.982113},{"name":"environment documentation","categories":["changeset"],"outcome":"passed","elapsedMs":135.43280100000084},{"name":"pending changeset package names","categories":["changeset"],"outcome":"passed","elapsedMs":112.92852500000299},{"name":"contribution changeset","categories":["changeset"],"outcome":"passed","elapsedMs":20.34139199999845},{"name":"affected fast invariants","categories":["verify","unit"],"outcome":"passed","elapsedMs":73777.051371}]}Checklist
Guard containment: invalid/unsafe/version-mismatched input, conflicting immutable IDs, oversized batches or failed publication restrict only this publication invocation. Local recording and other input directories remain usable; the named scope-recovery test proves that isolation. Silently dropping unsafe records was rejected because it would hide missing evidence. All local inputs remain available, diagnostics go to stderr for the caller's command log, and no persistent refusal latch is created. Correcting the selected input permits the next invocation; competing ref changes recover automatically within five attempts. After persistent contention, retrying the retained batch is safe. This validates publication input; it does not infer whether an operator's opaque IDs truthfully describe their work.
Anything left open
Nothing in #2954. Event emission and daily compaction retain their own scope. No follow-up issues filed. The orchestrator owns hosted confirmation and merge; this PR is intentionally draft for that handoff.