Auth 0.1.17: continue publishing after a failed step (#4) #8
No reviewers
Labels
No labels
feature request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
rhelwig/DecentSite!8
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/auth-continue-on-fail"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implements #4: continue publishing remaining writes after one item fails.
Engine (
apps/android-auth/engine/release-execution.ts)READ_UNAVAILABLE(still failing after the 0.1.16 read retries),OPERATION_CHANGED,SIGNING_FAILED(before any receipt is saved), and provenNETWORK_REJECTED(status ERROR + verified nonce consumption).DEPENDENCIES_INCOMPLETE) while any dependency is missing, so the live site stays on the previous release.TOO_MANY_FAILURES), 2 rejections per run (REPEATED_REJECTIONS).{status, confirmed, failed, total, items[], stoppedBy?};statusvalues unchanged.Auth app 0.1.17 (versionCode 18)
lastRun, cleared on publish).Tests
tests/release-execution.test.ts: read failure mid-batch + retry of only remaining steps, signing failure, changed operation, bad signed hash, global preflight abort, circuit breaker, inspection read failure, rejection-then-continue with exact nonces, uncertain still stops.PublicationSummaryTest+ progress test.npx tsx --test tests/*.test.ts: 165/165 pass../gradlew :protocol:test :app:compileDebugKotlin -PauthNetwork=mainnet: pass.Docs: DECENTSITE-AUTH, SPECS, IMPLEMENTATION-PLAN, PUBLISH-FOLLOWUPS.
Closes #4 once merged and tested on device. No Dash spent.