Skip to content

fix(release): allow a skipped windows smoke on the stable lane - #6480

Merged
lefarcen merged 1 commit into
release/v0.18.0from
fix/stable-win-report-skip-guard
Aug 5, 2026
Merged

fix(release): allow a skipped windows smoke on the stable lane#6480
lefarcen merged 1 commit into
release/v0.18.0from
fix/stable-win-report-skip-guard

Conversation

@lefarcen

@lefarcen lefarcen commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Why

release-stable.yml offers win_x64_smoke_mode: skip, but picking it makes the release impossible to finish — and it fails in the most expensive place possible.

The windows smoke uploads its e2e report with if-no-files-found: warn, so a skipped smoke leaves the report directory empty and publishes no artifact at all. The finalize job then downloads that artifact unconditionally and dies. By that point all three platforms have already built, signed and notarized, and the pre-flight tag check has passed — roughly 25 minutes of work thrown away for a report that nothing downstream reads.

Hit while cutting 0.18.0: the P2 windows smoke asserts a fresh install reaches home, which the cloud sign-in onboarding structurally prevents (the sibling P0 case asserts the opposite — that a fresh install shows onboarding). skip is the documented escape hatch and is exactly what this branch's own notify-release-feishu hardcodes, so it needs to actually work.

What

Guard the download on the same condition that gates the smoke itself:

- name: Download windows e2e spec report
  if: ${{ inputs.win_x64_smoke_mode != 'skip' }}

This mirrors how the linux report is guarded by its build result. The mac report stays unconditional — the mac smoke has no skip switch.

Validation

  • YAML parsed with a real loader: 9 jobs, guard resolves to ${{ inputs.win_x64_smoke_mode != 'skip' }}.
  • Empirically reproduced three times on run 31020314879: every platform green, Pre-flight tag/release check green, then Download windows e2e spec report fails with the artifact missing.
  • Nothing in the finalize job reads release-report/win after the download — the three report downloads have no consumer in that job.

Follow-up (not in this PR)

The P2 windows smoke's "must reach home" expectation is stale and contradicts the P0 case. It should be taught about the cloud sign-in shell so Windows regains real smoke coverage instead of living on skip.

Surface area

  • CI / GitHub Actions workflows

release-stable.yml offers win_x64_smoke_mode: skip, but choosing it makes the
release impossible to finish. The windows smoke uploads its e2e report with
if-no-files-found: warn, so a skipped smoke leaves the report directory empty
and publishes no artifact; finalize then downloads that artifact
unconditionally and fails — after every platform has already built, signed and
notarized, and after the pre-flight tag check has passed. Twenty-five minutes
of work is thrown away for a report nothing downstream reads.

Guard the download on the same condition that gates the smoke itself, matching
how the linux report is guarded by its build result. The mac report stays
unconditional because the mac smoke has no skip switch.
@lefarcen
lefarcen requested a review from a team as a code owner August 5, 2026 16:15
@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

🚫 Direct PRs into release branches are not accepted.

Changes reach a release branch through the backport flow, not by targeting release/* directly:

  1. Open your PR against main and get it merged there.
  2. Add the backport release/vX.Y.Z label to that main PR — the release bot cherry-picks it onto the release branch automatically (resolving conflicts in a draft if needed).

Closing this PR. If this is a genuine release-only fix that cannot go through main, ask a maintainer to handle it directly.

@github-actions github-actions Bot closed this Aug 5, 2026
@lefarcen
lefarcen merged commit 30c427c into release/v0.18.0 Aug 5, 2026
12 of 15 checks passed
@lefarcen lefarcen added size/XS PR changes <20 lines risk/high High risk: apps/desktop, daemon, auth, migration, workflows, package deps type/bugfix Bug fix labels Aug 5, 2026
lefarcen added a commit that referenced this pull request Aug 5, 2026
Brings back the commits that landed directly on the release branch and exist
nowhere else: #6480 (guard the windows e2e report download so
win_x64_smoke_mode: skip is usable on the stable lane), #6452 (retry NSIS
install and fail the setup step loudly), #6440 and #6437 (release/v0.18.0
auto-build defaults, both scoped by their own github.ref_name conditions),
#6435 (the amr_profile input that enables the Workspace Team transport), plus
the release-cut chores.

apps/packaged/package.json keeps main's 0.16.2 rather than taking the branch's
0.18.0: this repo advances main's version through its own
'chore(release): bump main to X.Y.Z ahead of stable' PRs (#6000, #5661, #5441),
never through a back-merge.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk/high High risk: apps/desktop, daemon, auth, migration, workflows, package deps size/XS PR changes <20 lines type/bugfix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant