Skip to content

[devrunner] Fix conflict resolution, SHA256 verification, exit codes, and release pipeline#12

Merged
princepal9120 merged 7 commits into
mainfrom
release/fixes
May 24, 2026
Merged

[devrunner] Fix conflict resolution, SHA256 verification, exit codes, and release pipeline#12
princepal9120 merged 7 commits into
mainfrom
release/fixes

Conversation

@princepal9120

@princepal9120 princepal9120 commented May 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • check_conflicts now returns Vec<DetectedRunner> so select_runner operates on the resolved list (not the original unresolved runners)
  • Monorepo tools (nx/turbo/lerna, priority 0) win unconditionally in Node.js conflict resolution — bypasses installed-tool check
  • Non-Node ecosystem conflicts emit a warning but keep all runners for select_runner to pick by command support
  • CommandNotSupported exits with code 2 (RUNNER_NOT_FOUND) instead of 1
  • Update pipeline: SHA256 checksum verification before applying binary
  • Update pipeline: secure tempfile (same directory) for atomic binary replacement
  • install.sh: checksum failure aborts instead of warning and continuing
  • CI: adds cargo publish step to release job for stable tags (requires CARGO_REGISTRY_TOKEN secret)

Test plan

  • dr precommit passes (242 tests, fmt, clippy, audit clean)
  • Monorepo integration tests pass (test_dry_run_turbo, test_dry_run_nx, test_monorepo_priority_over_npm)
  • Corepack conflict resolution test passes
  • Add CARGO_REGISTRY_TOKEN to repo secrets before cutting v0.7.0 tag

🤖 Generated with Claude Code

princepal9120 and others added 5 commits May 18, 2026 22:41
Adds SKILL.md so agents can install devrunner via `npx skills add princepal9120/devrunner`. Updates README with npx skills install instructions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
A global rename replaced every "run" string literal with "devrunner",
breaking command generation for all non-builtin scripts across every
ecosystem (npm, yarn, pnpm, bun, poetry, uv, pipenv, rye, composer,
go, swift, turbo, lerna) and their builtins lists and test assertions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix --dry-devrunner → --dry-run as primary flag (with alias for compat)
- Fix config.max_levels dead code: now consulted when --levels not passed
- Fix install.sh: abort on checksum failure instead of continuing
- Fix runner.rs: verbose flag was inverted on conflict warning
- Fix all bad find-replace comments across source files (dry devrunner,
  devrunner module, devrunner all detectors, etc.)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- check_conflicts now returns Vec<DetectedRunner> so select_runner uses
  resolved list instead of the original unresolved runners
- Monorepo tools (nx/turbo/lerna, priority 0) bypass installed-tool check
  and win unconditionally in NodeJs conflict resolution
- Non-Node ecosystem conflicts emit warning but keep all runners for
  select_runner to pick by command support
- CommandNotSupported now exits with code 2 (RUNNER_NOT_FOUND) not 1
- Update pipeline: SHA256 checksum verification before applying binary
- Update pipeline: secure tempfile (same dir) for atomic replacement
- install.sh: checksum failure now aborts instead of warning and continuing

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds cargo publish step to the release job, triggered only for non-prerelease
tags (no hyphen in ref). Requires CARGO_REGISTRY_TOKEN secret in repo settings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented May 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
devrunner-cli Ready Ready Preview, Comment May 24, 2026 9:06pm

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@princepal9120 princepal9120 merged commit ce3e544 into main May 24, 2026
9 checks passed
@princepal9120 princepal9120 deleted the release/fixes branch May 24, 2026 21:14
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