Skip to content

test: remove duplicate transaction lock tests - #15

Merged
N4M3Z merged 1 commit into
mainfrom
codex/transaction-test-dedup
Sep 9, 2026
Merged

N4M3Z merged 1 commit into
mainfrom
codex/transaction-test-dedup

Conversation

@N4M3Z

@N4M3Z N4M3Z commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Remove two duplicate lock tests from src/spec/transaction/tests.rs.

Plan

The #11 merge combined identical test additions from both parents. Rust rejects the duplicate names with E0428.
This repair restores the build and unblocks #14 without a rebase.

Changes

  • Delete the second copy of each test. Preserve both distinct regression tests and all assertions.

Testing

  • cargo test --all-features --offline: 146 passed, three ignored.
  • cargo fmt --check and cargo clippy --all-targets --all-features --offline -- -D warnings: passed.
  • Gated jj push: tests, Semgrep, Gitleaks, and authorship checks passed.

Release Notes

  • N/A. Test deduplication only.

Note

Remove duplicate transaction lock tests in tests.rs

Deletes transaction_drop_releases_lock_with_a_duplicated_descriptor and incomplete_health_releases_lock_on_error_before_transaction from tests.rs. These tests duplicated coverage for lock retention and release behavior with duplicated descriptors.

Macroscope summarized a014251.

@coderabbitai

coderabbitai Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are limited based on label configuration.

🏷️ Required labels (at least one) (1)
  • review:coderabbit

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 90321d68-57df-45f7-8b1d-ff69464048fa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.

@github-actions github-actions Bot added the size:med auto: changed-lines bucket label Sep 9, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 9, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-09T18:44:21.554876Z a014251 PR opened
🔒 Security Review ✅ Completed 2026-09-09T18:46:59.367719Z a014251 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@macroscopeapp

macroscopeapp Bot commented Sep 9, 2026

Copy link
Copy Markdown

Approvability

Verdict: Approved at a014251

Macroscope's review found this PR approvable — This PR only removes two duplicate transaction-lock tests from the test suite. It has no production runtime, API, configuration, or deployment impact, and the changed test file is owned by the author.

Notes:

  • Macroscope's correctness review did not run, so approvability was decided on eligibility alone.

You can add or adjust custom eligibility rules. Learn more.

@N4M3Z N4M3Z added the review:runeseer Summons the adjudicating correctness lane label Sep 9, 2026
@runeseer

runeseer Bot commented Sep 9, 2026

Copy link
Copy Markdown

Runeseer review — clean

Looks good. The parent commit defined transaction_drop_releases_lock_with_a_duplicated_descriptor and incomplete_health_releases_lock_on_error_before_transaction twice in the same module, which does not compile; this change deletes the second copies and the retained copies at src/spec/transaction/tests.rs:296-349 are byte-identical, so lock-release coverage is unchanged.

  • No other lane raised a correctness finding against this head.

No open findings · Reviewed a014251b · review run · $0.58 · 1m5s · 19 turns

@github-actions github-actions Bot removed the review:runeseer Summons the adjudicating correctness lane label Sep 9, 2026

@runeseer runeseer 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.

Earned approval: review/correctness returned a clean verdict for a014251. Dismissed automatically on any new push.

@N4M3Z
N4M3Z merged commit 4d970f5 into main Sep 9, 2026
28 checks passed
@N4M3Z
N4M3Z deleted the codex/transaction-test-dedup branch September 21, 2026 16:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:med auto: changed-lines bucket

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant