Skip to content

ci: remove redundant workshop dependency and build identity checks - #405

Merged
Teakowa merged 3 commits into
mainfrom
claude/zealous-pascal-gx07b4
Sep 24, 2026
Merged

Teakowa merged 3 commits into
mainfrom
claude/zealous-pascal-gx07b4

Conversation

@Teakowa

@Teakowa Teakowa commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Summary

This is the first step toward CI steps that are only uses: actions and single commands. It removes two script-backed checks that no longer guard anything real. It adds no replacement code (+3 / −272).

  • workshop-rs dependency contract (check-workshop-dependency.py plus its unittest, and the Check Workshop dependency step): removed.
    • workshop-rs is pinned once in [workspace.dependencies], by exact rev.
    • Every consumer inherits it with workspace = true.
    • cargo tree -i workshop-rs shows no transitive path that could pull in a second copy.
    • CI resolves with --locked.
  • dist build identity (write-build-identity.py / verify-build-identity.py and the wright-dist.build.json artifact): removed.
    • Artifacts are already scoped to the workflow run.
    • dist-validation now only runs chmod +x on the binaries, on non-Windows runners.

Earlier commits on this branch tried porting these checks to bash and then to a Rust test. Both were dropped, and the final diff is deletions only. Release-side identity files (dist/wright-*.build.json in release.yml) are unchanged.

Follow-ups (separate PRs, pending decisions)

  • release.yml: replace the inline version bump, packaging, checksum and channel publishing with existing actions (release-please, upload-rust-binary-action, Homebrew/WinGet publishers).
  • dist-validation: consider generating dist/ manifests only at release time (this removes verify-dist.py), and moving channel install tests to post-release smoke checks.
  • Inline scripts/test-lpp-integration.sh, which is three cargo test lines, into the workflow YAML.

Validation

  • The workflow YAML parses and git diff --check is clean.
  • No remaining references to the removed scripts or wright-dist.build.json in ci.yml or the docs.
  • Cross-platform dist jobs are covered by this PR's CI.

🤖 Generated with Claude Code

https://claude.ai/code/session_0178vQfKDP4QsRd2Kykm3FZ4

First phase of removing Python from CI. Port the workshop-rs dependency
contract check (and its matcher unit test), the dist build-identity writer,
and the build-identity verifier to bash + jq, which GitHub-hosted runners
provide on every OS. Behavior and output match the Python originals;
consumer lists in error messages are now sorted.

The dist/release scripts still use Python and move in a later phase.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178vQfKDP4QsRd2Kykm3FZ4
Keep CI steps free of bash/Python helper scripts where possible:

- Move the workshop-rs dependency contract check into a Rust integration
  test in wright-analyzer (a direct workshop-rs consumer), so it runs in
  the existing stable and MSRV `cargo test` gates instead of a dedicated
  CI step.
- Remove the dist build-identity writer/verifier. Artifacts are already
  scoped to the workflow run; dist-validation now only restores the
  executable bit on non-Windows runners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178vQfKDP4QsRd2Kykm3FZ4
@Teakowa Teakowa changed the title ci: replace simple Python CI helpers with bash + jq ci: drop script steps for workshop dependency and build identity Sep 24, 2026

Teakowa commented Sep 24, 2026

Copy link
Copy Markdown
Contributor Author

Dist validation (Scoop, windows-latest) failed on the superseded head 8b0a38c (job log). The native post-install smoke test's wright compile could not reach https://releases.wrightkit.dev/opy-rs/latest/version (error sending request) while fetching the OPY provider.

This doesn't look like a failure caused by this PR:

  • The diff doesn't touch provider download, the Scoop channel, or the smoke test.
  • The build-identity step before it passed on that run.
  • main is green on its latest CI runs.

No fix exists or is needed in this PR. CI for the current head 0692878 is already running and includes this job again. If it fails again with the same network error, it's a real problem with the release source or runner network, and I'll report it here.


Generated by Claude Code

workshop-rs is pinned once in [workspace.dependencies], every consumer
inherits it with `workspace = true`, no other dependency pulls in
workshop-rs, and CI resolves with --locked. The separate contract check
no longer guards anything those already guarantee, so remove it instead
of porting it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0178vQfKDP4QsRd2Kykm3FZ4
@Teakowa Teakowa changed the title ci: drop script steps for workshop dependency and build identity ci: remove redundant workshop dependency and build identity checks Sep 24, 2026
@Teakowa
Teakowa marked this pull request as ready for review September 24, 2026 07:00
@Teakowa
Teakowa merged commit 9d31d1b into main Sep 24, 2026
22 checks passed
@Teakowa
Teakowa deleted the claude/zealous-pascal-gx07b4 branch September 24, 2026 07:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

2 participants