Files
skylar taylor-barrickandDylan M. Taylor 11372822d7 Defer Developer Build verification until installation (#1706)
* Defer Developer Build verification until installation

* Keep obsolete Developer Build verification failures job-local

* Address catalog discovery review consistency and backoff findings

* Keep build verification waits out of catalog refresh status

* Register verification hold refusal for translation

* fix: scope legacy nightly retry metadata on upgrade

* Fix warm nightly replay and typed admission refusals

Keep a recovered signed listing visible but stale when an older persisted absence disagrees. Capture the eligible install candidate once before reservations and report capture failures through the typed Nightly refusal path; retain worker revalidation at use.

* test: add CodeRabbit follow-up regressions before fixes

Tests-only (plus a test-only download-turn hook) on 8084fe64 production code;
expected to fail until the follow-up fixes land.

* Address CodeRabbit follow-up on Developer Build scheduling and install checks

- A catalog request the ArtCraft throttle holds charges no app its turn and keeps
  activation revalidation pending; automatic sweeps wait for the hold, cached
  listings still display, and apps it says nothing about keep their result.
- A signed offer or omission that expired after its last check is revalidated
  before the cadence, once, in Native and in the UI's request gate.
- Live and replayed omissions share the no-build record's exclusive two-hour window.
- An install's descriptor failure publishes the build status and wait without a
  catalog-check failure event.
- The descriptor wait is a time hold applied by the UI clock and Native
  admission, not package ineligibility, so Install returns at the deadline.
- NightlyStatus carries the signed reconciliation as a lower eligibility bound.
- A job compares its exact build/package selection again after its download
  turn, before any package request.

* test: add second-round follow-up regressions before fixes

Compile-compatible with the ff250ccb production code: expiry coalescing, the held
catalog deadline in check completion, a real descriptor Retry-After keeping the current
offer (with its next click verifying again), blocked-failure controls, and the card's
Install naming the build it shows. Expected to fail until the second fix lands.

* Bind Developer Build installs to the shown offer; finish wait and hold recovery

- Command::InstallOffer carries the exact release a card shows; Native refuses it
  visibly, before any reservation, descriptor or package request, when the one
  exact capture differs. App-only Install keeps its meaning for headless callers;
  Stable refuses the new command.
- A server's descriptor Retry-After on the recorded build keeps the current listing
  eligible (time hold only); malformed/other verification failures, an expired or
  replaced listing and a storage failure stay blocked; the next click after the
  deadline verifies the descriptor again.
- The ArtCraft throttle's catalog hold reaches CheckFinished (catalog deadline only),
  and the page's hold line uses the neutral "Next check at" wording.
- Signed-expiry revalidation never shortens the one-minute coalescing window, in
  Native and in the UI's mirrored request gate.
- Native test-support feature (test-only, off by default) and a non-wasm UI
  dev-dependency let UI tests run on events a real Native backend produces.

* Address catalog replay, retry reporting and test transport review nits

---------

Co-authored-by: Dylan M. Taylor <[email protected]>
2026-11-28 22:53:59 -05:00
..