Repository navigation
Backlog
Labels
enhancementNew feature or request
Description
Problem
Several GitHub Actions versions, workflow hardening settings, release concurrency rules, and documentation build settings are outdated or inconsistent across .github/workflows/:
- Outdated / deprecated GitHub Actions:
actions/checkout@v4is used inci.yml,packages.yml, anddocs.yml, emittingNode.js 20 is deprecatedwarnings on every run.ci.yml:102still usesactions/upload-artifact@v4, whilepackages.ymlanddocs.ymlwere bumped to@v7.packages.yml:261usesactions/download-artifact@v4, andci.yml:163/packages.yml:170useilammy/msvc-dev-cmd@v1.
- Incomplete workflow hardening:
persist-credentials: falseis set onpackage-script,build_windows_native, andpackages.yml, but missing onci.yml(build,build_almalinux,cross_compile) anddocs.yml.- Only
build_windows_nativespecifiestimeout-minutes; all other jobs rely on the 6-hour default.
- Release workflow concurrency and trigger overlap (
packages.yml):packages.ymltriggers on bothpush.tags: ['v*'](builds all 5 targets without publishing) andworkflow_dispatch(used withpublish_release: trueto publish), while sharingconcurrency: group: packages-${{ github.ref }}, cancel-in-progress: true.- Dispatching
publish_release=trueon a freshly pushed tag cancels the in-flight tag run and rebuilds all 5 targets, andcancel-in-progress: truerisks cancelling an in-progress release publish if re-dispatched.
- Docs build strictness (
Doxyfile,docs/requirements.txt,docs.yml):DoxyfilesetsWARNINGS = YESwithoutWARN_AS_ERROR = YES, so broken Doxygen comments ininclude/lancedb.hdo not fail CI.docs/requirements.txtuses unbounded>=specs (sphinx>=5.0,sphinx-rtd-theme>=1.2.0,breathe>=4.35.0), risking sudden breakage from upstream major releases.docs.yml:51invokesmake docsdirectly instead ofcmake --build build --target docs.
Proposed Solution
- Upgrade
actions/checkout(moving off Node 20), alignactions/upload-artifactto@v7inci.yml, and review/updateactions/download-artifactandilammy/msvc-dev-cmd. - Add
persist-credentials: falseto all read-onlyactions/checkoutsteps and set explicittimeout-minuteson every job acrossci.yml,packages.yml, anddocs.yml. - Set
cancel-in-progress: falsefor release/tag publishing inpackages.ymland clarify/deduplicate the tag-push vs.workflow_dispatchtrigger behavior. - Enable
WARN_AS_ERROR = YESinDoxyfile(and-Wfor Sphinx once existing warnings are clean), add upper bounds or pinned versions todocs/requirements.txt, and usecmake --build build --target docsindocs.yml.
Acceptance Criteria
- No
Node.js 20 is deprecatedwarnings appear in CI runs, and artifact/MSVC action versions are consistent and up to date. - All read-only checkouts set
persist-credentials: false, and all workflow jobs definetimeout-minutes. -
packages.ymldoes not cancel in-progress release publish runs (cancel-in-progress: false) and avoids redundant tag-push + dispatch builds. - Doxygen warnings fail the docs CI job and
docs/requirements.txtpins bounded versions.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or request
Activity
Xuanwo commentedon Nov 25, 2026
I will handle release concurrency and workflow updates after the current preview publish completes. Documentation checks can be tightened separately once the existing warnings are fixed.