Skip to content

feat(dev): expose local stack for agent testing - #1398

Merged
simonjcarr merged 1 commit into
mainfrom
codex/dev-stack-idempotent-start
May 13, 2026
Merged

simonjcarr merged 1 commit into
mainfrom
codex/dev-stack-idempotent-start

Conversation

@simonjcarr

Copy link
Copy Markdown
Collaborator

Summary

  • add ./dev-stack.sh --public / --public-host for agent-connectable local development
  • expose only the web proxy and ingest ports in public mode while keeping Postgres loopback-only
  • advertise the reachable host to web, agent downloads, and agent ingest output
  • regenerate dev TLS when the public host needs to be added to the cert SANs
  • add --check-public and --local helpers
  • fix dev env writes and idempotent restarts after the stack is already running

Validation

  • bash -n dev-stack.sh
  • bash deploy/scripts/test-dev-stack.sh
  • go test ./internal/config from apps/ingest
  • docker compose --project-name ct-ops-dev-compose-check --env-file .dev/dev.env -f docker-compose.dev-stack.yml config

Notes

  • Public mode is opt-in; default local development remains loopback-only.
  • A Tailscale IP is the recommended --public-host value for agent testing.

@simonjcarr
simonjcarr merged commit fb3d5dc into main May 13, 2026
16 checks passed
@simonjcarr
simonjcarr deleted the codex/dev-stack-idempotent-start branch May 13, 2026 18:47
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