Skip to content

Pin nested untracked Rust source in worktree currentness test - #10905

Merged
EffortlessSteven merged 1 commit into
mainfrom
claude/nested-untracked-currentness-test
Oct 28, 2026
Merged

EffortlessSteven merged 1 commit into
mainfrom
claude/nested-untracked-currentness-test

Conversation

@EffortlessSteven

Copy link
Copy Markdown
Member

Summary

Swarm / Source Boundary

  • ordinary feature, analyzer, editor, docs, spec, fixture, badge, dependency, or repo-ops development for ripr-swarm

Source-of-truth Links

Spec: docs/specs/RIPR-SPEC-0134-repair-artifact-provenance.md
Governing issue or accepted claim: #6817 (follow-up to merged #9826)
Acceptance delta (one sentence): The nested-path behavior that review verified by hand is now pinned by a committed test.

Candidate Relationships

Candidate branch: claude/nested-untracked-currentness-test
Stack parent or prerequisite PR (if any): none (#9826 is merged)

Scope

  • Test and one spec sentence only; no production change.

Scope Classification

  • Docs/spec/test-only evidence package

Production delta: none.

Proof

  • cargo test -p ripr --lib untracked_rust_sources_make_the_worktree_dirty passes; fails under the root-only mutant.
  • cargo xtask precommit passes.

Generated by Claude Code

A root-only pathspec now fails the test: the nested source under a spaced
path must make both producer and verifier report dirty.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Dpu1AbBoAbyviXbo3msrWD
@EffortlessSteven
EffortlessSteven marked this pull request as ready for review October 28, 2026 06:38
@coderabbitai

coderabbitai Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

  • Ask an admin to enable usage-based reviews

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Next included review available in 23 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available. Your 154 included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Essentials
  • Run ID: ec5d75de-f4d8-4a0d-86fb-81756cb8ced3
Commits

Reviewing files that changed from the base of the PR and between 0eba170 and 5abfe77.

Files selected for processing: 3
  • changelog.d/6817-nested-untracked-rust-test.md
  • crates/ripr/src/agent/artifact.rs
  • docs/specs/RIPR-SPEC-0134-repair-artifact-provenance.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

@gemini-code-assist gemini-code-assist Bot 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.

Code Review

This pull request updates the untracked-Rust worktree currentness test to pin a nested source under a spaced path, ensuring that root-only pathspec regressions fail the test. It adds corresponding test assertions in crates/ripr/src/agent/artifact.rs to verify that untracked nested Rust sources correctly report a dirty worktree, and updates the documentation and changelog accordingly. There are no review comments to address, and I have no additional feedback to provide.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Decision

  • Needs one verification check before upstream.

Verification questions

  • Confirm the test routes the nested spaced-path fixture through both the direct Git status check and validate_repo_exposure_artifact, so it covers the public currentness classification and artifact exposure behavior.

Refuted

  • This PR claims a production-path fix despite being described as test-only.; refuted because: The changed Rust lines are within the tests module and add only an additional regression scenario; documentation states the prior behavior is now pinned by a committed test.
  • The docs update overstates the scope of this PR.; refuted because: The wording is limited to nested-source coverage and is consistent with the test-only source change and changelog entry.
  • The changelog and spec overstate the change as production behavior rather than regression coverage.; refuted because: Both additions describe the test pinning nested untracked Rust detection, matching the diff, which modifies only a test and documentation.

Evidence gaps

  • Focused executable confirmation was unavailable to this lane because cargo-test evidence remained scheduled late and ripr failed with exit code 2.
  • The PR's test-only scope is consistent with the patch, although the packet lacks the scheduled cargo-test receipt.

@EffortlessSteven
EffortlessSteven merged commit 2aa73bb into main Oct 28, 2026
61 checks passed
@EffortlessSteven
EffortlessSteven deleted the claude/nested-untracked-currentness-test branch October 28, 2026 07:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants