Skip to content

Release: build Windows before the Azure sign-in - #153

Merged
benandez merged 2 commits into
mainfrom
claude/release-sign-after-build
Dec 5, 2026
Merged

benandez merged 2 commits into
mainfrom
claude/release-sign-after-build

Conversation

@benandez

@benandez benandez commented Dec 5, 2026

Copy link
Copy Markdown
Member

Signing failed on the v0.1.18 Windows job (run 47578685018):

AADSTS700024: Client assertion is not within its valid time range.
Current time: 22:56:42, assertion valid from 22:46:33, expiry 22:51:33

azure/login signs in using GitHub's OIDC token, and the Azure CLI uses that token again whenever it needs a new access token. GitHub's token expires after 5 minutes. The build ran for 10 minutes between sign-in and signing.

Fix: build first with package.ps1 -BuildOnly, then sign in to Azure, then sign and package with package.ps1 -SkipBuild. Signing now starts within seconds of sign-in. The sign-in itself, the federated credential (repo:UCSLabs@278048116/veil@1459200433:environment:release) and the signer role all worked.

zizmor reports no findings. This only shows up on a tag, because the release environment accepts only v* tags. The next tag is the real test.

🤖 Generated with Claude Code

v0.1.18's signing failed with AADSTS700024: the Azure CLI needs GitHub's
OIDC token for every new access token, the token lasts five minutes,
and the build ran ten minutes between sign-in and signing. Build first
(package.ps1 -BuildOnly), then sign in, then sign and package
(-SkipBuild).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@benandez
benandez requested a review from Jeremy8776 as a code owner December 5, 2026 22:58
@coderabbitai

coderabbitai Bot commented Dec 5, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 27 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: c60a8ab6-3d21-42ab-8087-d919fdfd181f
Commits

Reviewing files that changed from the base of the PR and between e19bd3e and a442649.

Files selected for processing: 3

  • .github/workflows/release.yml
  • CHANGELOG.md
  • packaging/windows/package.ps1
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 2026

Copy link
Copy Markdown

@benandez
benandez merged commit 8967b68 into main Dec 5, 2026
14 checks passed
@benandez
benandez deleted the claude/release-sign-after-build branch December 5, 2026 23:12
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