Skip to content

test(store): upgrade a v0.1.4 (schema 35) session store to current - #218

Merged
lg2m merged 7 commits into
fix/eng-974-init-symlink-ignore-boundsfrom
test/eng-975-store-schema-35-upgrade
Sep 29, 2026
Merged

lg2m merged 7 commits into
fix/eng-974-init-symlink-ignore-boundsfrom
test/eng-975-store-schema-35-upgrade

Conversation

@lg2m

@lg2m lg2m commented Sep 29, 2026

Copy link
Copy Markdown
Collaborator

Stack ENG-968 (v0.1.5 readiness), 7 of 9. Merge in order; diff shown is this layer only.

Release gate: v0.1.5 carries migrations 36–39. A store populated through the runtime is rewound to the v0.1.4 shape (no sessions.approval_delegate, schema_version 35) and reopened: migrates to STORE_SCHEMA_VERSION, keeps the session and prompt, invents no delegate override, accepts SetApprovalDelegate, reopens as a no-op. Verified the test fails when the 36 step is removed.

Test only. Linear: ENG-975.

Verification (top of stack)

cargo test --workspace 1970 passed / 0 failed / 7 ignored; cargo clippy --workspace --all-targets --all-features -- -D warnings clean; cargo fmt --all -- --check clean; cargo test -p qq-provider --no-default-features --features test-support passed.

v0.1.5 carries migrations 36 to 39. A store populated through the runtime is
rewound to the v0.1.4 shape (no sessions.approval_delegate, schema_version
35), then reopened: it migrates to STORE_SCHEMA_VERSION, keeps the session
and its prompt, invents no delegate override, accepts SetApprovalDelegate,
and reopens as a no-op. Removing the 36 step makes the test fail.

Refs: ENG-975
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 29, 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-09-29T06:33:24.064931Z 9a65d78 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.

@lg2m
lg2m added this pull request to stack #221 September 29, 2026 02:17

@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: 6368803c6a

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

@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: bf5cbb1f26

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

Review (Codex, #218):
- The reopen only rechecked schema_version. It now reopens the runtime and
  asserts the delegate written before closing (off) and the transcript are
  unchanged.
- The prompt was matched anywhere in the serialized snapshot, which the
  session title also contains. The test now asserts the focused message
  rows: the user prompt text and a complete, non-empty assistant reply.

Refs: ENG-975
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

1 similar comment
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@lg2m
lg2m merged commit 049901b into main Sep 29, 2026
@lg2m
lg2m deleted the test/eng-975-store-schema-35-upgrade branch September 29, 2026 18:56
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