Skip to content

Add reliable image-based production deploy - #269

Merged
coder13 merged 11 commits into
devfrom
codex/reliable-actions-deploy
Nov 17, 2026
Merged

coder13 merged 11 commits into
devfrom
codex/reliable-actions-deploy

Conversation

@coder13

@coder13 coder13 commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • clean expired sessions in bounded hourly batches
  • keep static client files outside the API rate limiter
  • build immutable release images in GitHub Actions
  • retry builds, transfers, and activation with automatic rollback
  • replace the Git pull cron with image-safe service health repair

Verification

  • 46 server test suites and 230 tests passed
  • server lint passed with zero errors
  • deployment, rollback, repair, backup, CI, and workflow checks passed
  • production image build and source-label checks passed
  • Compose and workflow YAML checks passed

coder13 added 11 commits July 17, 2026 17:40
Promote lobby scrolling fix to production

Release the viewport-bounded lobby layout after reviewed dev candidate validation.
Replace Mongo-backed runtime persistence with PostgreSQL repositories and sessions, add the bounded room LRU, and update migration, deployment, and CI paths for the SQL-only runtime.
Use distinct PostgreSQL parameters for the UUID and text notification identifiers so the SQL-only runtime can create social notifications under PostgreSQL.
Use unqualified columns for PostgreSQL UPDATE statements while retaining the read-query alias for relationship lookups, preventing 42P01 failures in friend and room flows.
Accept canonical PostgreSQL UUID room paths in the full-stack smoke tests so the new SQL runtime is validated without Mongo-era ID assumptions.
Convert native Map values to browser-compatible objects before emitting room state. This restores competition flags, waiting states, and submitted results for the SQL-backed runtime.
Rotate production container logs and prune old unused images after successful deploys. Add a retained PostgreSQL backup job and tests so production storage stays bounded.
Force service recreation when production Compose files change, and cap unused Docker build cache after successful deployments.
Build and activate immutable releases through GitHub Actions with bounded retries, rollback, and scheduled health repair. Bound expired-session cleanup and keep static client assets outside API rate limits.
@coder13
coder13 merged commit f10a162 into dev Nov 17, 2026
9 checks passed
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