Skip to content

[devrunner] Add dr alias, fix lib crate, patch security vulns, auto-configure AI agents#10

Merged
princepal9120 merged 2 commits into
mainfrom
feat/dr-alias-security-fixes
May 18, 2026
Merged

[devrunner] Add dr alias, fix lib crate, patch security vulns, auto-configure AI agents#10
princepal9120 merged 2 commits into
mainfrom
feat/dr-alias-security-fixes

Conversation

@princepal9120

Copy link
Copy Markdown
Owner

Summary

  • dr short alias: Both devrunner and dr are now real compiled binaries. dr --help shows "dr", dr completions bash generates correct completions for the dr name. Binary name is detected at runtime from argv[0].
  • Fix broken build: Added [lib] name = "run_cli" to Cargo.toml — the project rename from run-clidevrunner-cli left the library crate name wrong, breaking all local builds. CI was likely relying on cache.
  • Security: Removed hickory-resolver 0.25 (RUSTSEC-2026-0118 unfixable, 0119 needs 0.26+). cargo update fixes quinn-proto, rustls-webpki, rustls. Audit now clean (exit 0).
  • Install scripts: install.sh creates dr symlink; install.ps1 copies dr.exe. Both auto-configure Claude Code (~/.claude/CLAUDE.md), OpenCode, and Codex on install.
  • CI: Fixed devrunner:run: keys in ci.yml (GitHub Actions syntax bug). Added dr completions generation in release step.

Test plan

  • cargo build produces both devrunner and dr binaries
  • ./target/debug/dr --help shows "dr" in usage line
  • ./target/debug/dr completions bash outputs bash completions with "dr" as the command name
  • cargo audit exits 0
  • make precommit passes (fmt, clippy, tests, audit)
  • CI lint/test/security jobs pass on this branch

🤖 Generated with Claude Code

princepal9120 and others added 2 commits May 18, 2026 04:34
…pdate

- Remove hickory-resolver 0.25 (RUSTSEC-2026-0118 unfixable, 0119 needs 0.26.1+)
- Simplify http.rs to use plain reqwest::Client::builder() — Termux workaround
  was unnecessary complexity
- cargo update fixes: quinn-proto 0.11.14, rustls-webpki 0.103.13,
  rustls 0.23.40 (RUSTSEC-2026-0037, 0099 resolved)

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

vercel Bot commented May 17, 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 17, 2026 11:05pm

@princepal9120 princepal9120 enabled auto-merge (squash) May 18, 2026 17:00
@princepal9120 princepal9120 requested a review from Copilot May 18, 2026 17:00
@princepal9120 princepal9120 merged commit 6631907 into main May 18, 2026
10 checks passed
@princepal9120 princepal9120 deleted the feat/dr-alias-security-fixes branch May 18, 2026 17:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to add a dr short-alias binary, fix the library crate name after the project rename, patch security advisories (RUSTSEC) by removing hickory-resolver 0.25 and refreshing the lockfile, and brand the install scripts. Only the install-script banner edits, the hickory-resolver removal in Cargo.toml, the deletion of the custom DNS resolver in src/http.rs, and a sweeping Cargo.lock regeneration are visible in the supplied diff hunks; the [lib] name = "run_cli", [[bin]] dr, install-script symlink/copy, and AI-agent config changes mentioned in the description live outside the diff hunks but exist in the working tree.

Changes:

  • Strip the HickoryDnsResolver Termux-DNS workaround and its hickory-resolver dep, reducing http::create_client_builder() to a trivial wrapper.
  • Refresh Cargo.lock with many minor/patch bumps plus larger jumps (anstream/anstyle-parse → 1.0, clap_lex → 1.1, new zmij dep under serde_json), addressing quinn-proto, rustls, rustls-webpki advisories.
  • Replace the plain ASCII title in install.sh and install.ps1 with a colored block-letter "DEVRUNNER" banner.

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/http.rs Removes HickoryDnsResolver and its tests; reduces create_client_builder to bare reqwest::Client::builder(); license header removed.
Cargo.toml Drops the hickory-resolver = "0.25" dependency.
Cargo.lock Large dependency refresh; notably swaps serde_json's transitive ryu for an unfamiliar zmij crate and removes hickory/moka/ipconfig/winreg trees.
install.sh Adds colored ASCII-art banner and refreshes the success message styling.
install.ps1 Adds equivalent colored ASCII-art banner for the PowerShell installer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/http.rs
///
/// This ensures compatibility with environments like Termux where
/// system DNS resolution may be unreliable.
/// Create a reqwest ClientBuilder.
Comment thread src/http.rs
///
/// This ensures compatibility with environments like Termux where
/// system DNS resolution may be unreliable.
/// Create a reqwest ClientBuilder.
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.

2 participants