Repository navigation
fix(ci): resolve deploy, release, and artifact republishing workflow failures - #13448
Open
1stANUNNAKI wants to merge 3 commits into
Open
1stANUNNAKI wants to merge 3 commits into
1stANUNNAKI wants to merge 3 commits into
Conversation
…failures - Fix workflow filename typo in main-build.yaml (pr_checks.yaml -> pr-checks.yaml), honor workflow_dispatch test_pr_number, and align platform matrix with Linux build artifact - Update VS Code release tag filters in main.yaml and preview.yaml to support v2.x+ even/odd minor versions instead of hardcoded v1.2.*/v1.3.*, and use GITHUB_TOKEN with scoped job permissions - Setup Node.js 24 before semantic-release in reusable-release.yml to satisfy @semantic-release/npm@^13.1.5 engine requirement (^22.14.0 || >=24.10.0) - Fix tag push and token fallback in stable-release.yml - Update jetbrains-release.yaml tag pattern, workflow_dispatch ref fallback, and replace retired macos-12 runner with macos-15-intel - Replace broken AnimMouse/setup-ffmpeg@v1 rolling download in run-jetbrains-tests with apt-get ffmpeg installation - Use job-scoped GITHUB_TOKEN in auto-assign-issue.yaml to avoid HttpError 403 on issue assignment
Contributor
|
All contributors have signed the CLA ✍️ ✅ |
Author
|
I have read the CLA Document and I hereby sign the CLA |
Author
Update: JetBrains CI & Flaky Test StabilizationPushed two additional commits to stabilize
All release, deploy, Node 24, and FFmpeg fixes remain in place. |
This branch has not been deployed
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.
Summary
This PR resolves multiple CI/CD, deployment, and release workflow failures currently affecting
mainbuilds, VS Code/JetBrains extension releases, and@continuedev/*npm package publishing:1. Fix
Main Branch BuildArtifact Republishing (.github/workflows/main-build.yaml)main(e.g., runs29800025075,29797825835) fails inFind PR workflow run(exit code 1) becausegh run listqueries--workflow="pr_checks.yaml"(with an underscore) whereas the workflow file is.github/workflows/pr-checks.yaml(with a hyphen). Additionally,pr-checks.yamlonly buildsvscode-extension-build-Linux(notmacOS), andworkflow_dispatch'sinputs.test_pr_numberwas ignored.--workflow="pr-checks.yaml", honorinputs.test_pr_numberwhen provided, and scope the republish matrix to[Linux].2. Fix VS Code Extension Release & Pre-release Deployment (
.github/workflows/main.yaml,.github/workflows/preview.yaml)check_release_namehardcodedv1.2.*-vscodeinmain.yamlandv1.3.*-vscodeinpreview.yaml, causingv2.0.0-vscodeandv2.1.0-vscoderelease events to skip building and publishing.releasejob declarespermissions: contents: writeonGITHUB_TOKENbut passedsecrets.CI_GITHUB_TOKENtosoftprops/action-gh-release@v2, failing withHttpError: Resource not accessible by personal access token(runs27797663453,27797662635).preview.yaml, thepublishjob checked out a detached release tag and rangit checkout -bbefore invokingpeter-evans/create-pull-request@v8withCI_GITHUB_TOKEN, failing with/usr/bin/git failed with exit code 128.v*.*.*-vscodetag with even minor version inmain.yamland odd minor version inpreview.yaml, guard tag checkout when triggered viaworkflow_dispatch, fetchorigin/mainbefore bumping the version inpreview.yaml, and use the job-scopedsecrets.GITHUB_TOKEN.3. Fix
@continuedev/*Package Releases (.github/workflows/reusable-release.yml)@continuedev/config-yaml,@continuedev/fetch,@continuedev/llm-info, and@continuedev/openai-adaptersusesemantic-release@^24.2.7and@semantic-release/npm@^13.1.5, which require Node.js^22.14.0 || >= 24.10.0. Runningnpx semantic-releaseunder Node 20 (from.nvmrc) causes theReleasestep to fail (runs23666385675,24546138990,23881659456).Setup Node.js 24 for semantic-releasestep beforenpx semantic-release(matching the pattern used instable-release.yml).4. Fix CLI Stable Release Tagging & Token Fallback (
.github/workflows/stable-release.yml)Create release on GitHubfailed withexit code 128(run27790830288) whenSEMANTIC_RELEASE_TOKENwas unavailable or the tag already existed.secrets.SEMANTIC_RELEASE_GITHUB_TOKEN || secrets.GITHUB_TOKEN(using the workflow'scontents: writepermission) and force-update the tag (git tag -f) before pushing.5. Fix JetBrains CI FFmpeg Setup & Release Matrix (
.github/actions/run-jetbrains-tests/action.yml,.github/workflows/jetbrains-release.yaml)AnimMouse/setup-ffmpeg@v1withversion: 7.1fails onubuntu-latestwhen uncached (xz: (stdin): File format not recognized/tar: Error is not recoverable: exiting now, exit code 2), blockingjetbrains-testsandrequire-all-checks-to-passon PRs.jetbrains-release.yamlreferenced the retiredmacos-12runner image, hardcodedv1.0.*-jetbrains, and passed an emptyrefonworkflow_dispatch.ffmpegviaapt-geton Ubuntu runners inrun-jetbrains-tests, updatemacos-12tomacos-15-intel, supportv*.*.*-jetbrainstags, and fall back togithub.ref_nameonworkflow_dispatch.6. Fix Issue Auto-Assignment Token Scope (
.github/workflows/auto-assign-issue.yaml)pozil/auto-assign-issue@v2failed on every new issue (HttpError: Resource not accessible by personal access token) because it usedsecrets.CI_GITHUB_TOKENinstead ofsecrets.GITHUB_TOKEN(which haspermissions: issues: writein the job).secrets.GITHUB_TOKEN.