Skip to content

chore(chromatic): neuter Chromatic steps in shared frontend templates#174

Closed
karsonkalt wants to merge 1 commit into
mainfrom
chore/disable-chromatic
Closed

chore(chromatic): neuter Chromatic steps in shared frontend templates#174
karsonkalt wants to merge 1 commit into
mainfrom
chore/disable-chromatic

Conversation

@karsonkalt
Copy link
Copy Markdown
Contributor

In This PR

Four reusable templates currently invoke jupiterone/.github/.github/actions/frontend/chromatic@v3.0.53. Each one's chromatic step is replaced with an echo no-op; everything else (job name, runner, if: ${{ inputs.use_chromatic }} gate, surrounding workflow structure) stays exactly the same.

Template Job Step replaced
frontend_npm_pr.yml chromatic_upload (named Visual Regression) chromatic_upload
frontend_npm_release.yml chromatic_publish chromatic_publish
frontend_runtime_application_pr.yml chromatic_upload (named Visual Regression) chromatic_upload
frontend_runtime_utility_pr.yml chromatic_upload (named Visual Regression) chromatic_upload

Notes

The JupiterOne Chromatic account is being decommissioned. Three Visual Regression-named jobs are referenced by branch protection rules ("Name targeted by branch protections, do not change" — see existing comments in the templates), so the job structure and name must stay. After this PR, those jobs run a single echo step and post success — branch protection happy, no Chromatic API call.

Callers actually opting in (use_chromatic: true): only JupiterOne/web-juno. The other ~13 referencing repos pass use_chromatic: false, so the gated job didn't run for them anyway — this change has zero behavioral effect on them today, but it future-proofs against anyone flipping the knob later.

Composite action orphaned. .github/actions/frontend/chromatic/action.yml no longer has any caller after this lands. Deletion is tracked as follow-up cleanup, not blocking.

[*] Authored by Claude Code.

The JupiterOne Chromatic account is being decommissioned. Four shared
frontend templates currently invoke `actions/frontend/chromatic@v3.0.53`
to upload to Chromatic. Strip the upload step from each template,
keeping:

  - The `chromatic_upload` / `chromatic_publish` job (preserves the
    "Visual Regression" job name that branch protections rely on)
  - The `if: ${{ inputs.use_chromatic }}` gate (most callers pass false
    already, only web-juno opts in)
  - An echo step so the job reports success without making any
    Chromatic API call

Templates touched:
  - frontend_npm_pr.yml
  - frontend_npm_release.yml
  - frontend_runtime_application_pr.yml
  - frontend_runtime_utility_pr.yml

The composite action at `.github/actions/frontend/chromatic` is now
orphaned; deletion is tracked as follow-up cleanup.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@karsonkalt
Copy link
Copy Markdown
Contributor Author

Closing and removing the consumer.

@karsonkalt karsonkalt closed this May 26, 2026
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.

2 participants