Skip to content

Fix legacy Desktop upgrades and plugin startup - #868

Merged
tianxiaochannel-oss88 merged 5 commits into
mainfrom
codex/sqlite-upgrade-plugin-acceptance-main
Dec 2, 2026
Merged

tianxiaochannel-oss88 merged 5 commits into
mainfrom
codex/sqlite-upgrade-plugin-acceptance-main

Conversation

@tianxiaochannel-oss88

Copy link
Copy Markdown
Collaborator

Summary

  • Repair missing managed-plugin columns when historical migration 143 belongs to compaction. Upgrade empty historical delegation tables transactionally and restore the archived owner thread when the automation provides enough metadata.
  • Preserve the owning SQLite store when reading plugin state, accept scoped package paths in the integrity inventory, and run JavaScript workers in the Electron Node runtime.
  • Cancel in-flight provider startup checks during daemon shutdown and suppress their cancelled results. Materialize the Excel workbook list before iterating in the macOS native helper.

Verification

  • Two real SQLite snapshots upgraded from 144 and 146 to 240. Historical IDs and foreign keys were checked across successful Desktop starts and exits. Slow provider calls were redirected to an isolated loopback fixture and both outstanding requests disconnected during shutdown.
  • The new shutdown regression failed before the fix and passed afterward. The related daemon regression set passed 27 tests. Core migration and plugin validation passed 186 and 68 tests respectively, with owning-package typechecks.
  • PDF extraction and DOCX, XLSX, and PPTX readback passed using installed development workers. The rebuilt native Excel helper installed through the test catalog and returned the expected A1 value from a temporary workbook. The standalone plugin mirror is in Fix macOS Excel workbook enumeration ling-plugin-office-documents#4.

The hosted installer acceptance run is separate. Populated tables from the historical 139 development delegation schema are retained and still require a data-preserving migration.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Dec 2, 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-12-02T10:58:03.710967Z 3801ae1 PR opened
🔒 Security Review ✅ Completed 2026-12-02T10:41:28.519135Z 8032c67 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.

@tianxiaochannel-oss88 tianxiaochannel-oss88 added the full-ci Run complete validation lanes for a pull request, including Draft PRs label Dec 2, 2026
@tianxiaochannel-oss88
tianxiaochannel-oss88 merged commit 06730e6 into main Dec 2, 2026
29 checks passed
@tianxiaochannel-oss88
tianxiaochannel-oss88 deleted the codex/sqlite-upgrade-plugin-acceptance-main branch December 2, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

full-ci Run complete validation lanes for a pull request, including Draft PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant