Skip to content

test(tbtc/signer): multi-seat capacity new-vs-replacement + abort-by-attempt edge cases#4100

Merged
mswilkison merged 1 commit into
extraction/frost-signer-mirror-2026-05-26from
feat/frost-multiseat-edge-tests
Jun 21, 2026
Merged

test(tbtc/signer): multi-seat capacity new-vs-replacement + abort-by-attempt edge cases#4100
mswilkison merged 1 commit into
extraction/frost-signer-mirror-2026-05-26from
feat/frost-multiseat-edge-tests

Conversation

@mswilkison

Copy link
Copy Markdown
Contributor

What

Two follow-up edge tests Codex itemized during the multi-seat interactive engine fix (#4098), test-only:

  • interactive_capacity_counts_new_members_not_replacements — at a live-member cap of 1: a member advancing to a newer attempt replaces its own entry (no new slot, succeeds), while a different member is a new entry that trips the cap and fails closed. Pins that the cap counts member entries, not sessions.
  • interactive_abort_by_attempt_removes_all_members_on_that_attempt — abort with an attempt_id filter is session-level over the member map: it removes every local seat on that attempt while a sibling seat on a different attempt survives.

All 299 lib tests pass; cargo fmt clean.

🤖 Generated with Claude Code

…attempt edge cases

Two follow-up edge tests Codex itemized for the multi-seat interactive engine fix
(#4098), test-only:

- interactive_capacity_counts_new_members_not_replacements: at a live-member cap of 1,
  a member advancing to a newer attempt replaces its own entry (no new slot, succeeds),
  while a DIFFERENT member is a new entry that trips the cap and fails closed - pinning
  that the cap counts member entries, not sessions.

- interactive_abort_by_attempt_removes_all_members_on_that_attempt: abort with an
  attempt_id filter is session-level over the member map - it removes every local seat
  on that attempt while a sibling seat on a different attempt survives.

All 299 lib tests pass; cargo fmt clean.

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

coderabbitai Bot commented Jun 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

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: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 62223447-6465-4620-966b-43c2aa4d316c

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
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/frost-multiseat-edge-tests

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 and usage tips.

@mswilkison mswilkison merged commit 83b7bff into extraction/frost-signer-mirror-2026-05-26 Jun 21, 2026
20 checks passed
@mswilkison mswilkison deleted the feat/frost-multiseat-edge-tests branch June 21, 2026 00:18
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.

1 participant