No description
Find a file
Snider 0fe2978b9d test: Phase 3 — Forgejo signal source, journal replay, handler integration
Forgejo signal source tests:
- Signal parsing for empty body, mixed content, large issue numbers
- findLinkedPR edge cases (multiple refs, empty body, first match wins)
- Poll with combined status failure/error fallback to PENDING
- Poll with unassigned child (no signal), child fetch failure (skipped)
- Poll with multiple epics, mixed labels (only epics generate signals)
- Report format verification (success/failure, error in code block)

Journal replay tests:
- Write + read-back round-trip with full field preservation
- Filter by action (tick_parent from mixed actions)
- Filter by repo (date-partitioned files in owner/repo directories)
- Filter by time range (entries across multiple days)
- Combined filter (action + repo + time)
- Concurrent write safety (20 goroutines, valid JSONL output)
- Empty journal returns no entries

Handler integration tests:
- TickParent full flow: signal -> execute -> verify epic body updated,
  child closed, progress tracked (checked/unchecked counts)
- EnableAutoMerge: verify squash merge method via mock
- PublishDraft: verify draft=false PATCH sent
- SendFixCommand: conflict vs review message paths
- Completion: success flow (label swap, comment) and failure flow
- Full pipeline: signal -> handler -> journal write -> read-back
- Handler priority: verify correct handler matches each signal state
  (merged, draft, conflicting, open+passing)

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-20 05:51:48 +00:00
agentci fix: Phase 2 — error wrapping, context audit, rate limiting review 2026-02-20 05:42:02 +00:00
collect fix: Phase 2 — error wrapping, context audit, rate limiting review 2026-02-20 05:42:02 +00:00
forge fix: Phase 2 — error wrapping, context audit, rate limiting review 2026-02-20 05:42:02 +00:00
git test(git): push coverage from 79.5% to 96.7% 2026-02-20 02:01:12 +00:00
gitea test: push coverage across collect/jobrunner/gitea 2026-02-20 03:06:43 +00:00
jobrunner test: Phase 3 — Forgejo signal source, journal replay, handler integration 2026-02-20 05:51:48 +00:00
CLAUDE.md docs: add CLAUDE.md, TODO.md, FINDINGS.md for fleet delegation 2026-02-20 00:28:39 +00:00
FINDINGS.md fix: Phase 2 — error wrapping, context audit, rate limiting review 2026-02-20 05:42:02 +00:00
go.mod feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
go.sum feat: extract SCM/forge integration packages from core/go 2026-02-16 15:25:58 +00:00
TODO.md docs: mark Phase 2 tasks complete in TODO.md 2026-02-20 05:42:28 +00:00