Skip to content

fix(ci): restore gates and artifacts dropped in #2979 - #3033

Merged
cidrblock merged 3 commits into
ansible:nextfrom
cidrblock:fix/ci-2979-regressions
Jul 17, 2026
Merged

fix(ci): restore gates and artifacts dropped in #2979#3033
cidrblock merged 3 commits into
ansible:nextfrom
cidrblock:fix/ci-2979-regressions

Conversation

@cidrblock

@cidrblock cidrblock commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Restore CI Node matrix to 22 / 24 / 26 (engines still allows >=22.18.0; chore: simplify gha workflow #2979 collapsed to 24-only without a compatibility reason)
  • Re-enable actionlint and skillmark in prek.toml (actionlint path updated to next.yml; skillmark scoped to .agents/skills + skills with --exclude .wdio-vscode/**)
  • Pin artifact actions to commit SHAs; stop using ansible/actions/upload-artifact@main
  • Restore stable vsix artifact name + npm tarball uploads (once on linux/node 24)
  • Fix package script to use pnpm run build instead of npm run build
  • Drop the bogus macos×ubuntu-latest duplicate matrix cells — tracked in ci: restore real macOS coverage for next workflow #3034
  • Skip WDIO UI on Node 26 only (UND_ERR_INVALID_ARG) — tracked in ci: restore WDIO UI coverage on Node 26 #3035; lint/unit/integration/package still run on 26

Keeps the monolithic test job from #2979 (job count intentionally unchanged).

Addresses post-merge review on #2979 / AAP-81317 fallout.

Test plan

  • pnpm run ci locally (pre-push)
  • pnpm exec prek run skillmark actionlint -a
  • CI shows test-linux-node22, test-linux-node24, test-linux-node26
  • test-linux-node26 green with UI skipped
  • PR artifacts include vsix, plugin, mcp-server, language-server, npm-tarballs
  • Adds an aggregator job to emit the required test-linux check while retaining version-specific matrix job names.
  • Restores Node 22/24/26 Linux CI gates/artifacts: re-enables actionlint + skillmark, pins actions, restores VSIX and npm tarball uploads.
  • Pins artifacts, updates the package script to pnpm run build, and skips WDIO UI tests on Node 26.

Related: #2979

Bring back Node 22/24/26 coverage, skillmark/actionlint hooks, named
VSIX/npm-tarball uploads, SHA-pinned artifact actions, and a pnpm-based
package script while keeping the consolidated test job.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Restores CI quality gates and artifact publishing that were removed or regressed in #2979, aligning the next workflow back with expected Node compatibility, linting coverage, and artifact outputs.

Changes:

  • Restores Node test matrix coverage (22/24/26) and improves job/artifact naming to include Node version.
  • Re-enables actionlint and skillmark in prek.toml, including scoping skillmark to repo-owned skill trees.
  • Pins artifact-related actions to commit SHAs and restores stable artifact uploads (vsix/plugin/mcp-server/language-server/npm tarballs), plus fixes the package script to use pnpm run build.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
prek.toml Re-enables and configures skillmark + actionlint prek hooks.
package.json Fixes package script to build via pnpm instead of npm.
CLAUDE.md Updates CI/CD documentation to reflect the next workflow behavior.
AGENTS.md Updates contributor prerequisites guidance for CI tooling.
.skillmark.toml Expands excludes and documents WDIO .wdio-vscode handling.
.github/workflows/next.yml Restores Node matrix (22/24/26), pins actions, and restores artifact gating/naming.
.github/actionlint.yaml Points actionlint ignores at next.yml (and keeps parallel-step ignores).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .skillmark.toml Outdated
Comment thread AGENTS.md Outdated
Comment thread CLAUDE.md Outdated
@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: a2851ad2-731c-4bb7-bbff-b1881e1cbf00

📥 Commits

Reviewing files that changed from the base of the PR and between 6bb8f75 and 5b838af.

📒 Files selected for processing (1)
  • .github/workflows/next.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • .github/workflows/next.yml

📝 Walkthrough

Walkthrough

The pull request enables Skillmark and Actionlint validation, expands repository exclusions and setup guidance, updates the CI matrix to Node 22/24/26 on Linux, pins workflow actions, and refines package artifact generation and documentation.

Changes

CI validation and packaging

Layer / File(s) Summary
Validation hooks and repository guidance
.skillmark.toml, prek.toml, .github/actionlint.yaml, AGENTS.md
Skillmark and Actionlint hooks are enabled, workflow exclusions are expanded, and prerequisite guidance is updated.
Linux Node matrix and coverage execution
.github/workflows/next.yml
The workflow runs on Node 22, 24, and 26, skips UI and selected coverage steps on Node 26, pins actions, and adds a Linux matrix success check.
Package artifacts and workflow documentation
.github/workflows/next.yml, package.json, CLAUDE.md
Packaging is restricted to Linux Node 24, npm tarballs are uploaded, the package script uses pnpm run build, and CI documentation reflects the matrix.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Suggested reviewers: sudhirverma

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main CI restoration work and references the dropped gates and artifacts.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@AGENTS.md`:
- Around line 97-104: Update the “tools beyond the workspace node_modules
install” section in AGENTS.md to list only uv as an external prerequisite. Keep
the existing pnpm exec prek availability guidance, but remove prek from the
external-install requirement and clarify that contributors must install uv
locally before running pnpm run ci or pnpm run lint.

In `@prek.toml`:
- Around line 22-30: Update the skillmark hook configuration in prek.toml to
pass the CLI --exclude option for .wdio-vscode, while retaining the existing
.skillmark.toml config and skill directory arguments. Ensure auto-discovered
skills under .wdio-vscode are excluded from the lint invocation.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 8870dd56-1052-4f22-95c8-7a3de4d66e0f

📥 Commits

Reviewing files that changed from the base of the PR and between 4928d74 and 1ffb998.

📒 Files selected for processing (7)
  • .github/actionlint.yaml
  • .github/workflows/next.yml
  • .skillmark.toml
  • AGENTS.md
  • CLAUDE.md
  • package.json
  • prek.toml

Comment thread AGENTS.md Outdated
Comment thread prek.toml
Clarify docs, add skillmark --exclude, and skip WDIO UI on Node 26
where Chromedriver session create fails (tracked in ansible#3035).
@codecov

codecov Bot commented Jul 17, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.49%. Comparing base (4928d74) to head (5b838af).

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

coderabbitai[bot]
coderabbitai Bot previously approved these changes Jul 17, 2026
@github-project-automation github-project-automation Bot moved this from In Progress to Review in 🧰 devtools project board Jul 17, 2026
Matrix jobs report as test-linux-nodeNN; add a thin aggregator so the
branch ruleset required context `test-linux` can complete.
@cidrblock

Copy link
Copy Markdown
Contributor Author

The next branch ruleset still requires a check named exactly `test-linux`. Renaming the matrix jobs to `test-linux-node22/24/26` meant that required check never ran (merge stayed BLOCKED).

Pushed an aggregator job named `test-linux` that succeeds only when all matrix cells succeed.

@cidrblock
cidrblock merged commit 3d61f8f into ansible:next Jul 17, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants