Skip to content

id-sync: archive-name test follows the fits-in-u64 rule from #11790 - #12082

Merged
dezren39 merged 1 commit into
mainfrom
claude/id-archive-name-test
Nov 20, 2026
Merged

dezren39 merged 1 commit into
mainfrom
claude/id-archive-name-test

Conversation

@dezren39

@dezren39 dezren39 commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Before: ./rebuild on the laptop fails in id's check phase: fileops::archive_name_tests::fileops_rejects_archive_shaped_names_but_allows_lookalikes expects report.archive.18446744073709551616 to be refused as an archive name.

After: the test matches the archive-name rule on main, so id builds and the rebuild can switch.

How: #11790 made the writer and reader share archive_tag_timestamp, so a digit suffix past u64::MAX is no longer archive-shaped and stays a valid user file name. The #4767 test, merged minutes earlier, kept the old expectation. The test now refuses u64::MAX itself and accepts the overflowing name as a lookalike; the module doc states the fits-in-u64 rule. cargo test -p id-sync --lib: 186 passed.


Generated by Claude Code


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

…1790

#11790 (0ed88ab) made writer and reader share archive_tag_timestamp, so a
digit suffix past u64::MAX is no longer archive-shaped and stays a valid
user file name. The FileOps name-contract test from #4767 (80ad578),
merged minutes before, still expected report.archive.18446744073709551616
to be refused, so id's check phase failed and blocked the laptop rebuild.

The test now refuses u64::MAX itself and accepts the overflowing name as a
lookalike, and the module doc states the fits-in-u64 rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dezren39
dezren39 marked this pull request as ready for review November 20, 2026 01:38
@dezren39
dezren39 requested a review from a team as a code owner November 20, 2026 01:38
@coderabbitai

coderabbitai Bot commented Nov 20, 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 18 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: c8c203cc-8ece-415a-9d27-047fda025bca
Commits

Reviewing files that changed from the base of the PR and between 252fdc5 and 25b2d90.

Files selected for processing: 1

  • pkgs/id/crates/id-sync/src/fileops.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 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T01:40:19.663903Z 25b2d90 Draft marked ready
ℹ️ 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.

@dezren39
dezren39 merged commit 1e9941d into main Nov 20, 2026
1 check passed
@dezren39
dezren39 deleted the claude/id-archive-name-test branch November 20, 2026 01:40
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