Skip to content

Trim daemon e2e tests to 3 focused scripts#13

Merged
munezaclovis merged 1 commit intomainfrom
claude/trim-daemon-e2e-tests
Mar 5, 2026
Merged

Trim daemon e2e tests to 3 focused scripts#13
munezaclovis merged 1 commit intomainfrom
claude/trim-daemon-e2e-tests

Conversation

@munezaclovis
Copy link
Copy Markdown
Contributor

Summary

  • Reduces daemon e2e test plan from 10 scripts to 3 (Tasks 12-16 → Tasks 12-13)
  • Existing foreground tests (start-curl.sh, restart.sh, log.sh, stop.sh) already cover DNS, HTTP, restart, and log behavior — no need for daemon-specific duplicates
  • Keeps only what requires real launchd to test:
    • daemon-start-stop.sh — launchd load/unload lifecycle, plist verification
    • daemon-crash-recovery.sh — kill -9 + PID check (proves KeepAlive works)
    • daemon-full-stack.sh — link project + daemon start + curl (proves env vars work)
  • Updates test coverage summary and task ordering accordingly

Test plan

  • Plan-only change, no code affected
  • go test ./... still passes (no code changes)

Existing foreground e2e tests already cover DNS, HTTP, restart, and log
behavior. Reduce daemon-specific e2e tests to only what requires real
launchd integration: start/stop lifecycle, crash recovery, and full
stack. Drops 7 redundant scripts, renumbers tasks 12-13.
@munezaclovis munezaclovis merged commit 9c1a22e into main Mar 5, 2026
2 checks passed
@munezaclovis munezaclovis deleted the claude/trim-daemon-e2e-tests branch March 5, 2026 03:07
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