Skip to content

ci(release,auto-sync): enable conditional npm publish and fix Hugo SHA - #44

Merged
thxCode merged 1 commit into
mainfrom
fix/auto-sync-hugo-sha-and-reconcile-timing
Nov 22, 2026
Merged

thxCode merged 1 commit into
mainfrom
fix/auto-sync-hugo-sha-and-reconcile-timing

Conversation

@thxCode

@thxCode thxCode commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Enable publish-npm on refs/tags/v* in .github/workflows/ci.yml:
    • Uses secrets.CI_NPM_TOKEN via an ephemeral 0600 temp .npmrc (cleaned on EXIT) when the secret is present (for initial @gpustack/loopwright bootstrap on npmjs.com).
    • Automatically skips .npmrc token injection when secrets.CI_NPM_TOKEN is removed, seamlessly transitioning to OIDC Trusted Publishers (id-token: write, --provenance) with zero workflow edits.
  • Fix the 39-char peaceiris/actions-hugo commit SHA typo in .github/workflows/auto-sync.yml (75d2e84710de30f6ff7268e08f310b60ef4033f -> verified 40-char 75d2e84710de30f6ff7268e08f310b60ef14033f for v3.0.0).
  • Harden packages/controller/test/benchmark-reconcile.test.ts against arm64 scheduling jitter by giving P6 1200ms admission headroom (safely under timeoutMs: 2000) with deterministic holdGetUntilMs, and raising P8a / shortExpiryMs headroom to 1500ms.

/kind bug
/area controller
/area github-app

Verification

  • npm run typecheck
  • npm run lint
  • npm run lint:docs
  • benchmark-reconcile.test.js (7/7 passed)
  • .github/workflows/ci.yml and .github/workflows/auto-sync.yml YAML validation (ok)
  • Signed-off-by DCO trailer present on all commits

…and harden reconcile timing

Signed-off-by: thxCode <thxcode0824@gmail.com>
@gpustack-code-review

Copy link
Copy Markdown

✅ OpenCodeReview: Review complete: 0 finding(s) across 2 selected item(s).

@thxCode
thxCode merged commit 605f90b into main Nov 22, 2026
14 checks passed
@thxCode
thxCode deleted the fix/auto-sync-hugo-sha-and-reconcile-timing branch November 22, 2026 12:10
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