Skip to content

Pin the Table Carry Onto a Second-Format Lite Round That Finds Nothing - #2586

Merged
ptr727 merged 1 commit into
developfrom
feature/auto-2282
Oct 8, 2026
Merged

ptr727 merged 1 commit into
developfrom
feature/auto-2282

Conversation

@ptr727

@ptr727 ptr727 commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Summary

#2282 reported pr_review.py status reading coverage=unstated on a pull request whose first Copilot round named every changed file in its table, while a later round on a moved head, at Lite effort with no findings and no table, stated nothing. The changed-file set was the same at both commits.

The carry that case asks for landed in #2276, which reached main in #2284 after #2282 was filed. With it, an earlier round's full table carries to a head that states nothing, under the same changed-file-set bound a coverage statement carries under, and reads as coverage=carried:table. Re-reading the pull request #2282 names with the current script gives coverage=carried:table.

The existing carry tests use first-format bodies on both rounds. This adds one test pinning #2282's exact shape: both rounds written in the second overview format, the later at Lite effort with a findings total of none and no table. It asserts exit 0, coverage=carried:table, and no NO FILE TABLE STANDS IN line. Patching carried_table to return None fails it with exit 45, so the test proves the carry rather than passing for another reason.

Verification

  • python3 -m unittest tests.test_pr_review passes.
  • The mutation above fails the new test.
  • Ruff format, Ruff check, and mypy pass through the pre-commit hook.

Closes on promotion: #2282

🤖 Generated with Claude Code

Both rounds are written in the second overview format, the first naming
every changed file in its table and stating no coverage, the second on a
moved head at Lite effort with a findings total of none and no table.
The changed-file set is the same at both commits, so the first round's
table carries and the head reads coverage=carried:table with exit 0.

Disabling the carry fails the test with exit 45.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Copilot AI lite review requested due to automatic review settings October 8, 2026 21:28
@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 14 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

⚙️ Run configuration
  • Configuration used: Repository: ptr727/ProjectTemplate/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: d28aa5e4-f618-4d06-8aa3-35bca0329bfc
📥 Commits

Reviewing files that changed from the base of the PR and between 1ff98e3 and 3ed1392.

📒 Files selected for processing (1)
  • tests/test_pr_review.py
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Copilot AI 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.

🟢 Approval recommended

The reviewed change adds focused regression coverage with no unresolved issues.

0 open findings

What changed in this PR

Adds a regression test for carrying a second-format file table into a later Lite review with no findings.

Changes:

  • Tests unchanged file sets across review rounds.
  • Verifies coverage=carried:table and successful approval status.
  • Confirms no missing-table error is reported.
File Description
tests/​test_pr_review.py Adds the second-format table-carry regression test.

🧠 Review effort: Lite


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@codecov

codecov Bot commented Oct 8, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 58.85%. Comparing base (1ff98e3) to head (3ed1392).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2586   +/-   ##
========================================
  Coverage    58.85%   58.85%           
========================================
  Files           16       16           
  Lines         8181     8181           
========================================
  Hits          4815     4815           
  Misses        3366     3366           
Flag Coverage Δ
python-3.13 58.85% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727

ptr727 commented Oct 8, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Oct 8, 2026 •

Copy link
Copy Markdown
⚠️ Action not completed

Review rate limited.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ptr727
ptr727 merged commit 05c92d3 into develop Oct 8, 2026
14 checks passed
@ptr727
ptr727 deleted the feature/auto-2282 branch October 8, 2026 21:45
ptr727 added a commit that referenced this pull request Oct 8, 2026
## Summary

Answers the headline Copilot raised on the promotion pull request #2591,
"Strengthen the Lite table-carry test assertions before approval", which
named format, effort, and zero findings.

The test added in #2586 claimed both rounds were in the second overview
format, the later one at Lite effort with no findings and no table, but
asserted only the carry, so it still passed with the format reader
disabled. It now asserts that:

- both bodies read as second format
- the first body's table names both changed files and the Lite body
carries none
- the digest reads `effort=lite` and `overview=0/0`

Patching `second_format` to return `False` now fails the test.

## Verification

- `python3 -m unittest tests.test_pr_review` passes.
- Ruff format, Ruff check, and mypy pass through the pre-commit hook.

Closes on promotion: #2282

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 5.5 <[email protected]>
ptr727 added a commit that referenced this pull request Oct 8, 2026
…, Table Carry Test (#2591)

## Summary

Promotes develop to main, carrying:

- #2588 Put the Managed Bin Directory on install-tools.sh's Own PATH
When the Caller Omits It
- #2589 Run bootstrap.sh's Whole Main Flow Against a Stub Download and
Stub Tools
- #2586 Pin the Table Carry Onto a Second-Format Lite Round That Finds
Nothing
- #2593 Assert the Lite Table-Carry Test's Own Premise

Fixes #2257
Fixes #1767
Fixes #2282

🤖 Generated with [Claude Code](https://claude.com/claude-code)
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