Skip to content

Use only main's data artifacts on rebrand-doors too (preview, deploy, staging) - #1064

Merged
LukasWallrich merged 12 commits into
rebrand-doorsfrom
fix-preview-artifact-branch
Nov 8, 2026
Merged

LukasWallrich merged 12 commits into
rebrand-doorsfrom
fix-preview-artifact-branch

Conversation

@LukasWallrich

@LukasWallrich LukasWallrich commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

Brings #1063's changes to rebrand-doors, so its copies of deploy.yaml and staging-aggregate.yaml match main'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.

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.yml and data-processing.yml are left as they are here. #1059 changes them on main, and the launch merge carries that over.

Refs #960

🤖 Generated with Claude Code

Refs #960

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LukasWallrich
LukasWallrich requested a review from a team as a code owner November 8, 2026 22:01
@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

👍 All image files/references (if any) are in webp format, in line with our policy.

@github-actions

github-actions Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

✅ Spell Check Passed

No spelling issues found when checking 8 changed file(s)! 🎉

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread .github/workflows/rebrand-preview.yaml Resolved
LukasWallrich and others added 4 commits November 8, 2026 22:07
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>
@LukasWallrich LukasWallrich changed the title Use only main's artifacts for the Doors preview Use only main's data artifacts on rebrand-doors too (preview, deploy, staging) Nov 8, 2026
LukasWallrich and others added 4 commits November 8, 2026 22:08
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>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread .github/workflows/deploy.yaml Resolved
Comment thread .github/workflows/README.md Resolved
Comment thread .github/workflows/deploy.yaml Resolved
LukasWallrich and others added 2 commits November 8, 2026 22:28
…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>

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Comment thread .github/workflows/README.md Resolved
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@LukasWallrich
LukasWallrich merged commit a045b73 into rebrand-doors Nov 8, 2026
6 checks passed
@LukasWallrich
LukasWallrich deleted the fix-preview-artifact-branch branch November 8, 2026 22:59
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