Skip to content

Serve versioned web releases without restarting application services - #15

Merged
Eoic merged 2 commits into
developmentfrom
feat/versioned-web-delivery
Oct 10, 2026
Merged

Eoic merged 2 commits into
developmentfrom
feat/versioned-web-delivery

Conversation

@Eoic

@Eoic Eoic commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

Serve the web app through an atomic current symlink and preserve deployed files during the initial layout migration. Keep deployment validation aligned with the new layout and document restricted web delivery and rollback without restarting API, PowerSync or database services.

Validation:

  • All 372 backend tests pass, including the additive tracking migration and preservation of an existing library (two provider-backed smoke tests excluded).
  • All 22 release/deployment tooling tests pass.
  • Ruff lint/format, Mypy and workspace deployment-layout checks pass.

The server version stays unchanged in this implementation PR. The coordinated release will include the goal-tracking changes already on development and must deploy the server before the client.

@Eoic
Eoic marked this pull request as ready for review October 10, 2026 21:26
Copilot AI balanced review requested due to automatic review settings October 10, 2026 21:26

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 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-10T21:29:23.956265Z 9155347 Draft marked ready
ℹ️ 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.

@Eoic
Eoic merged commit 8bccef6 into development Oct 10, 2026
2 checks passed

@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: 9155347ae4

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

if not (root / "index.html").is_file():
raise ValueError("Extract an initial web release into this directory before migrating")

sources = [path for path in root.iterdir() if path.name != "releases" and not path.name.startswith(".")]

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve dot-prefixed web assets in the snapshot

When an existing flat deployment contains publicly served dot-prefixed content such as .well-known/assetlinks.json, this filter silently omits the entire entry even though the previous /srv/web root served it. After Caddy switches to current, requests for those files fall through to /index.html, breaking domain verification or app-link association; copy dot-prefixed public assets and exclude only specific migration-control or private artifacts.

Useful? React with 👍 / 👎.

@Eoic
Eoic deleted the feat/versioned-web-delivery 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