Skip to content

ci: run the Go job for every path under packaging/ - #2440

Merged
HuiJun merged 1 commit into
developfrom
ci/packaging-paths-run-go
Nov 21, 2026
Merged

HuiJun merged 1 commit into
developfrom
ci/packaging-paths-run-go

Conversation

@HuiJun

@HuiJun HuiJun commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

What and why

Part of #2452.

scripts/ci-changed-areas.sh lists all of packaging/ as known, but only packaging/man/, packaging/npm/, packaging/pypi-pysysml/ and the agent skills were claimed by an area. A pull request that changed only another subtree (packaging/msi/ and its z3.pin, packaging/homebrew/, packaging/mcp/server.json, packaging/conda/, packaging/scoop/, packaging/winget/, packaging/msys2/, packaging/windows/) was neither claimed nor escalated to the full tier, so every job was skipped and the pull request passed with nothing run. The Go suite is what checks those files (tests/hygiene, cmd/*/man_test.go).

The packaging/man/ rule that already ran the Go area is widened to the whole tree (packaging_pattern), and the known-path list reuses the same pattern, so a packaging path can no longer be known without running a job. Areas that already claimed a subtree (docs, Python, Node) still run as before, with the Go area added.

Effect on CI usage: a packaging-only pull request now runs the Go job at the quick tier where it previously ran nothing. No job or step is added.

How it was verified

  • scripts/ci-changed-areas-test.sh: new cases for each packaging subtree, a not-yet-existing subtree, and the quick and queue tiers; all cases pass.
  • TestEveryPackagingSubtreeRunsTheGoArea in tests/hygiene walks every file under packaging/ and requires the quick tier with the Go area on. Against the script on develop it reports 35 files with go=false; with the change it passes.
  • go test -count=1 ./tests/hygiene, go vet ./tests/hygiene, gofmt -l ., scripts/check-doc-ids.py, scripts/changelog.py check pass. The full make test and make lint were not run locally; the change touches only the area script, its tests and a changelog fragment.

Checklist

  • make test and make lint pass locally
  • Tests added or updated for the change
  • Documentation extended where it already covers the surface (see CONTRIBUTING.md)
  • Changelog entry added as changes/unreleased/<slug>.<section>.md, not as an edit to CHANGELOG.md
  • baselines regenerated and make docs-counts run if a gate count moved (compliance rows need nothing: the census is counted at docs build)
  • No internal work-item labels (waves, slices, F4, K5) in the body, docs, or changelog

Quality Assurance opened this PR for Jason
Implemented in session Fix OpenSysML CI, release and supply chain findings
Review with Devin · Open in Devin Desktop


Co-Authored-By: jason.han <hanhuijun@gmail.com>
@devin-ai-integration

Copy link
Copy Markdown
Contributor

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@HuiJun
HuiJun added this pull request to the merge queue Nov 21, 2026
Merged via the queue into develop with commit 5f6308a Nov 21, 2026
109 of 128 checks passed
@HuiJun
HuiJun deleted the ci/packaging-paths-run-go branch November 21, 2026 16:58
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