Skip to content

Apply current publication SQL during upgrades - #19

Merged
Eoic merged 3 commits into
developmentfrom
fix/deployment-publication-input
Oct 10, 2026
Merged

Eoic merged 3 commits into
developmentfrom
fix/deployment-publication-input

Conversation

@Eoic

@Eoic Eoic commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

An existing database container can retain the old inode of its individually mounted bootstrap SQL after host configuration replacement. Stream the released SQL to psql through standard input so upgrades apply the current publication without recreating the database.

Validated during the 0.0.2 production rollout: applying the released SQL through stdin added all three tracking tables, and all 12 expected tables are now in the PowerSync publication. Readiness is healthy. ShellCheck and all 24 release/deployment tooling tests pass. The new orchestration regression replaces the host SQL file and captures Compose stdin; it fails with the previous mounted-file command. A second test verifies that publication failure prevents service activation.

This PR also brings the master release merge back into development. Direct fast-forward synchronization was rejected by the required-PR branch rule. Application version and published binaries are unchanged.

Copilot AI balanced review requested due to automatic review settings October 10, 2026 23:10
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 10, 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-10-10T23:12:00.837220Z 87259ed 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.

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@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: 87259ed599

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

Comment thread deploy/deploy.sh
@Eoic
Eoic merged commit e2400df into development Oct 10, 2026
2 checks passed
@Eoic
Eoic deleted the fix/deployment-publication-input branch October 13, 2026 18: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.

2 participants