diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-12 12:57:44 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-12 12:57:44 +0000 |
| commit | dcaaa0c44c46f963929ab0baa91f63759ec702dc (patch) | |
| tree | 1808621ff43eb01acaabe091033672d347bfbf67 /grasp-audit/README.md | |
| parent | 3fd6ce4149d567c67009b0332ca76c0cd6f51055 (diff) | |
refactor(grasp-audit): split ValidRepo into Sent/Served, add tolerant purgatory
- Rename ValidRepo to ValidRepoSent (announcement sent, may be in purgatory)
- Add ValidRepoServed (announcement queryable after git data pushed)
- Add send_event_and_note_purgatory() for tolerant purgatory detection
- Update fixtures to use tolerant method instead of strict assertion
- Update event_acceptance_policy tests to use ValidRepoServed
This enables tests to pass regardless of purgatory implementation status
while still having explicit purgatory tests that verify the behavior.
Diffstat (limited to 'grasp-audit/README.md')
| -rw-r--r-- | grasp-audit/README.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/grasp-audit/README.md b/grasp-audit/README.md index 4d2401f..2cc9247 100644 --- a/grasp-audit/README.md +++ b/grasp-audit/README.md | |||
| @@ -245,7 +245,7 @@ pub async fn test_something(client: &AuditClient) -> TestResult { | |||
| 245 | let ctx = TestContext::new(client); | 245 | let ctx = TestContext::new(client); |
| 246 | 246 | ||
| 247 | // 2. Prerequisites (cached per-TestContext) | 247 | // 2. Prerequisites (cached per-TestContext) |
| 248 | let repo = ctx.get_fixture(FixtureKind::ValidRepo).await?; | 248 | let repo = ctx.get_fixture(FixtureKind::ValidRepoSent).await?; |
| 249 | 249 | ||
| 250 | // 3. Test-specific event | 250 | // 3. Test-specific event |
| 251 | let my_event = client.create_issue(&repo, "Title", "Content", vec![])?; | 251 | let my_event = client.create_issue(&repo, "Title", "Content", vec![])?; |