Skip to content

v1.0.5

Choose a tag to compare

@github-actions github-actions released this 24 Nov 16:31
· 3 commits to main since this release

Repotruck 1.0.5

Repotruck 1.0.5 adds a shared About experience and an authenticated Give star action, and strengthens repository safety, interrupted-operation recovery, terminal interactions, process cleanup, and cross-platform packaging. The release also expands behavior-based validation across the CLI, TUI, MCP server, and website.

About and GitHub stars

  • Open About in the terminal dashboard, or run repotruck about / repotruck --about, to see a short application description and the project GitHub link.
  • Use Give star by mouse or s / Enter with your existing github.com session. The action checks whether you have already starred the repository and is hidden when a star is already present.
  • Submissions are explicit, guarded against duplicates, and verified with GitHub afterward. Leaving the relevant workspace/session cancels pending checks and retry delays.
  • Authentication, Starring permission, network, and rate-limit failures produce actionable messages. GitHub Enterprise sessions are kept separate from the public github.com star endpoint.

Safer repository changes and recovery

  • Filesystem operations validate inventory paths and refuse traversal, symlinked path components, and locations outside the workspace.
  • Clones are staged before final placement, with collision and failure handling that preserves existing checkouts.
  • Move undo restores the original inventory path and aliases still bound to that move. Later alias edits are retained, and a stale undo cannot overwrite a subsequently changed repository path.
  • Reorganization resume uses recorded directory identity for pending moves and honors durable completed-move records, including completed cross-device copies.
  • An unrelated or ambiguous destination is reported as a collision. Recovery journals remain available instead of silently accepting the wrong directory or discarding recovery evidence.
  • Workspace lock recovery rechecks ownership under an exclusive recovery claim. Backup naming and retention are serialized, and critical atomic writes sync and close their temporary files before replacement.

More reliable terminal workflows

  • Background operations are scoped to the workspace and session that started them, preventing stale initialization, authentication, search, and maintenance results from replacing newer state.
  • Input focus, entered text, repository selection, and navigation survive compact layouts and terminal resizing.
  • Page editors, modal inputs, help, navigation, and the command palette have clearer keyboard interaction boundaries.
  • Terminal clipping accounts for grapheme clusters and display-cell widths, including wide and combining characters.
  • Real PTY acceptance checks cover two child exit/resume cycles followed by move undo, with physical directory, persisted inventory, and alias verification. Isolated VS Code and Cursor smoke coverage exercises the production launcher against paths containing spaces.

Process execution, MCP, and search

  • Windows command execution resolves executable extensions before quoting, including .cmd / .bat shims and extensionless commands.
  • Captured output preserves UTF-8 decoding and stays within its buffer limit. Process completion waits for stdio closure rather than only an exit notification.
  • MCP shutdown closes owned process trees and incomplete HTTP sockets with bounded cleanup. On Windows, cleanup waits for taskkill and tracked child closure before reporting success.
  • MCP HTTP binding rejects empty tokens, requires a token outside localhost, and limits request bodies to 1 MiB.
  • Regex search runs in a worker with a 1,000 ms execution limit, so pathological patterns cannot monopolize the TUI/MCP event loop. Invalid patterns and execution limits are reported explicitly.

GitHub requests and authentication

  • Retry handling reads rate-limit headers from real Octokit responses, supports Retry-After values and reset times, and respects configured retry limits.
  • Recognized transient transport failures wrapped by Octokit can be retried; ordinary permission failures and response-backed HTTP failures are not misclassified as network resets.
  • About star checks and explicit star submissions use those retry settings, with abort-aware waits and sanitized final errors.
  • Device-login cancellation and workspace/session changes prevent obsolete authentication results from being written back.

Packaging, website, and CI

  • Clean package installation resolves tarball and smoke-script paths from the invocation directory. Temporary workspace roots use canonical paths to handle macOS /var aliases and Windows path spellings consistently.
  • Installed-package checks exercise the CLI, six bundled offline grammars, regex search, and the MCP server from a clean installation.
  • Pages explicitly includes public .well-known discovery assets with the updated upload action. Open Graph validation binds source and rendered bytes with hashes instead of relying on modification times.
  • Five GitHub Actions are updated to pinned releases across CI, Pages, and publishing workflows.
  • Acceptance tests drive real keyboard/mouse events and verify persisted state or fixture filesystem results. Pending writers are drained before fixture cleanup; cache persistence is observed after the completed atomic replacement.
  • CI enforces 80% TUI function coverage, 85% aggregate line coverage, and 75% aggregate function coverage, with source inventory retained. It also runs seeded repeats and selected mutation checks.

Runtime compatibility and upgrade

  • Headless commands continue to support Node.js 20 or newer.
  • The interactive dashboard requires Bun 1.3.14 or newer, or Node.js 26.4 or newer with --experimental-ffi.
  • This patch does not introduce a workspace configuration format migration. Existing version-1 reorganization journals remain supported; ambiguous pending recovery is deliberately refused rather than guessed.
npm install --global repotruck@1.0.5
repotruck --version
repotruck --about

Release validation

  • The main CI run passed 10/10 jobs. The tag release workflow passed 11/11 jobs, including the full reusable CI matrix and npm/GitHub publishing, for commit 94bddd1.
  • Linux, macOS, and Windows each reported 1,216 passed, 5 skipped, and 0 failed tests in the tag CI run. Platform-specific and opt-in cases remain explicitly reported as skipped.
  • Tag CI TUI function coverage was 82.46% on Linux, 82.28% on macOS, and 82.22% on Windows. Aggregate function coverage was 88.27%, 88.14%, and 88.28% respectively; aggregate line coverage was 95.12%, 95.15%, and 95.23%. Every coverage gate passed, with no unexpected React test warnings.
  • Dedicated jobs also passed for headless Node.js 20.0.0, 22.0.0, and 24.0.0, and for the minimum interactive runtimes Bun 1.3.14 and Node.js 26.4.0 with FFI.
  • A separate clean installation of the published repotruck@1.0.5 from the public npm registry passed on Node.js 26.13.1 / Linux: CLI version, both About forms, workspace/status lookup, six offline grammars, regex search, and an MCP handshake listing 25 tools. The npm registry reports latest: 1.0.5 and advertises the publication's provenance attestation.

Full changelog: v1.0.4…v1.0.5