Skip to content

ci: scope the website deploy workflow to the website stack - #526

Open
izzywdev wants to merge 2 commits into
masterfrom
claude/scope-website-deploy-trigger
Open

ci: scope the website deploy workflow to the website stack#526
izzywdev wants to merge 2 commits into
masterfrom
claude/scope-website-deploy-trigger

Conversation

@izzywdev

@izzywdev izzywdev commented Aug 3, 2026

Copy link
Copy Markdown
Owner

"Deploy FuzeFront Website (SSH)" ran on every pull request to master with no paths: filter, and planned Terraform against AWS us-east-1. That plan fails outright:

Error: no matching EC2 VPC found
    data.aws_vpc.default                fuzefront-website/infrastructure/main.tf:31
Error: reading ELBv2 Load Balancers: couldn't find resource
    data.aws_lb.main                                                        :83
Error: reading Auto Scaling Group (fuzefront-website-production-asg): empty result
    data.aws_autoscaling_group.main                                         :93

All three are data sources — Terraform reading pre-existing AWS resources. All three resolve to nothing, so the VPC, load balancer and ASG this stack expects aren't there.

The effect was a permanently-red check on PRs that change nothing this workflow deploys — it's what's currently blocking #521, which touches only packages/ and an unrelated workflow file.

The change

Every job here works in ./fuzefront-website/{backend,frontend}, and its Terraform is ./fuzefront-website/infrastructure. The trigger now matches that scope, on both push and pull_request.

What this does not do

It doesn't hide the failure. A PR touching fuzefront-website/** still runs the plan and still fails — loudly, on the change that owns the problem. What it stops is an unrelated PR being blocked by infrastructure it never touched.

It doesn't decide whether the AWS website stack should exist. CLAUDE.md says prod is Kubernetes on Contabo k3s via Helm/Argo, and the missing VPC/ALB/ASG suggest this path was decommissioned without retiring its workflow. If that's right, the workflow and fuzefront-website/infrastructure/ should probably be deleted — but that's a deployment-topology decision for you, not a side effect of unblocking CI.

Note

This PR touches .github/workflows/deploy.yml, which the new filter includes — so this PR itself will still trigger the failing plan once. Every subsequent unrelated PR won't.


Generated by Claude Code

"Deploy FuzeFront Website (SSH)" ran on EVERY pull request to master with no
paths filter, and planned Terraform against AWS us-east-1. That plan fails:

  Error: no matching EC2 VPC found
      data.aws_vpc.default                  fuzefront-website/infrastructure/main.tf:31
  Error: reading ELBv2 Load Balancers: couldn't find resource
      data.aws_lb.main                                                          :83
  Error: reading Auto Scaling Group (fuzefront-website-production-asg): empty result
      data.aws_autoscaling_group.main                                           :93

All three are DATA sources — Terraform reading pre-existing AWS resources. All
three resolve to nothing, so the VPC, load balancer and auto-scaling group this
stack expects are simply not there.

The result was a permanently-red required check on pull requests that change
nothing this workflow deploys. Every job it touches works in
./fuzefront-website/{backend,frontend}, and its Terraform is
./fuzefront-website/infrastructure — so the trigger now matches that scope.

This deliberately does NOT hide the failure. A PR touching fuzefront-website/**
still runs the plan and still fails, on the change that actually owns the
problem. What it stops is an unrelated PR being blocked by infrastructure it
never touched.

What this does NOT decide: whether the AWS website stack should exist at all.
CLAUDE.md says prod is Kubernetes on Contabo k3s via Helm/Argo, and the missing
VPC/ALB/ASG suggest this path was decommissioned without retiring its workflow.
Deleting it is a deployment-topology decision for the owner, not a side effect
of unblocking CI.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GaPa3JgrVNtWrGvqQEAEqv
@github-actions
github-actions Bot enabled auto-merge (squash) August 3, 2026 12:37
@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Automated code review (gate-code-review)

Credit balance is too low

Report-only — this check never blocks merge.

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