Skip to content

refactor: require declared request sources and remove the legacy sweep - #186

Merged
dannyota merged 2 commits into
masterfrom
wip/t12-cleanup
Dec 4, 2026
Merged

dannyota merged 2 commits into
masterfrom
wip/t12-cleanup

Conversation

@dannyota

@dannyota dannyota commented Dec 4, 2026

Copy link
Copy Markdown
Owner

Finishes request-sources task 12: every request now declares its sources, and the legacy compatibility sweep is gone.

  • Options takes a mandatory &SourceSet through Options::with_sources; Sources::Legacy, Options::DEFAULT and recheck_guards are removed, so a missing declaration is a compile error. Requests with no response dependencies pass an explicit empty set.
  • operation.rs loses the Legacy branch, the prior-receipt sweep and the push of accepted replies into evidence.guards; local decision rechecks and write-flow guard classification stay.
  • register_acknowledgement, AbsenceReceipt::Legacy, Evidence::use_absence/use_bad_request_absence, Guarded::legacy and wire/product/migrated.rs are removed.
  • Production sites that now declare sources: billing auto-renew (inventory and account receipt), quote catalogue reads, project discovery, GLB child acknowledgements, network::Selection, network quote prices (price_from), SSH key absence, volume detail reads. The unguarded billing resource list keeps a standalone cached proof so rows() rechecks it against the caller's evidence.
  • Tests that only exercised the sweep are deleted; the rest are ported to declared sources. Adds unrelated_receipts_do_not_block_dispatch and missing_sources_are_detected_in_test_build.
  • Removes task 12 and the "already guarded" table from the request-sources plan and updates the flow-check sentence in the sources design.

make check passed on this tree: 3725 tests, 3725 passed.

@dannyota
dannyota merged commit 8956072 into master Dec 4, 2026
11 checks passed
@dannyota
dannyota deleted the wip/t12-cleanup branch December 4, 2026 03:34
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