[devrunner] Fix conflict resolution, SHA256 verification, exit codes, and release pipeline#12
Merged
Conversation
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>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.
Summary
check_conflictsnow returnsVec<DetectedRunner>soselect_runneroperates on the resolved list (not the original unresolved runners)select_runnerto pick by command supportCommandNotSupportedexits with code 2 (RUNNER_NOT_FOUND) instead of 1install.sh: checksum failure aborts instead of warning and continuingcargo publishstep to release job for stable tags (requiresCARGO_REGISTRY_TOKENsecret)Test plan
dr precommitpasses (242 tests, fmt, clippy, audit clean)test_dry_run_turbo,test_dry_run_nx,test_monorepo_priority_over_npm)CARGO_REGISTRY_TOKENto repo secrets before cutting v0.7.0 tag🤖 Generated with Claude Code