The archive cache was wired into lanes that can select the persistent
self-hosted pool, which keeps ~/.cache on its own layout and never needs
the remote cache, and the consolidated benchmark's Windows rows restored
and saved a directory they never create.
Guard the cache steps with the same self-hosted exclusion as the pnpm
store cache, drop them from the self-hosted standby and the manual
benchmark matrix, and assert the guards in the workflow specs. Probe for
sha256sum or shasum -a 256 so a host without either fails loudly instead
of reporting a digest mismatch, clean partial downloads when a job is
cancelled, keep the retry window plus its last attempt within five
minutes, pin that contract in the test, and report cache-directory
failures with the download URL.
Launchpad outages failed every Linux CI and E2E job in the bubblewrap
preparation step before any test ran, and a stalled connection held the
step for minutes because curl had no timeouts.
Restore and save the SHA-256-verified archive with actions/cache around
each preparation step so a warm cache needs no Launchpad request, verify
cached and downloaded files against the pinned digest before use, and
bound each curl attempt and the retry window. The download URL stays
pinned to the recorded Launchpad build.
Review of the gate found the reason-comment span too narrow: a comment on the
line above `catch`, or trailing the closing brace, was rejected, so the natural
place to explain a clause did not count. The span now starts at the preceding
token and ends with the line closing the clause.
A binding pattern that names nothing (`catch ({})`, `catch ([])`,
`catch ({ _ })`) counted as naming the error. The gate now requires one bound
name other than `_`.
`--record REF` writes the inventory for a merged tree and refuses any clause the
named revision does not already carry, so no command allows a clause this branch
introduced; a merge that lands recorded clauses is the only case that adds
entries. The no-op body boundary (`catch { "use strict" }`) and the tolerance
for a file the parser cannot read past are stated in the module docblock and
pinned by specification rows.
The merge brings apps/desktop/src/client/WelcomePage.tsx:132,
apps/desktop/src/preload-platform-account.ts:26,
packages/credentials/deepseek-account-platform/src/index.ts:432, and
packages/credentials/deepseek-account-platform/src/logout.ts:33 into the
recorded inventory, so the gate passes on the merged tree. The two wide `try`
clauses need their owners' judgement: narrowing one changes which failures its
clause discards.
`catch { ; }` counted as a handled clause because the block held one
statement. A block whose statements are all bare `;` handles nothing, so both
the clause body and its `try` now count only statements that do something.
AGENTS.md requires an empty `catch` to name the discarded error, state why it
needs no handling, and keep its `try` to one statement, but nothing enforced
it: 119 clauses break a condition today.
The new `verify-empty-catch` gate scans tracked and non-ignored untracked
first-party source with the TypeScript syntax tree. It records those 119 legacy
clauses by path, syntax fingerprint, and count in
`scripts/empty-catch.baseline.json`, so enforcement starts without a
repository-wide edit. A new or changed clause fails the gate, and fixing a
recorded clause requires `--prune` to retire its allowance; no command adds
one.
The recorded-inventory bookkeeping shared with `verify-no-unknown-casts` moves
to `scripts/baseline-inventory.ts`, which keeps one copy of baseline
validation, counting, pruning, and the command itself.
Move packages/api/session-status (@deepseek-ai/dsh-api-session-status) to
packages/client/ui-session-status (@deepseek-ai/dsh-client-ui-session-status):
the package has no Remote or Host behavior and depends on ui-session, so it
belongs to the Client group. The uiSession.sessionStatus service,
ctx.uiSession.sessionStatus, useSessionStatus, and UiSessionService keep
their names.
Add the package to the Web client's required boot entries, so startup is
rejected when the status table cannot be imported or fails to apply, as it
was when the table lived in the required ui-session entry.
Refs #4076
Move the Client Session status table (running state, the effective
pending interaction, and completion reminders) and the useSessionStatus
root hook out of ui-session into the new @deepseek-ai/dsh-api-session-status
package. The UiSessionStatus service is provided as uiSession.sessionStatus
and read as ctx.uiSession.sessionStatus through the mergeable
UiSessionService type of ctx.uiSession.
Pending-interaction registration, precedence, withdrawal, and teardown
delegation stay in ui-session unchanged; ui-session now exposes the
effective requests read-only as ctx.uiSession.pendingInteractions, which
the status table and the Conversation stop shortcut consume. ui-session no
longer depends on api-remotes.
Refs #4076
Add the forge subsystem's extension API section, README and cookbook
coverage, the generated Cordis, config, slot, and event catalogs, and a
recorded forge-panel e2e case that loads a fixture plugin registering a
lens, annotations, and every new slot.
The forge subsystem page gains the overview and viewed mark types and
contracts, and the generated Cordis, configuration, and event catalogs
follow the new service methods and the maxViewedFiles option.
`typescript/no-confusing-void-expression` rejects the shorthand arrow that
returns `rmSync`'s void expression; the staged lint configuration does not
enable type-aware rules, so only the full lint gate caught it.
The Windows coverage lane provisions the locked Electron binary through the
runner proxy. A gateway timeout on that one fetch failed the required lane
before any test ran: on 2026-11-09 four jobs on three branches stopped at
`504 (Gateway Time-out)` for the release archive, while other jobs fetched the
same archive minutes later (2.5 s from a warm cache, 14.7 s cold).
`electron-install` now declares two retries with a 15 s wait, and the
aggregate executor repeats a failed gate only when it declares `retries`. A
gate the fail-fast signal terminated is not repeated, and the returned
duration covers every attempt.