Publish timing: Auth history + CSV export, Admin IPFS upload timing, ETA stub (#6) #9
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!9
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/publish-timing-logs"
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?
Part of #6 (publish timing logs, ETA). Branch is based on
main@d379421.What's in it
Auth engine (
c1fd3ee)executeReleaserecords per-itemtiming: bytes of the reviewed properties,totalMs, andstagesMs(checking / signing / broadcasting / verifying), plus a run total.onStepcarries timing on each outcome.Auth app (
3a523e4) — Auth 0.1.19 (versionCode 20)PublicationTiming(protocol module): strict parse of engine timing, CSV export, median-based ETA.ReleaseJournal.timing()keeps the newest 20 runs per receipt intimingRuns; kept after publish so ETAs keep learning. Best effort: a timing save failure never changes the publication outcome.Admin (
3a523e4)prepareTabletReleaseRequestreturnstiming: phases (snapshot, platformReads, uploads, inspect) and per-blob IPFS put / read-back ms + bytes.<dataRoot>/logs/publish-timing.jsonl(0600, trimmed to 500 lines once past 2 MB, best effort).Privacy: timing data holds record type, status, sizes and durations only. No record IDs, CIDs, contents, keys or SDK error text.
Docs: SPECS (publishing timing paragraph), IMPLEMENTATION-PLAN.
Tests
npm test: 169/169 pass (addstests/publish-timing.test.ts; baseline was 167).npm run typecheck: clean../gradlew :protocol:test(JDK 21): all suites pass, including the newPublicationTimingTest(3 tests).:app:assembleDebug -PauthNetwork=mainnet: builds. APK on the laptop at~/Projects/DecentSite-auth-credits/apk/decentsite-auth-0.1.19-mainnet-debug.apk(same debug key). Not installed on any device yet.Still open on #6
Merged into main locally and pushed: merge commit
2b95a21(main now at5f3298b). Full test suite 169/169 passed on the branch before merge. Closing (Forgejo did not auto-detect the merge).Pull request closed