Skip to content

Add CAS conflict regression tests for public writes - #5

Merged
halqme merged 1 commit into
mainfrom
test/public-write-cas-conflicts
Jul 8, 2026
Merged

Add CAS conflict regression tests for public writes#5
halqme merged 1 commit into
mainfrom
test/public-write-cas-conflicts

Conversation

@halqme

@halqme halqme commented Jul 7, 2026

Copy link
Copy Markdown
Owner

Summary

Add command-level regression coverage for stale --based-on revisions.

The tests verify that submit, approve, and archive:

  • return exit code 12 when their expected revision is stale
  • leave the current revision unchanged
  • do not partially mutate tasks or artifacts

This complements the Store-level CAS tests by covering the public CLI write paths and their error translation.

@halqme
halqme merged commit 50e1e57 into main Jul 8, 2026
1 check passed
@halqme
halqme deleted the test/public-write-cas-conflicts branch July 12, 2026 00:22
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