Repository navigation
Conversation
Add path filters to the Build Site workflow so it only runs when files that feed into the site are modified: web/, cloudflare_site/, and the two site workflow files themselves. The Deploy Site workflow chains off Build Site via workflow_run, so it is automatically skipped when the build doesn't run. Co-Authored-By: Claude Opus 4.6 <[email protected]>
Site previewCommit: |
|
.. just trying to cut down some on noise. |
ifireball
left a comment
There was a problem hiding this comment.
There are some relevant files in the repo root as well such as packages.json
There was a problem hiding this comment.
Review: #373
Head SHA: fb7ae7f
Timestamp: 2026-04-23T00:00:00Z
Outcome: approve
Summary
Clean, well-scoped CI change that adds paths: filters to the Build Site workflow so it only triggers when site-related files are modified. The four path globs (web/**, cloudflare_site/**, and the two workflow YAML files) correctly cover every input to the build artifact. The Deploy Site workflow chains via workflow_run on the Build Site workflow, so it is naturally skipped when the build does not run. No correctness, security, injection, or style findings across all six review dimensions.
Findings
No findings.
Footer
Outcome: approve
This review applies to SHA fb7ae7fcf8a1dd4629ec483c1d487783f0a38293. Any push to the PR head clears this review and requires a new evaluation.
There was a problem hiding this comment.
Review: #373
Head SHA: fb7ae7f
Timestamp: 2026-04-23T00:00:00Z
Outcome: approve
Summary
Clean CI optimization that adds paths: filters to the Build Site workflow so it only runs when site-related files change. The four filtered paths (web/**, cloudflare_site/**, and the two workflow YAML files) correctly cover every file consumed by the build job. The Deploy Site workflow chains via workflow_run on "Build Site", so skipping the build automatically skips the deploy — no changes needed there. No security, injection, or correctness concerns. YAML formatting follows existing conventions.
Findings
No findings.
Footer
Outcome: approve
This review applies to SHA fb7ae7fcf8a1dd4629ec483c1d487783f0a38293. Any push to the PR head clears this review and requires a new evaluation.
There was a problem hiding this comment.
Review: #373
Head SHA: fb7ae7f
Timestamp: 2026-04-23T00:00:00Z
Outcome: approve
Summary
Clean, well-scoped CI change that adds paths: filters to the Build Site workflow so it only triggers when site-related files (web/**, cloudflare_site/**, and the two workflow YAML files) are modified. The path set correctly covers all files referenced by the build step. The Deploy Site workflow chains via workflow_run, so it is automatically skipped when the build is skipped — verified against the deploy workflow source. No findings across any review dimension.
Findings
No findings.
Footer
Outcome: approve
This review applies to SHA fb7ae7fcf8a1dd4629ec483c1d487783f0a38293. Any push to the PR head clears this review and requires a new evaluation.
There was a problem hiding this comment.
Review: #373
Head SHA: fb7ae7f
Timestamp: 2026-04-23T00:00:00Z
Outcome: approve
Summary
Clean CI optimization that adds paths: filters to the Build Site workflow so it only triggers when site-related files are modified. The four path globs (web/**, cloudflare_site/**, and both workflow YAML files) comprehensively cover all site-related sources. The Deploy Site workflow chains via workflow_run on Build Site, so it is automatically skipped when the build doesn't run. No correctness, security, injection, or style concerns across any review dimension.
Findings
No findings.
Footer
Outcome: approve
This review applies to SHA fb7ae7fcf8a1dd4629ec483c1d487783f0a38293. Any push to the PR head clears this review and requires a new evaluation.
There was a problem hiding this comment.
Review: #373
Head SHA: fb7ae7f
Timestamp: 2026-04-23T17:36:50Z
Outcome: approve
Summary
Clean, correctly scoped CI change. The PR adds paths: filters to both the pull_request and push triggers in site-build.yml so the build only runs when site-related files are modified. The four path globs (web/**, cloudflare_site/**, .github/workflows/site-build.yml, .github/workflows/site-deploy.yml) cover all files that feed into the build artifact. The downstream Deploy Site workflow chains via workflow_run: [Build Site], so it is automatically skipped when the build doesn't trigger — this claim from the PR description is confirmed by inspecting site-deploy.yml. No findings across any of the six review dimensions.
Findings
No findings.
Footer
Outcome: approve
This review applies to SHA fb7ae7fcf8a1dd4629ec483c1d487783f0a38293. Any push to the PR head clears this review and requires a new evaluation.
There was a problem hiding this comment.
Review: #373
Head SHA: fb7ae7f
Timestamp: 2026-04-23T00:00:00Z
Outcome: approve
Summary
Clean, minimal CI change that adds paths: filters to both the pull_request and push triggers in site-build.yml. The four path patterns (web/**, cloudflare_site/**, and the two workflow files) exactly cover the files consumed by the build step. The downstream Deploy Site workflow chains via workflow_run: [completed], so it is automatically skipped when Build Site doesn't trigger — no changes needed there. No correctness, security, or injection concerns.
Findings
No findings.
Footer
Outcome: approve
This review applies to SHA fb7ae7fcf8a1dd4629ec483c1d487783f0a38293. Any push to the PR head clears this review and requires a new evaluation.
There was a problem hiding this comment.
Review: #373
Head SHA: fb7ae7f
Timestamp: 2026-04-23T00:00:00Z
Outcome: approve
Summary
Clean CI optimization that adds paths: filters to the Build Site workflow's pull_request and push triggers. The four filtered paths (web/**, cloudflare_site/**, and both workflow YAML files) precisely match the build job's actual inputs. The downstream Deploy Site workflow chains via workflow_run and is automatically skipped when the build does not run — no additional changes needed. No correctness, security, or style issues found.
Findings
None.
Footer
Outcome: approve
This review applies to SHA fb7ae7fcf8a1dd4629ec483c1d487783f0a38293. Any push to the PR head clears this review and requires a new evaluation.
There was a problem hiding this comment.
Review: #373
Head SHA: fb7ae7f
Timestamp: 2026-04-23T00:00:00Z
Outcome: approve
Summary
Clean, correctly scoped CI change that adds paths: filters to the Build Site workflow so it only runs when site-related files are modified. The four path globs (web/**, cloudflare_site/**, and both workflow YAML files) cover all inputs consumed by the build job. The downstream Deploy Site workflow chains via workflow_run, so it is automatically skipped when the build doesn't run — verified against site-deploy.yml. No security, correctness, or style concerns. No findings.
Findings
None.
Footer
Outcome: approve
This review applies to SHA fb7ae7fcf8a1dd4629ec483c1d487783f0a38293. Any push to the PR head clears this review and requires a new evaluation.
There was a problem hiding this comment.
Review: #373
Head SHA: fb7ae7f
Timestamp: 2026-04-23T00:00:00Z
Outcome: approve
Summary
Clean, correctly scoped CI optimization. The PR adds paths: filters to both the pull_request and push triggers in site-build.yml, restricting the Build Site workflow to runs where site-related files (web/**, cloudflare_site/**, or the two workflow YAMLs) are modified. The Deploy Site workflow chains via workflow_run on "Build Site", so it is automatically skipped when the build doesn't run — this claim was verified against the deploy workflow source. No security, correctness, or style issues found.
Findings
Info
- [correctness]
.github/workflows/site-build.yml— If new site-related directories or config files are added in the future (the build step comments mention a potential Vite app underweb/), thepaths:filter will need to be updated to include them. This is standard maintenance for path-filtered workflows and not a defect.
Footer
Outcome: approve
This review applies to SHA fb7ae7fcf8a1dd4629ec483c1d487783f0a38293. Any push to the PR head clears this review and requires a new evaluation.
|
There's no If a |
|
@ifireball could you comment on this? |
Looks like this was made quite a while ago before the introduction of any of the JS/Svelte code, I'd suggest re-prompting an agent to do this on top of a fresh clone. Please assign an issue to me if you want me to take care of this. |
ifireball
left a comment
There was a problem hiding this comment.
seems like this needs to be re-created rather then merely re-based.
|
Closing in favor of #813 — this PR predates the JS/Svelte code and needs to be re-created from scratch against the current codebase. Assigned to @ifireball per their request. |
Summary
paths:filters to the Build Site workflow so it only triggers when site-related files are modifiedworkflow_run, so it is automatically skipped tooFiltered paths
web/**cloudflare_site/**.github/workflows/site-build.yml.github/workflows/site-deploy.ymlTest plan
web/orcloudflare_site/should still trigger the build🤖 Generated with Claude Code