Skip to content

Unblock stable posts, vault bootstrap, and persist-after-publish - #204

Merged
hoffmang9 merged 3 commits into
mainfrom
fix/bugbot-offer-post-audit
Aug 14, 2026
Merged

Unblock stable posts, vault bootstrap, and persist-after-publish#204
hoffmang9 merged 3 commits into
mainfrom
fix/bugbot-offer-post-audit

Conversation

@hoffmang9

Copy link
Copy Markdown
Owner

Summary

  • Stop aborting vault mixed-split bootstrap on unused Coinset/minimum fee estimates. Submit is always 0-fee; plan metadata is vault_mixed_split_no_fee.
  • Require on-chain expiry only for unstable makers (ADR 0020). Operator post uses verify_offer_for_post with bake_expiry_into_conditions_for_quote; public Dexie verify stays strict.
  • After a live venue publish, keep exit_code / publish_failures as venue-success even if the immediate SQLite upsert fails. Flush retries the upserts, always emits audits, and traces OFFER_POST_COMPLETED only after persist is known (persist_failed if the retry also fails).

Test plan

  • cargo test --lib offer::operator::build_and_post
  • cargo test --lib offer:: (after the first commit)
  • Confirm a stable-maker presplit post is not rejected for missing AssertBeforeSecondsAbsolute
  • Confirm vault denomination bootstrap no longer fails when Coinset reports a non-zero fee
  • Confirm a transient persist failure after a live Dexie/Coinset publish still leaves ensure_size treating the listing as posted, and that a flush retry failure logs persist_failed rather than success

Stop gating mixed-split on unused fee estimates, require on-chain expiry
only for unstable makers, and retry offer persist after a live publish.
Immediate SQLite upsert failure no longer increments publish_failures or flips exit_code, so ensure-size still treats the live listing as posted. Flush retries the upserts, always emits audits, and only records persist-after-publish failures when the retry also fails.
finish_build_and_post no longer traces success before flush. CLI and cycle-store both complete through one helper so a persist retry failure is persist_failed, not a premature venue success.
@hoffmang9
hoffmang9 merged commit 024f48f into main Aug 14, 2026
3 checks passed
@hoffmang9
hoffmang9 deleted the fix/bugbot-offer-post-audit branch August 14, 2026 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant