Skip to content

fix: repair CI#17

Merged
cooper (czxtm) merged 7 commits intomainfrom
claude/complete-beads-tasks-OyDY7
May 9, 2026
Merged

fix: repair CI#17
cooper (czxtm) merged 7 commits intomainfrom
claude/complete-beads-tasks-OyDY7

Conversation

@czxtm
Copy link
Copy Markdown
Contributor

@czxtm cooper (czxtm) commented May 9, 2026

Summary

  • install protobuf/VHS runtime dependencies in CI and pin VHS installation
  • fix current stable clippy findings
  • route TUI '?' help before search text input so VHS tapes render
  • disable Hercules push jobs; Hercules evaluation and GitHub Actions now cover this PR

Verification

  • nix develop -c cargo fmt --all -- --check
  • nix develop -c cargo clippy --workspace --all-targets -- -D warnings
  • nix develop -c cargo test --workspace
  • nix flake check --all-systems
  • PR checks are green: Rust CI Ubuntu/macOS, VHS Demo Tapes, Hercules evaluation

Copilot AI review requested due to automatic review settings May 9, 2026 15:17
Copy link
Copy Markdown

Copilot AI left a comment

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 primarily targets Rust stable clippy compliance in the TUI by refactoring a couple of key-handling/sorting paths, and also introduces a small router-level keybinding behavior change plus a Nix flake CI metadata update.

Changes:

  • Refactor init-wizard provider navigation match arms using match guards.
  • Adjust env DSL autocomplete scoring sort to satisfy clippy (descending by score via Reverse).
  • Route single-key Help keybindings at the App level and add a regression test; add herculesCI output to flake.nix.

Reviewed changes

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

Show a summary per file
File Description
rust/src/tui/views/init_wizard.rs Collapses guarded up/down navigation logic into match guards.
rust/src/tui/views/envs_dsl_editor.rs Changes autocomplete score sorting to a clippy-friendly descending sort.
rust/src/tui/harness.rs Adds a regression test ensuring ? opens search help instead of being treated as input.
rust/src/tui/app.rs Adds an App-level intercept so KeyAction::Help single-key bindings open the modal help overlay.
flake.nix Adds herculesCI.ciSystems to flake outputs.

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

Comment thread rust/src/tui/app.rs
Comment on lines +156 to +162
if self
.keymap
.action_for_key_in(&key, &[KeyAction::Help])
.is_some()
{
return self.run_keymap_action(KeyAction::Help);
}
Comment thread flake.nix Outdated
Comment on lines +145 to +150
)
// {
herculesCI = {
ciSystems = [ "x86_64-linux" ];
onPush.default.outputs = {
inherit (self.checks.x86_64-linux) himitsu himitsu-smoke;
Copilot AI review requested due to automatic review settings May 9, 2026 15:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.

@czxtm cooper (czxtm) changed the title fix: satisfy current stable clippy fix: repair CI May 9, 2026
@czxtm cooper (czxtm) merged commit 20525d6 into main May 9, 2026
4 checks passed
@czxtm cooper (czxtm) deleted the claude/complete-beads-tasks-OyDY7 branch May 9, 2026 23:46
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