Skip to content

Remove 30 placeholder tests that asserted nothing - #847

Merged
flyingrobots merged 4 commits into
mainfrom
test/remove-placeholder-tests
Oct 14, 2026
Merged

flyingrobots merged 4 commits into
mainfrom
test/remove-placeholder-tests

Conversation

@flyingrobots

Copy link
Copy Markdown
Owner

What

Removes every #[ignore]d test in warp-core whose body was todo! or unimplemented! (audit finding #814). They read as coverage and checked nothing.

File Placeholders Real tests left
parallel_cow.rs 6 none: file deleted
parallel_privacy.rs 9 none: file deleted
parallel_merge.rs 9 none: file deleted
parallel_openportal_rules.rs 4 8
parallel_footprints.rs 2 14

The clippy::unimplemented allowance added to parallel_openportal_rules.rs for these goes too, with the orphaned plan comments.

Nothing is lost: each test's name and stated intent is recorded verbatim on #814. parallel_determinism.rs keeps one ignored test that has a real body; it is not a placeholder.

Evidence (guarded container)

  • warp-core integration tests with default features: 1,418 pass. The delta_validate lane for the two edited files: 22 pass.
  • Clippy on all targets in two configurations; cargo fmt --check.

Fixes #814.

🤖 Generated with Claude Code

Every one was #[ignore]d with a todo! or unimplemented! body. They read as
coverage of copy-on-write overlays, privacy and claims, merge regimes, open
portals and bucket footprints, and checked none of it.

- parallel_cow.rs, parallel_privacy.rs and parallel_merge.rs held only
  placeholders (24) and are deleted.
- Four placeholders and their plan comments leave
  parallel_openportal_rules.rs, along with the unimplemented lint allowance
  added for them; two leave parallel_footprints.rs.

Each test name and its stated intent is recorded on #814.

Fixes #814.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

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 53 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: flyingrobots/echo/.coderabbit.yaml
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 9887765d-4d15-458a-9c22-5751731a3de1
📥 Commits

Reviewing files that changed from the base of the PR and between 67d0aa7 and 7b02716.

📒 Files selected for processing: 7
  • crates/warp-core/tests/parallel_cow.rs
  • crates/warp-core/tests/parallel_footprints.rs
  • crates/warp-core/tests/parallel_merge.rs
  • crates/warp-core/tests/parallel_openportal_rules.rs
  • crates/warp-core/tests/parallel_privacy.rs
  • docs/topics/security/README.md
  • docs/topics/security/ThreatModel.md
  • 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

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 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-10-14T04:35:56.297850Z 7b02716 New commits
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9df913d563

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/warp-core/tests/parallel_privacy.rs
flyingrobots and others added 3 commits October 13, 2026 21:32
Both security pages linked parallel_privacy.rs, which this branch deletes.
They now link the record of those plans on #814 and say plainly that no
privacy tests exist. Found by review of #847.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@flyingrobots
flyingrobots merged commit b4d07df into main Oct 14, 2026
43 checks passed
@flyingrobots
flyingrobots deleted the test/remove-placeholder-tests branch October 14, 2026 04: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.

About 25 placeholder tests are ignored with todo! bodies

1 participant