delete-tagging completeness test misses service subpackages #787

Closed
opened 2026-10-16 01:01:05 +00:00 by hexajon · 0 comments
Owner

The completeness test that checks every delete call carries its guard tag scans only the top-level service package and the client.Delete* call shape. A delete in a service subpackage, for example the finish remote-branch cleanup, is tagged correctly today but is not covered by the test. A future untag there would silently refuse that cleanup with no test failure.

Fix:

  • Scan every service subpackage, not only the top level.
  • Record the residual gap for a destroy that does not start with Delete.

Acceptance:

  • The test covers delete call sites in service subpackages.

Part of the write-guard work (#670).

The completeness test that checks every delete call carries its guard tag scans only the top-level service package and the `client.Delete*` call shape. A delete in a service subpackage, for example the finish remote-branch cleanup, is tagged correctly today but is not covered by the test. A future untag there would silently refuse that cleanup with no test failure. Fix: - Scan every service subpackage, not only the top level. - Record the residual gap for a destroy that does not start with `Delete`. Acceptance: - The test covers delete call sites in service subpackages. Part of the write-guard work (#670).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
sixfold-space/madtea#787
No description provided.