Skip to content

Commit b260af9

Browse files
committed
chore: document trust-but-verify test strategy
1 parent 20e0333 commit b260af9

2 files changed

Lines changed: 16 additions & 1 deletion

File tree

.validation-stamp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0dd097008928dc827983dd472bc781f21bf8269b
1+
a3ba0fdf8badfcba4c344d836df2a1ecaf098ecb

docs/LIFECYCLE.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,21 @@ Run required validation/tests for touched files.
4747
- Run required gates for branch kind.
4848
- Ensure `.validation-stamp` reflects current validated tree.
4949

50+
### Test strategy - Trust, but verify
51+
52+
- What can be tested locally shall be tested locally before commit.
53+
- What can be tested only locally must be tested locally before push.
54+
- What can be tested in CI shall be tested in CI, staged by branch target and release phase.
55+
56+
Validation ownership model:
57+
58+
- Local pre-commit: fast scoped checks on staged files.
59+
- Local pre-push/manual: broader branch-scope checks when needed.
60+
- CI PR gates: authoritative server-side rerun of required checks.
61+
- CI release/promotion gates: staged checks tied to integration and release flow.
62+
63+
If a check is CI-only today but can run locally at acceptable cost, move it to local as well.
64+
5065
Output: checks pass for the changed scope.
5166

5267
## 5. Release

0 commit comments

Comments
 (0)