Skip to content

Tests: pin exact rows, outcomes and text in client, deadline and onboarding tests - #7236

Merged
Sinity merged 1 commit into
masterfrom
walk/w8tests1-20261123
Nov 23, 2026
Merged

Sinity merged 1 commit into
masterfrom
walk/w8tests1-20261123

Conversation

@Sinity

@Sinity Sinity commented Nov 23, 2026

Copy link
Copy Markdown
Owner

Strengthens nine weak assertions in the Python client integration test, the deadline e2e tests and the onboarding tour test. Expected values come from the fixtures and the Morrow oracle, not from running the code.

  • Python client: the sessions query compares the three fixture session ids; the clean read must be outcome ok; the archive-alias test compares the full argv, which also covers the status subcommand that no other test exercises.
  • Deadline e2e: the refusal message is compared exactly (the CLI prints the daemon's failure verbatim). The deadline-0 import now reads the session back through the daemon (sessions shows exactly chatgpt:deadline-import, and read returns the text "synthetic import"), which the import report alone did not prove.
  • Onboarding e2e: the first query compares row sessions with the oracle's first column (feat: unify Gemini export rendering and Drive sync in gmd #2, refactor: rebrand as polylogue and move config/state to XDG #8) instead of the count; the note step checks the stored note text; the takeover pointer line is compared whole, including the listing command; the preparation figure is checked as positive and against the transcript header. The loop asserting every step text is non-empty is deleted: it cannot tell a placeholder from rendered text, and the transcript comparison shares its source.

Decisions: the note row's kind is not asserted because the default projection of annotation rows was not confirmed by reading; the value is. Exact rendered text of tour steps was not pinned since it cannot be known without running.

Verified: by reading only (no local build, the host is short of memory), plus the hosted check. Behaviour is unchanged; if a stronger assertion fails on CI it is a finding, not something to loosen.

Task: walk2 tests-1

🤖 Generated with Claude Code

https://claude.ai/code/session_01UuFixtGtdh2xCEcLPgpRtf

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

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

Review Status Commit Review trigger
🔒 Security Review ❌ Failed 2026-11-23T18:53:58.216221Z
We couldn’t complete this review. Comment @codex security review to try again.
42b80c8 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.

@chatgpt-codex-connector

Copy link
Copy Markdown

The account paying for this security review has reached its Codex usage limits. The payer can check the Codex usage dashboard. For personal accounts, using credits requires enabling “Use credits for security reviews” in Code review settings. If you do not manage the paying account, contact this repository's admins.

@Sinity
Sinity force-pushed the walk/w8tests1-20261123 branch 2 times, most recently from 8ed1fc8 to d06f1b7 Compare November 23, 2026 19:40
…arding tests

Each assertion was loose enough to pass for a wrong result.

- Python client: the sessions query now compares the three fixture session
  ids, the clean read must be outcome ok (not ok-or-degraded), and the
  archive-alias test compares the whole argv including the subcommand.
- Deadline e2e: the CLI forwards the daemon's refusal message unchanged, so
  compare it exactly; the deadline-0 import now reads the session back
  through the daemon (sessions listing and read) instead of trusting the
  import report.
- Onboarding e2e: the first query compares session identities with the Morrow
  oracle, the note step checks the stored note text, the takeover pointer line
  is compared whole, and the preparation figure is checked against the
  transcript header. The non-empty-text loop is removed; it could not tell a
  placeholder from rendered text and the transcript comparison shares its
  source.

Behaviour is unchanged (docs/testing.md, What a test checks).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UuFixtGtdh2xCEcLPgpRtf
@Sinity
Sinity force-pushed the walk/w8tests1-20261123 branch from d06f1b7 to b66a9f3 Compare November 23, 2026 19:59
@Sinity
Sinity merged commit 99e85bf into master Nov 23, 2026
3 checks passed
@Sinity
Sinity deleted the walk/w8tests1-20261123 branch November 23, 2026 20:16
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