Skip to content

Follow-ups from the #119 review rounds (test isolation, script edges) #121

Backlog

Description

@doublegate

Non-blocking suggestions from the last Antigravity round on #119 (04:48 UTC, 575564c), filed per the merge-on-green rule. None is a regression.

  • stale_test_roots_of_exited_processes_are_removed_and_nothing_else (crates/icx-cli/src/main.rs): the "live" case uses the shared /tmp/icx_cli_test_roots_1; two concurrent runs can race on it. Extract remove_stale_test_roots_in(dir) and run the test in its own temp directory.
  • inside_work_tree doc comment: a worktree or submodule nested inside another repository counts as inside (warning shown). Either say so or short-circuit on has_git_repository(dir).
  • scripts/measure_fts_index.py: check --out with lstat and ownership, handle a broken symlink, and validate and create it in one place right before writing; say in --out help that indexes are still deleted without --keep.
  • scripts/redactor-differential.sh: resolve a relative BASE_TARGET_DIR to an absolute path before cd into the worktree; check that --cases exists before building; usage() should start at the description line.
  • Nitpick: project_root reads a linked worktree's .git and commondir twice per call (in dot_git and worktree_main_root); return the resolved gitdir from dot_git.

Declined in the PR with reasons: kill(pid, 0) portability (cleanup is Linux-only by design), lossy show() in the dev harness (output formatting only).

Activity

  1. added this to the v1.6.0 milestone on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions