ci(linear): wire Linear release pipeline to CI#1683
Merged
paulfalgout merged 3 commits intodevelopfrom May 1, 2026
Merged
Conversation
Add Linear release stage updates to the tag-build artifact pipeline and the deploy pipeline. Tag artifact upload syncs the release and moves it to Started; qa/sandbox/prod deploys advance through QA, Sandbox, and Released stages, with complete called after a successful prod deploy. Skips dev deploys and prod:demonstration. Pinned CLI binary v0.7.0 with sha256 verification, scoped via the linear-secrets CircleCI context. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
RoundingWell Care Ops Frontend
|
||||||||||||||||||||||||||||
| Project |
RoundingWell Care Ops Frontend
|
| Branch Review |
linear-release
|
| Run status |
|
| Run duration | 02m 04s |
| Commit |
|
| Committer | Paul Falgout |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
236
|
| View all changes introduced in this branch ↗︎ | |
Coverage Report for CI Build 3662Coverage remained the same at 100.0%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats💛 - Coveralls |
- Make Linear sync/update steps failure-tolerant so a Linear API or download failure cannot fail the deploy/artifact job (Devin, cubic). - Move the deploy-side Linear update step after slack/notify so the deploy result reflects the actual deploy, not Linear (Devin, cubic). - Restrict prod release completion to wildcard prod:* only; org-scoped prod deploys (prod:demonstration, prod:apple, etc.) are skipped so they cannot prematurely complete a release (cubic). - Extract the pinned CLI download to scripts/download-linear-release.sh; config.yml and deploy.yml both call it, removing the duplicated version + sha256 (Copilot). - Inline the download into the gated deploy step so dev deploys skip the network call entirely (Copilot). - Split deploy-dev workflow into deploy-dev and deploy-qa so the linear-secrets context is only attached when actually used (Copilot). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
set -e is suspended on the left side of ||, so the previous
{ cmd1; cmd2; cmd3; } || echo block silently swallowed earlier
command failures: the group exit status came from the trailing
if/last command, not from any failed step in the middle.
Chain commands with && so the first failure short-circuits and the
fallback echo fires. The trailing prod-only complete is encoded as
{ [ stage != prod ] || complete; } so its exit status reflects
whether complete actually ran successfully.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
shadowhand
approved these changes
May 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes FE-119
Add Linear release stage updates to the tag-build artifact pipeline and the deploy pipeline. Tag artifact upload syncs the release and moves it to Started; qa/sandbox/prod deploys advance through QA, Sandbox, and Released stages, with complete called after a successful prod deploy. Skips dev deploys and prod:demonstration. Pinned CLI binary v0.7.0 with sha256 verification, scoped via the linear-secrets CircleCI context.
Summary by cubic
Integrates the Linear release pipeline into CircleCI so release stages update automatically from tag builds and deploys. Implements FE-119 by syncing on tag builds and advancing stages on QA, Sandbox, and wildcard Prod; steps use
&&chaining and are failure-tolerant so they won’t block deploys.New Features
prod:*→ Released, thencomplete; skipsdevand org-scopedprod:<org>; runs after deploy notifications and chains commands with&&to surface failures while keeping deploys/artifacts green.linear-secretscontext added to tag-build,deploy-qa, anddeploy-prod(notdeploy-dev).Dependencies
linear/linear-releaseCLI v0.7.0 with SHA256 verification, downloaded viascripts/download-linear-release.sh.docs/deploy.mdwith stage mapping and requiredLINEAR_ACCESS_KEYinlinear-secrets.Written for commit 50eb96a. Summary will update on new commits.