Repository navigation
Harden release artifacts and evaluation cache - #16
Conversation
|
OpenRouter review posted ( |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: issues
Scope: full-pr (full-pr)
Mode: initial
Commit: f8a3d6ccb09fff42dd481765c8d0ba1eac39fcbc
Judge: openai/gpt-5.6-luna
Cost: $0.4038 (lanes $0.3960 + judge $0.0077)
Lanes
meta/muse-spark-1.2: ok (5 finding(s), 70.2s, 277482+10297 tokens (55477 cached), 5 tool round(s), via Meta, $0.33)z-ai/glm-5.3-flash: ok (14 finding(s), 220.3s, 1068306+41237 tokens (885568 cached), 15 tool round(s), via Particle AI, $0.0665)
Findings
🟠 Issue 1 — Hanging provider calls permanently exhaust in-flight capacity
packages/flags-core/src/client.ts:400 · risk · identified by meta/muse-spark-1.2
A provider that ignores AbortSignal and never settles leaves its ProviderWork in activeWorks/inFlight forever. Subsequent evaluations time out but the underlying promise never settles, so the capacity slot is never released and later calls receive CAPACITY even after the earlier timeout should have freed budget.
In packages/flags-core/src/client.ts providerWork adds to activeWorks and clears only in promise.then(...) handlers. waitForProvider aborts the controller on timeout and rejects the wrapper, but does not settle the wrapped provider.resolve() promise. The test bounds unresolved provider calls creates 128 never-settling promises; after the test close() aborts signals yet those promises remain pending, so activeWorks.size stays 128. In production a flaky remote provider that hangs and ignores abort will permanently consume all 128 slots, turning every later evaluation into ERROR/CAPACITY until process restart.
Checked client.ts lines 396-460 and waitForProvider; confirms removal only on settlement and close() only aborts without forcing settlement. No guard clears hanging entries on timeout.
🟠 Issue 2 — Expired cache sweep bounded to 16 oldest entries
packages/flags-core/src/client.ts:365 · risk · identified by meta/muse-spark-1.2
Expired entries beyond the first 16 oldest are never swept on write, allowing unbounded growth of stale data and skewing LRU eviction.
sweepExpired in packages/flags-core/src/client.ts iterates for (const [identity, entry] of cache) with examined >= EXPIRED_SWEEP_LIMIT return. writeCache calls it once per write. If the cache holds thousands of entries past cacheTtlMs+staleWhileRevalidateMs but the oldest 16 are still fresh, none of the newer expired entries are removed. They continue to count toward maxCacheEntries, so the LRU eviction loop may evict fresh entries while retaining expired ones, and memory is not reclaimed until the expired entries become the oldest or are individually accessed via readCache.
Checked sweepExpired and writeCache/readCache handling; no background sweep or size-based full scan exists.
🟠 Issue 3 — Coalesced timeout keeps identity blocked until provider settles
packages/flags-core/src/client.ts:408 · risk · identified by meta/muse-spark-1.2
After a timeout the coalesced inFlight entry is deliberately retained until the underlying provider promise settles. If that provider never settles, all later evaluations for the same cacheIdentity remain coalesced to the same hanging promise and will each time out independently, never creating a fresh attempt.
providerWork returns the existing entry for identity !== undefined and waitForProvider aborts the shared controller on each timeout. The test aborts timed out work and keeps it coalesced until settlement asserts this behavior. When the provider ignores abort and hangs indefinitely, the identity is permanently blocked: every new evaluate reuses the same never-settling work, creates a new timer, aborts, and returns TIMEOUT without ever retrying the provider. This matches the capacity leak above but per-identity.
Checked providerWork coalescing branch and waitForProvider abort handling; no timeout-driven eviction from inFlight.
🔵 Issue 4 — Smoke job manifest digest comparison not timing-safe and unauthenticated on missing output
.github/workflows/publish.yml:162 · nit · identified by meta/muse-spark-1.2
The smoke job verifies the artifact with [[ "${actual_digest}" == "${EXPECTED_MANIFEST_DIGEST}" ]] – a plain string compare that leaks timing and fails open if prepare did not emit a digest.
If needs.prepare.outputs.manifest_digest is empty (step manifest skipped or failed to write GITHUB_OUTPUT), the comparison becomes [[ "abc" == "" ]] which correctly fails, but the error message is unhelpful and the job still downloaded an unauthenticated artifact. The publish job correctly uses timingSafeEqual via Node, but smoke does not. An attacker who can inject a step that suppresses the output could cause a more confusing failure mode.
Checked .github/workflows/publish.yml smoke steps and prepare output definition; smoke uses bash == while publish uses safeEqual.
🔵 Issue 5 — Release script duplicate inventory check obscures missing-file case
scripts/release-packages.mjs:825 · nit · identified by meta/muse-spark-1.2
verifyReleaseInventory in scripts/release-packages.mjs checks entries.length !== expected.size before checking for missing specific files, so a directory containing duplicate-named entries on case-insensitive filesystems reports a generic inventory mismatch rather than the precise missing file.
The redundant loop for (const expectedName of expected) if (!entries.some(...)) is unreachable when lengths differ, which is the common case for an extra hidden file (caught by include-hidden-files: false change) or a missing tarball. The workflow's inline Node copy duplicates this logic. This does not cause a security bypass but makes triage harder during release failures.
Checked scripts/release-packages.mjs verifyReleaseInventory and the inline publish Node verification block.
🔴 Issue 6 — In-flight provider work is never released when a provider promise never settles, wedging the identity and exhausting the capacity bound
packages/flags-core/src/client.ts:444 · bug · identified by z-ai/glm-5.3-flash
A provider call that neither settles nor honors its AbortSignal permanently poisons evaluation for that flag+context identity, and after 128 such calls the whole client returns CAPACITY for everything.
Scenario: a provider's resolve returns a promise that never settles (hung socket inside a vendor SDK) and ignores request.signal — which is the case for every provider shipped in this repo today; none of flags-static, flags-flagd, flags-azure-appconfig, flags-aws-appconfig, flags-cloudflare-flagship, or flags-launchdarkly reads request.signal (grep across packages/*/src shows signal only in contracts, core, and tests). The first evaluate for identity X times out: waitForProvider aborts the controller and rejects, so the caller gets TIMEOUT. But providerWork's cleanup (void promise.then(...), client.ts:444-455) runs only when the underlying promise settles, so the dead work stays in inFlight and activeWorks forever. Every subsequent evaluate for X coalesces onto the dead work and returns TIMEOUT, and the stale-path refresh early-returns on inFlight.has(identity). Once 128 distinct identities accumulate stuck works, activeWorks.size >= MAX_IN_FLIGHT_PROVIDER_CALLS makes every new evaluation return CAPACITY until the client object is discarded. This directly contradicts the package contract "The client never blocks a request on an unbounded provider call" (packages/flags-core/README.md).
This is a regression: the old implementation deleted the in-flight entry in a finally when the client-side await rejected at the timeout, so the next evaluation started a fresh provider call. The new test "aborts timed out work and keeps it coalesced until settlement" pins the new behavior only for the settle-later case; nothing bounds the never-settles case.
Evidence: the cleanup handlers at client.ts:444-455 are the only removal path for inFlight/activeWorks; waitForProvider (client.ts:213-235) and refresh (client.ts:464-491) delete nothing. Proof gap: none for the mechanism; the trigger requires a provider that neither settles nor honors abort, which no current bundled provider rules out.
🟠 Issue 7 — New smoke job and inline publish script execute for the first time during a real release
.github/workflows/publish.yml:131 · risk · identified by z-ai/glm-5.3-flash
The rewritten publish workflow's new paths — the artifact digest handoff, the smoke job, and the ~250-line heredoc publish script — are never executed by CI. ci.yml runs only the vitest suite, whose publish.yml coverage is static text assertions (tests/release-packages.test.ts:358-412), and the workflow has no workflow_dispatch (pinned by test), so the first real execution of the smoke job and the inline Node publisher happens mid-release with id-token: write and live npm publishes.
Concrete cost: a mistake in the heredoc script, the env allowlist, the artifact path/permissions, or an npm flag surfaces during the first actual release, potentially after some packages have already been published (the script publishes package-by-package), leaving a half-published release that the safe-retry runbook then has to unwind against immovable versions.
Checked: .github/workflows/ci.yml runs only format:check, check, pnpm test; no job exercises publish.yml. Suggest a manual-dispatch dry-run lane (e.g., workflow_dispatch that runs prepare+smoke and stops before publish) or extracting the inline script into a unit-tested module.
🟠 Issue 8 — Tag-commit equality against github.sha fails whenever main advances between tagging and publishing the release
.github/workflows/publish.yml:64 · risk · identified by z-ai/glm-5.3-flash
For release: published events, github.sha is the head of the release's target_commitish branch, not the tag commit. The new "Authenticate the release source" step hard-fails when tag_commit != RELEASE_COMMIT (publish.yml:64 and :219), so if any commit lands on main after the tag is pushed but before the maintainer clicks "Publish release" — or the release's target branch is anything but the tag's commit — both the prepare and publish jobs abort at their very first step.
Because the runbook forbids moving or recreating release tags, recovery requires deleting the release and re-creating it with target_commitish pinned to the exact tag commit, which is easy to get wrong under pressure.
This constraint is pre-existing (the old flow compared HEAD/tag-commit/github.sha in validateReleaseTag too), but this PR promotes it to the first hard gate of two jobs and documents it as "points to the checkout and the GitHub release-event commit". Worth an explicit runbook warning that the release must be published before main advances, or matching against the tag commit resolved server-side rather than github.sha.
🔵 Issue 9 — close()-initiated aborts and post-abort provider errors are misreported as TIMEOUT
packages/flags-core/src/client.ts:227 · nit · identified by z-ai/glm-5.3-flash
waitForProvider maps every rejection that arrives while controller.signal.aborted to EvaluationTimeoutError (client.ts:227-231). The controller is also aborted by client.close() (client.ts:613-616), and it is shared by all coalesced waiters.
Concrete failure: a signal-honoring provider rejects promptly when close() aborts it 50ms into a 1000ms timeout; the caller receives errorCode: "TIMEOUT" even though no timeout elapsed and the cause was shutdown. Same mechanism masks a genuine provider error: waiter A's timer fires and aborts the shared work; the provider then throws its own error 10ms later; coalesced waiter B (timer not yet fired) gets EvaluationTimeoutError instead of the provider's real failure.
Checked: waitForProvider is the only rejection path for provider work in the client, and no caller distinguishes close-time aborts from timeouts.
🔵 Issue 10 — README overclaims coalescing and caching for contexts whose identity is not cacheable
packages/flags-core/README.md:42 · nit · identified by z-ai/glm-5.3-flash
packages/flags-core/README.md:42-47 states unconditionally that "Concurrent misses for the same evaluation context share one provider call" and that the cache is an LRU. In the implementation, contexts whose cacheIdentity returns undefined — identity over 8,192 bytes or non-canonical attributes (non-plain objects, sparse arrays, non-finite numbers) — get neither coalescing nor caching, and each such miss additionally consumes one of the 128 shared capacity slots, so a burst of large-attribute evaluations surfaces CAPACITY errors.
Concrete cost: a host sending ~9KB attribute payloads per request gets zero deduplication and can hit the capacity wall under modest concurrency, while the README led them to believe both bounds protect them. The paragraph should note that oversized or non-canonical contexts bypass both mechanisms.
🔵 Issue 11 — Unreachable defensive check in evaluate
packages/flags-core/src/client.ts:549 · nit · identified by z-ai/glm-5.3-flash
After the new Object.hasOwn(options.schema, flagKey) guard (client.ts:546-548), the follow-up const definition = options.schema[flagKey]; if (definition === undefined) (client.ts:549-551) is dead code: an own property of the schema can only be undefined if a host literally assigns undefined as a definition, which the TSchema extends Record<string, FlagDefinition<unknown>> constraint forbids. Either drop the second check or leave a comment explaining which runtime shape it defends against, so the next reader does not assume prototype-chain lookups still reach it.
🔵 Issue 12 — Trusted-publishing npm version gate no longer on the active publish path
.github/workflows/publish.yml:202 · nit · identified by z-ai/glm-5.3-flash
requireTrustedPublishingNpm (release-packages.mjs:1090) enforces npm >= 11.5.1 for OIDC trusted publishing, but the workflow no longer calls publishPreparedRelease — the publish job's inline script publishes directly without that check (publish.yml, "Verify and publish the prepared tarballs").
Concrete failure: if the pinned npm install --global npm@11.18.0 line is ever changed to an older npm (or the pin is dropped), the inline path will run npm publish --provenance without the minimum-version guard; today it would fail on auth, but the safety net that explicitly documented this requirement is silently gone from the active path. Checked: the inline script contains no version assertion; the gate exists only in the now-uninvoked module function.
🔵 Issue 13 — Publish logic now exists in two diverging implementations
scripts/release-packages.mjs:1138 · nit · identified by z-ai/glm-5.3-flash
The workflow's heredoc script reimplements safeEqual, parseNpmJson, the inventory check (verifyReleaseInventory), and the manifest/tarball validation from scripts/release-packages.mjs, while publishPreparedRelease (release-packages.mjs:1138, still exported and wired to pnpm run release:publish in package.json:20) remains a second publish implementation that already differs from the workflow copy — e.g., --tag latest exists only in the workflow version.
Concrete cost: a future hardening fix applied to one copy (say, a new manifest field or registry-edge handling) will not reach the other, and the module copy's GITHUB_ACTIONS/event guard and npm-version gate give a false sense that the reviewed script still governs releases. Consolidate by having the workflow call a tested module entry point, or delete/deprecate the dead publishPreparedRelease path.
🔵 Issue 14 — devDependencies pin check in validatePackedManifest can never fire
scripts/release-packages.mjs:774 · nit · identified by z-ai/glm-5.3-flash
PACKAGE_DEPENDENCY_SECTIONS includes devDependencies (release-packages.mjs:774-778), but npm pack strips devDependencies from the packed package.json, so the loop in validatePackedManifest always iterates zero entries for that section and the "must pin exactly" assertion for devDependencies is inert.
Cost: the check reads as if it revalidates devDependency pinning inside the tarball; it cannot. Checked: verifyPackedFiles/validatePackedManifest operate on the packed manifest extracted via tar -xOf ... package/package.json, which npm produces without devDependencies. Either remove the section from the list or document why it is kept as defense-in-depth.
🔵 Issue 15 — Packed manifest revalidation does not compare dependency values against the reviewed source manifest
scripts/release-packages.mjs:790 · nit · identified by z-ai/glm-5.3-flash
validatePackedManifest (release-packages.mjs:790-812) compares only name and version between the source and packed manifests, then format-checks @pegma/ dependency pins with EXACT_VERSION. It never verifies that the packed pin value equals the pin declared in the reviewed packages/*/package.json.
Concrete failure: a mutation between the reviewed manifest and the tarball (a tampered prepack, a modified build step) that rewrites "@pegma/flags-core": "0.1.1" to "@pegma/flags-core": "0.1.0" passes revalidation — the value is a valid exact version — and is published, silently downgrading the internal dependency of the shipped tarball. The whole point of revalidating the packed manifest is to catch pack-time divergence; dependency values are the highest-value field to compare. Checked: no other code path compares packedManifest[section] to sourceManifest[section].
🔵 Issue 16 — Inline publish script forwards GITHUB_TOKEN to every npm child process
.github/workflows/publish.yml:406 · nit · identified by z-ai/glm-5.3-flash
The env allowlist in the publish heredoc copies every variable starting with GITHUB_ into the child environment (publish.yml:400-409), which includes GITHUB_TOKEN — a repository secret — even though npm provenance only needs ACTIONS_ID_TOKEN_REQUEST_TOKEN/_URL (explicitly allowlisted) and the GITHUB_* context variables.
Cost: the publish job's whole design isolates npm from credentials (NPM_CONFIG_USERCONFIG pointing at empty files, no NODE_AUTH_TOKEN), yet the runner's GITHUB_TOKEN rides along into every npm view and npm publish subprocess. --ignore-scripts prevents lifecycle-script exfiltration, but the allowlist can simply exclude GITHUB_TOKEN (or use an explicit prefix blocklist) to match the job's stated isolation intent. Checked: key.startsWith("GITHUB_") passes GITHUB_TOKEN unchanged.
🔵 Issue 17 — No unit tests for verifyPreparedManifest's sha256 validation or smokePreparedRelease
tests/release-packages.test.ts:11 · nit · identified by z-ai/glm-5.3-flash
The PR adds a sha256 field to the prepared manifest and makes verifyPreparedManifest require and verify it (!/^[0-9a-f]{64}$/u.test(record.sha256) and safeEqual(hashes.sha256, record.sha256)), and adds the exported smokePreparedRelease command used by the new smoke job. Neither export appears in tests/release-packages.test.ts (grep for verifyPreparedManifest and smokePreparedRelease finds no reference; the test file imports only validatePackedManifest and verifyReleaseInventory among the new exports).
Cost: the digest chain that the smoke job and the publish job rely on is covered only by static workflow-text assertions, so a regression in verifyPreparedManifest (e.g., accepting a manifest without sha256, or failing on the prepared output) would not be caught until a release runs.
🔵 Issue 18 — No release:smoke npm script for the new smoke command
package.json:18 · nit · identified by z-ai/glm-5.3-flash
package.json wires release:check, release:pack, and release:publish (package.json:18-20), but the new smoke command added to scripts/release-packages.mjs is only invocable as a raw node scripts/release-packages.mjs smoke ... call, which is how the workflow invokes it.
Cost: an operator reproducing the smoke step locally (the runbook's verification story now depends on it) has no discoverable script and must reconstruct the exact manifest path and flags; the usage string also only documents it inside the script. Add a release:smoke script for parity.
🔵 Issue 19 — RELEASING.md overstates that every checkout is preceded by the bare-repo tag fetch
docs/RELEASING.md:47 · nit · identified by z-ai/glm-5.3-flash
docs/RELEASING.md:47 says "Before any checkout or dependency command, the release workflow fetches only main and the named tag into a temporary bare repository". That is true for the prepare and publish jobs, but the new smoke job checks out github.sha directly (publish.yml:137-142) with no preceding authenticate/fetch step.
Cost: an operator auditing the workflow against the runbook will find the smoke job violates the stated invariant and cannot tell whether that is intentional. Reword to "before any checkout in the preparation and publication jobs" or state that the unprivileged smoke job consumes only the sealed artifact plus the event commit.
| @@ -250,65 +400,110 @@ export function createFlagsClient< | |||
| : { variant: resolution.variant }), | |||
There was a problem hiding this comment.
🟠 Hanging provider calls permanently exhaust in-flight capacity (risk)
A provider that ignores AbortSignal and never settles leaves its ProviderWork in activeWorks/inFlight forever. Subsequent evaluations time out but the underlying promise never settles, so the capacity slot is never released and later calls receive CAPACITY even after the earlier timeout should have freed budget.
In packages/flags-core/src/client.ts providerWork adds to activeWorks and clears only in promise.then(...) handlers. waitForProvider aborts the controller on timeout and rejects the wrapper, but does not settle the wrapped provider.resolve() promise. The test bounds unresolved provider calls creates 128 never-settling promises; after the test close() aborts signals yet those promises remain pending, so activeWorks.size stays 128. In production a flaky remote provider that hangs and ignores abort will permanently consume all 128 slots, turning every later evaluation into ERROR/CAPACITY until process restart.
Checked client.ts lines 396-460 and waitForProvider; confirms removal only on settlement and close() only aborts without forcing settlement. No guard clears hanging entries on timeout.
There was a problem hiding this comment.
Declined. The slot represents provider work that is still running after the caller deadline. Releasing it before settlement would let each retry start another unresolved call, defeating the hard 128-call bound requested for this client. Callers still return promptly with TIMEOUT or CAPACITY.
| } | ||
|
|
||
| function sweepExpired(atMs: number): void { | ||
| let examined = 0; |
There was a problem hiding this comment.
🟠 Expired cache sweep bounded to 16 oldest entries (risk)
Expired entries beyond the first 16 oldest are never swept on write, allowing unbounded growth of stale data and skewing LRU eviction.
sweepExpired in packages/flags-core/src/client.ts iterates for (const [identity, entry] of cache) with examined >= EXPIRED_SWEEP_LIMIT return. writeCache calls it once per write. If the cache holds thousands of entries past cacheTtlMs+staleWhileRevalidateMs but the oldest 16 are still fresh, none of the newer expired entries are removed. They continue to count toward maxCacheEntries, so the LRU eviction loop may evict fresh entries while retaining expired ones, and memory is not reclaimed until the expired entries become the oldest or are individually accessed via readCache.
Checked sweepExpired and writeCache/readCache handling; no background sweep or size-based full scan exists.
There was a problem hiding this comment.
Declined. The cache cannot grow beyond maxCacheEntries because every write evicts until the configured bound is restored. The 16-entry scan is intentionally bounded per-write maintenance, Map order examines the oldest LRU entries first under a monotonic clock, and readCache removes a fully expired entry on access.
| if (oldest === undefined) { | ||
| break; | ||
| } | ||
| cache.delete(oldest); |
There was a problem hiding this comment.
🟠 Coalesced timeout keeps identity blocked until provider settles (risk)
After a timeout the coalesced inFlight entry is deliberately retained until the underlying provider promise settles. If that provider never settles, all later evaluations for the same cacheIdentity remain coalesced to the same hanging promise and will each time out independently, never creating a fresh attempt.
providerWork returns the existing entry for identity !== undefined and waitForProvider aborts the shared controller on each timeout. The test aborts timed out work and keeps it coalesced until settlement asserts this behavior. When the provider ignores abort and hangs indefinitely, the identity is permanently blocked: every new evaluate reuses the same never-settling work, creates a new timer, aborts, and returns TIMEOUT without ever retrying the provider. This matches the capacity leak above but per-identity.
Checked providerWork coalescing branch and waitForProvider abort handling; no timeout-driven eviction from inFlight.
There was a problem hiding this comment.
Declined. Retaining the identity while the provider call remains active is intentional: starting a replacement before settlement would create duplicate unresolved provider work. The caller deadline remains bounded, and the shared 128-call limit bounds total provider work.
There was a problem hiding this comment.
OpenRouter pull-request review
Verdict: issues
Scope: latest-commit (commit-range)
Mode: verify
Commit: db8d6d15c7af36d29f67160ac61832a634a01737
Judge: skipped (one successful review lane; no merge needed)
Cost: $0.1722
Lanes
meta/muse-spark-1.2: ok (0 finding(s), 34.6s, 121990+5853 tokens (40004 cached), 3 tool round(s), via Meta, $0.13)z-ai/glm-5.3-flash: failed-open ($0.0389 spent) — resolutions are incomplete; missing entries for carried finding(s): r1-1, r1-2, r1-3, r1-6, r1-7
Round 2 resolution
- ❌
r1-6not fixed — In-flight provider work is never released when a provider promise never settles, wedging the identity and exhausting the capacity bound: No lifecycle fix landed.providerWorkinpackages/flags-core/src/client.ts:436-451still adds toactiveWorks/inFlightand clears only inpromise.thenhandlers;waitForProviderin:208-235aborts on timeout but does not settle the underlyingprovider.resolve()promise. Diff only changeswaitForProviderrejection from Timeout-mapping to directreject(error)and adds a close-aware… - ❌
r1-1not fixed — Hanging provider calls permanently exhaust in-flight capacity: Same mechanism as r1-6 remains. No timeout-driven cleanup ofactiveWorkswas added;providerWorkcapacity check atclient.ts:420still sees hung entries forever. Hung providers that ignorerequest.signalremain inactiveWorksafterwaitForProvidertimeout/abort, so subsequent evaluations time out but never free the slot. The newbounds unresolved provider callstest expects timeout+c… - ❌
r1-2not fixed — Expired cache sweep bounded to 16 oldest entries:sweepExpiredatclient.ts:360-369still iteratesfor (const [identity,entry] of cache)withif (examined >= EXPIRED_SWEEP_LIMIT) returnwhereEXPIRED_SWEEP_LIMIT=16, andwriteCachecalls it once per write. If oldest 16 entries are fresh, newer expired entries beyond them are never removed, count towardmaxCacheEntries, and can cause LRU eviction of fresh entries while retaining stale… - ❌
r1-3not fixed — Coalesced timeout keeps identity blocked until provider settles: Coalesced timeout retention is unchanged and asserted by testaborts timed out work and keeps it coalesced until settlement.providerWorkatclient.ts:412-416returns existinginFlightentry for same identity and only deletes it on promise settlement (:442-450).waitForProvideraborts shared controller on each timeout but provider ignoring abort never settles, so every later evaluation… ⚠️ r1-7fixed incorrectly — New smoke job and inline publish script execute for the first time during a real release: Fix attempted but incomplete. Diff adds real coverage:release:smokescript,verifyPreparedManifest/smokePreparedReleaseexercised intests/release-packages.test.ts,EXPECTED_MANIFEST_DIGESTformat check andtimingSafeEqualdigest comparison, missing-file inventory check,GITHUB_TOKENexclusion from env allowlist,npm 11.18.0version gate, andnode --checksyntax validation of th…- ❌
r1-8not fixed — Tag-commit equality against github.sha fails whenever main advances between tagging and publishing the release: No fix to source authentication..github/workflows/publish.ymlstill setsRELEASE_COMMIT: ${{ github.sha }}and bothprepareandpublishjobs hard-fail with[[ "${tag_commit,,}" == "${RELEASE_COMMIT,,}" ]]andmerge-base --is-ancestor. Forrelease: publishedeventsgithub.shais thetarget_commitishhead, not the tag commit, so ifmainadvances betweengit push --tagsand cli… - 13 nit finding(s) from earlier rounds retired (severity floor for follow-up rounds is
risk). - Open findings after this round: 6 (1 bug-severity).
No structured findings from the successful lane(s).
Summary
Validation