Repository navigation
ci: add shared build, lint, verify and smoke workflows for Python, Java and Node - #386
Merged
Merged
Conversation
…lint (spike for #385) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
#385) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
…(spike for #385)" This reverts commit 9e11cba. Signed-off-by: Jimisola <[email protected]>
…spike for #385) Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
The artifact download in these workflows follows a checkout of the caller's ref; the default checkout (empty ref input) is the same commit without naming github.ref explicitly. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
A relative path is read by Poetry as a package name. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
Plugin e2e tests install the built wheel/sdist from dist/. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
Both only need the caller's own commit. Removing the input leaves a plain default checkout; nothing downstream consumes a caller-supplied ref (no pull_request_target/workflow_run caller exists, token is contents: read, no secrets are passed). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
Java build workflows get a test matrix (java-versions), a build job on java-version, post-test-command, and a <name>-build artifact for the reqstool verify job. Adds java-smoke.yml and a build-tool input on java-lint. common-reqstool-verify gets build-directory (target for Maven). Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
Add node-versions test matrix, post-test-command and a -build artifact to typescript-build; working-directory to typescript-lint; and a generic typescript-smoke for Windows/macOS. Existing inputs keep their behavior. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
Drop the python <=3.13 cap and replace java <=21 with an LTS allow-list; only even Node majors are accepted. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM Signed-off-by: Jimisola <[email protected]>
jimisola
force-pushed
the
ci/385-shared-python-build
branch
2 times, most recently
from
November 23, 2026 07:23
9a5cc5e to
0ea8516
Compare
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.
Requested by Jimisola · project thread
Description
Part of #385. Brings the shared workflows up to what the repos run inline, with one place defining versions, the test matrix and the Windows/macOS smoke. Same shape for every language: jobs
lint,build(atest (<ver>)matrix, then build),reqstool,smoke,validate-openspecand an aggregateci.Python (
python-build-hatch,python-build-poetry,python-lint,python-smoke):python-versionsmatrix 3.13/3.14/3.15, build/coverage on the latest release, pinned hatch/Poetry,post-test-command, wheel smoke on Windows/macOS.Java (
java-build-maven,java-build-gradle,java-lint, newjava-smoke):java-versions/java-versionon the latest LTS (25),post-test-command,build-toolfor lint. The callers compile to the same Java 25 (breaking for consumers: Java 25+ needed).Node (
typescript-build,typescript-lint, newtypescript-smoke):node-versions/node-versionon the latest LTS (26),post-test-command; existing inputs unchanged. tsc stays a per-repo devDependency.Shared:
common-reqstool-verify.yml(pypi/main matrix,build-directoryinput),install-reqstoolon Python 3.15, Renovate preset: nopythoncap, Java LTS allow-list (21/25/29), Node even majors only (validated withrenovate-config-validator).Callers: python-decorators#113, python-hatch-plugin#125, python-poetry-plugin#172, client#507, java-annotations#215, java-maven-plugin#227, java-gradle-plugin#110, typescript-tags#216, vscode#186 (all draft, all green on Linux, Windows and macOS). safe-settings: #389 (draft; requires
ci).Fixes #385 (workflows). Drift guard, the grouped Renovate "tool versions" rule and a
.githubself-test on Windows/macOS are follow-ups.Test plan
Every migrated repo runs these workflows end to end, including smoke on windows-latest and macos-latest. The Windows runs found real bugs, fixed in the repos (path separators, line endings, encoding,
spawnSync('npm')). The unpinned-ref CodeQL alerts on the caller PRs clear once callers pin to the release SHA after this merges.Notes for the merge
Checklist
git commit -s).—
Written by @jimisola together with Claude. I've reviewed this reply and the fix myself before posting.
🤖 Generated with Claude Code
https://claude.ai/code/session_01Mt2FAXPoMhrbjtWKhBTwZM