Repository navigation
Use only main's data artifacts on rebrand-doors too (preview, deploy, staging) - #1064
Conversation
Refs #960 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
👍 All image files/references (if any) are in webp format, in line with our policy. |
✅ Spell Check PassedNo spelling issues found when checking 8 changed file(s)! 🎉 |
There was a problem hiding this comment.
All reported issues were addressed across 1 file
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
deploy.yaml and staging-aggregate.yaml took the newest data-artifact from any branch, so a test dispatch of data-processing.yml from a branch could feed the live site. The artifact downloads now filter on branch main, the missing-artifact fallback always regenerates from main, and create_announcements.yml compares against main's previous announcements. The workflows README says how to try a branch's artifact instead. Fixes #960 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
staging-aggregate.yaml gains a data_branch dispatch input. Left empty, staging uses main's artifact like production; set, it stages that branch's data, so a change to data-processing.yml can still be tried on staging. Production deploys stay main-only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…spatches The initial data downloads used if_no_artifact_found: warn, which succeeds, so the fallback (which runs on failure) never did; with the main-only filter that could leave a deploy without data. They now fail, with continue-on-error, so the fallback dispatches data-processing on main. The fallback then only follows runs created after its own dispatch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With data_branch set, staging used to fall back to committed or main data, which would misrepresent a pipeline test. It now stops with an error instead; the main fallback is kept for default runs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…y the fallback create_announcements.yml's change detection now looks up the previous artifact from its own branch (main for scheduled runs), so a branch test run isn't skipped as unchanged against main's hash. Deploys still take only main's announcements. The README says that only a missing data artifact is regenerated. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eview artifact #1059 (#1030) renames branch-run artifacts to data-artifact-preview and announcements-artifact-preview and reworks create_announcements.yml, so this PR no longer touches that file. A staging run with data_branch now downloads that branch's data-artifact-preview. Merge #1059 first. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ify the README - The staging error step no longer interpolates the data_branch input into its shell script; it reads it from an environment variable. - The missing-artifact fallback notes the newest data-processing run before it dispatches, then follows the first run newer than that. - The README says staging can opt in to a branch's data artifact only, never to branch announcement artifacts. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
…act stops staging Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
curl -f turns an HTTP error from the dispatch API into a failure, so the existing error branch runs instead of waiting for a run that was never created. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
All reported issues were addressed across 3 files (changes from recent commits).
Reply with feedback, questions, or to request a fix.
View guided diff | Turn on auto-fix | Re-trigger cubic
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings #1063's changes to
rebrand-doors, so its copies ofdeploy.yamlandstaging-aggregate.yamlmatchmain's, and the Doors launch merge carries them over with no conflict. It also applies the same filter to the Doors preview workflow, which exists only here.rebrand-preview.yaml: the data and announcements downloads filter onbranch: main. This workflow is removed at launch (Ready for launch: remove the Doors preview tooling and tidy the spell check #1042).deploy.yaml,staging-aggregate.yaml: identical to Use only main's data and announcement artifacts for deploys and staging #1063's versions, with the main-only artifacts, thedata_branchstaging input, the fallback that now fires on a missing artifact, and run tracking limited to the run it dispatched..github/workflows/README.md: Use only main's data and announcement artifacts for deploys and staging #1063's paragraph, kept with this branch's corrected link paths.Sol reviewed the approach (artifact filter semantics checked against both pinned action versions) and raised the fallback and retry points that are fixed here and in #1063.
create_announcements.ymlanddata-processing.ymlare left as they are here. #1059 changes them onmain, and the launch merge carries that over.Refs #960
🤖 Generated with Claude Code