Skip to content

test(id): restore dead tsv_row test by moving doubled #[test] attribute - #6411

Merged
dezren39 merged 1 commit into
mainfrom
queue/10835-6409-tsv-row-test
Nov 6, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/10835-6409-tsv-row-test

Conversation

@dezren39

@dezren39 dezren39 commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Summary

One-attribute move in pkgs/id/src/commands/text.rs: the stray second #[test] on list_tsv_row_shows_origin_and_upload_time moves to tsv_row_keeps_control_characters_inside_the_name_field, which had none — so the only test of tsv_row itself (the #1613 forged-row pin) never ran, while its neighbor ran twice. No test body changes.

Verification

cargo test --lib commands::text on the laptop:

  • 13 passed; 0 failed
  • tsv_row_keeps_control_characters_inside_the_name_field listed exactly once — passes
  • list_tsv_row_shows_origin_and_upload_time listed exactly once — passes

Fixes #6409
Queue task 10835 (lane code-s, direct execution lane).


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

The second #[test] on list_tsv_row_shows_origin_and_upload_time was the
missing attribute on tsv_row_keeps_control_characters_inside_the_name_field,
the only test of tsv_row itself (the #1613 forged-row pin). One-attribute
move; no test body changes.

Fixes #6409
Task: 10835
@dezren39
dezren39 requested a review from a team as a code owner November 6, 2026 01:10
@coderabbitai

coderabbitai Bot commented Nov 6, 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 5 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

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8ae0dc5f-7c99-44a5-a391-5c0c6b6fe1bb
Commits

Reviewing files that changed from the base of the PR and between 2871969 and b941344.

Files selected for processing: 1

  • pkgs/id/src/commands/text.rs
  • Autofix · 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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 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-11-06T01:12:03.208815Z b941344 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.

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.

id(commands/text): the only tsv_row test never runs — its #[test] attribute sits doubled on the neighboring test (text.rs:276-277 vs :293)

1 participant