Skip to content

ci: scope CD to redirect-tier changes (skip web/test-only merges)#16

Merged
pstaylor-patrick merged 1 commit into
mainfrom
ci/scope-cd-paths
May 24, 2026
Merged

ci: scope CD to redirect-tier changes (skip web/test-only merges)#16
pstaylor-patrick merged 1 commit into
mainfrom
ci/scope-cd-paths

Conversation

@pstaylor-patrick

Copy link
Copy Markdown
Collaborator

What this PR does

Scopes the CD workflow so it only redeploys the redirect tier when the redirect tier actually changes — not on web-only, test-only, docs, or testdata merges (which were needlessly resetting the GCE VM and briefly dropping live redirects).

deploy.yaml now triggers on push to main only for:

  • cmd/redirectd/**
  • internal/** (excluding *_test.go)
  • go.mod / go.sum
  • Dockerfile / .dockerignore
  • the deploy workflow itself

workflow_dispatch still forces a manual deploy anytime.

Net effect: merges like the recent web component tests / parity tests / docs no longer roll the redirect VM.

🤖 Generated with Claude Code

…st merges)

deploy.yaml previously ran on every push to main, resetting the redirect VM
(brief live-redirect blip) even for web-only, test-only, docs, or testdata
changes. Now it triggers only when the redirectd binary/container can actually
change: cmd/redirectd, internal/** (excluding *_test.go), go.mod/go.sum, the
root Dockerfile, or this workflow. Manual workflow_dispatch still forces a deploy.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@pstaylor-patrick pstaylor-patrick merged commit 8278be7 into main May 24, 2026
6 checks passed
@pstaylor-patrick pstaylor-patrick deleted the ci/scope-cd-paths branch May 24, 2026 21: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