Repository navigation
feat(gateway): add MCP server presets and PostgreSQL-only storage - #1049
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Migration and operational notes
Migration 025 adds PostgreSQL timeline tables with event sequencing, a unique trace/sequence constraint, and cascading deletes. SQLite 025 retains the existing sidecar. Direct PostgreSQL startup does not copy existing main-database or timeline data. Follow the documented cutover/copy procedure, quiesce writers/watchdogs, and preserve encrypted credential keys and verified rollback backups. Results over 32 MiB are rejected; timeline detail reads do not paginate individual events.
The earlier local repair already migrated 58,102 traces and 3,982,779 events with full canonical-row SHA-256 parity and verified new PostgreSQL usage/timeline writes. Credentials and runtime backups are not part of this PR. This PR does not publish a release, merge branches, or change the running deployment.
Verification
Existing lint baseline
Full npm run lint reports 21 anti-slop diagnostics in 20 unchanged files. The same full lint failure is reproduced on clean origin/main with the same lockfile and private Node-20 dependencies. The two newly introduced preset typeof diagnostics were corrected using the existing isString utility. No baseline additions or unrelated lint rewrites are included.
CortexOS operator/configuration companion: https://github.com/bloodf/cortexos/pull/64