Skip to content

CI: add release branch testing and documentation workflows#321

Merged
aviatesk merged 5 commits intomasterfrom
avi/release-CI
Nov 25, 2025
Merged

CI: add release branch testing and documentation workflows#321
aviatesk merged 5 commits intomasterfrom
avi/release-CI

Conversation

@aviatesk
Copy link
Owner

Add comprehensive CI support for the release branch:

  • Add vendor-deps.jl.yml: Tests vendored environment by running vendor-deps.jl on the current branch and executing tests
  • Add release.yml: Runs tests and deploys documentation for the release branch (documentation available at /release/ URL)
  • Update existing workflows to use branches-ignore for release branch PRs, ensuring only release.yml runs for release-targeted PRs
  • Update docs/make.jl to support DOCUMENTER_DEVBRANCH environment variable for configurable devbranch and devurl

Written by Claude

@codecov
Copy link

codecov bot commented Nov 25, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.99%. Comparing base (5b76987) to head (65358d1).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #321   +/-   ##
=======================================
  Coverage   62.99%   62.99%           
=======================================
  Files          52       52           
  Lines        4402     4402           
=======================================
  Hits         2773     2773           
  Misses       1629     1629           
Flag Coverage Δ
JETLS.jl 66.39% <ø> (ø)
LSP.jl 25.94% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Add comprehensive CI support for the release branch:

- Add vendor-deps.jl.yml: Tests vendored environment by running
  vendor-deps.jl on the current branch and executing tests
- Add release.yml: Runs tests and deploys documentation for the
  release branch (documentation available at /release/ URL)
- Update existing workflows to use branches-ignore for release branch
  PRs, ensuring only release.yml runs for release-targeted PRs
- Update docs/make.jl to support DOCUMENTER_DEVBRANCH environment
  variable for configurable devbranch and devurl

Written by Claude
The vendor-deps.jl script uses `git show branch:file` to fetch
Project.toml, which requires the branch to exist locally. In CI with
shallow clone, we need to fetch the branch first and use the
`origin/` prefix.
Without this flag, `Pkg.update()` was updating the global environment
instead of the JETLS project, causing JETLS to not be found.
Add --local flag to use local path references in [sources] instead of
GitHub URL+rev. This allows testing the vendored environment in CI and
local development where the vendor/ directory is generated but not
committed to the repository.

- Without --local: uses url+subdir+rev (for release branch commits)
- With --local: uses path (for CI testing and local development)

Written by Claude
After vendoring, the Manifest.toml contains UUIDs from before the
rewrite, causing Pkg operations to fail with "could not find manifest
entry for package with uuid". Fix by cleaning manifest files and
running Pkg.instantiate() after vendoring completes.

Written by Claude
@aviatesk aviatesk merged commit cc1aa43 into master Nov 25, 2025
14 of 15 checks passed
@aviatesk aviatesk deleted the avi/release-CI branch November 25, 2025 13:32
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