Skip to content

test(peer): drop diagnostic-only message from peer-link snooze assertion - #741

Merged
lastobelus merged 1 commit into
lastcode/mainfrom
lastcode/peer-link-test-drift
Nov 16, 2026
Merged

lastobelus merged 1 commit into
lastcode/mainfrom
lastcode/peer-link-test-drift

Conversation

@lastobelus

@lastobelus lastobelus commented Nov 16, 2026 •

Copy link
Copy Markdown
Owner

Upstream already tests peer-link snooze clearing, card completion and outcome notification (added in https://redirect.github.com/pingdotgg/t3code/pull/20058, fixture later refactored in https://redirect.github.com/pingdotgg/t3code/pull/26944). LastCode also carried a diagnostic-only addition to that test, 491ad0c4ba27fd683cd2ed2eec040b7a274651d6 ("test: show the peer-link outcome when wake fails"). Carrying it means replaying an edit to an upstream test on every checkpoint, which adds churn without adding coverage.

This PR removes the JSON.stringify(cardOf(a)) diagnostic argument from the snoozedUntil toBeNull assertion in apps/server/src/peer/PeerLinkRequests.test.ts (one file, 5 lines). No test case or behavioral assertion is removed, and there is no runtime change.

The fixture and API adaptations from 7be36ba46e0733f9144d3a040a017d4b6a435cc5 stay. They are now the only LastCode delta in this test:

This should reduce replay churn on this test. It does not claim to remove all future drift. An archived run shows one replay conflict here, but the original Full CI failure log is unavailable, so this PR doesn't claim to identify or fix that failure's cause.

Validation:

  • All 25 peer-link tests pass.
  • The changed-file check passes: 27 tests, affected typechecks, format, lint, GraphQL and knip.
  • Saved Quick CI passed on head b95125df9c8ee12f2a8614aa05c54d327fdbebea against base 006e9d3b50a50df3d21ed3061e9185b186845b1b.

Local review: 2 rounds with gpt-6.1-terra (xhigh), approved.

Carry-Group: incubator
Carry-Supersedes: 491ad0c4ba27fd683cd2ed2eec040b7a274651d6

GPT-6.1 Sol through Codex. Local review: GPT-6.1 Terra xhigh. PR wording: Claude Sonnet 5.5.

@lastobelus lastobelus changed the title test(peer): retire redundant link outcome diagnostic test(peer): drop diagnostic-only message from peer-link snooze assertion Nov 16, 2026
@lastobelus
lastobelus marked this pull request as ready for review November 16, 2026 18:46
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 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-16T18:56:42.262561Z b95125d Manual request
ℹ️ 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.

@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. 👍

Reviewed commit: bb84578b48

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

Upstream already checks that answering a peer-link card clears snooze and records the completed card and notification. Remove the diagnostic-only assertion message; retain the fixture adaptations required by carried toolkit and archive APIs.

Carry-Group: incubator
Carry-Supersedes: 491ad0c4ba27fd683cd2ed2eec040b7a274651d6
Carry-Observation: Retires the diagnostic-only carry without deleting upstream coverage. The remaining PeerLinkRequests test delta belongs to the existing Incubator fixture/API reconciliation contribution 7be36ba46e0733f9144d3a040a017d4b6a435cc5.
@lastobelus
lastobelus force-pushed the lastcode/peer-link-test-drift branch from bb84578 to b95125d Compare November 16, 2026 18:54
@lastobelus

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: b95125df9c

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

@lastobelus
lastobelus merged commit 1e66b0a into lastcode/main Nov 16, 2026
31 checks passed
@lastobelus
lastobelus deleted the lastcode/peer-link-test-drift branch November 16, 2026 19:06
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