Skip to content

Promote staging monitoring fixes to production - #513

Merged
Producdevity merged 32 commits into
masterfrom
fix/production-monitoring-release
Nov 1, 2026
Merged

Producdevity merged 32 commits into
masterfrom
fix/production-monitoring-release

Conversation

@Producdevity

@Producdevity Producdevity commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Description

Promote the monitoring and deployment changes verified on staging. Report handled web and mobile tRPC server failures to Sentry while preserving responses and expected 4xx handling. Keep catalog downloads off the startup path, share concurrent loads and prevent stale refreshes from replacing current data.

Enable CI-gated image publication and deployment on master. Preserve production's Next.js 16.3.6, complete dependency lockfile and Prisma tree, including nullable report attribution and the existing deletion migration. Production's account-deletion and crawler fixes remain in place. No hosted migration or DNS change.

Type of change

  • Bug fix

How Has This Been Tested?

  • TypeScript with the preserved Next.js 16.3.6 dependencies.
  • Lint: 0 errors, 79 existing warnings.
  • 33 deployment/build-configuration tests and actionlint.
  • Dependency files and the entire Prisma tree match master byte-for-byte.
  • Full local unit suite: 2,211 passed, 4 skipped.
  • CI and Cubic review at the final PR head, including browser and account-deletion database tests.
  • Production image identity, readiness, navigation and received Sentry event.

Screenshots (if applicable)

Not applicable.

Checklist

  • Code follows project conventions.
  • Performed a self-review.
  • All required checks pass at the final PR head.

Notes for reviewers

The promotion branch starts from master and merges staging, preserving both histories. Staging verification used Next.js 16.2.6; production's preserved 16.3.6 passed its own CI and runtime verification. Production's account-deletion database check remains in CI.

A fresh encrypted backup was verified before merging. Master CI built a new image with production settings, deployed it and verified its exact commit and readiness. Production credentials, database schema and DNS remain unchanged.

Review follow-up covers omitted Clerk settings, both deployment-command guards and malformed health JSON. Failed deployment selection remains manual recovery: a failed API response may still have queued a deployment, so automatic restoration would race it.

Review validation: this app has no Edge routes and Next.js 16 Proxy uses Node. The installed dotenv CLI preserves CI variables when its optional file is absent; migration steps passed on the runner. Sentry 10.53.1 deduplicates repeated capture of the same Error object, confirmed with an in-memory transport.

Production verification: 4243fe6e is healthy, normal page navigation and report details load, and Sentry received the production test event. Rollout briefly hit Supabase's 15-session limit from 09:32:06–09:32:42 UTC, ending before deployment verification completed. No recurrence during the next ten minutes. Pool configuration is unchanged; connection budgeting remains an operational follow-up. CodeRabbit skipped this master-target PR under its existing branch policy.

…atch

fix(ci): enable container image dispatch from default branch
fix(ci): build staging images with isolated public settings
…nd-monitoring

fix(sentry): restore server error reporting
…loyments

ci: deploy staging and production images after CI
@coderabbitai

coderabbitai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: c2c38f5e-6903-4d13-a53b-80bdb2fbec30

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@cubic-dev-ai cubic-dev-ai 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.

All reported issues were addressed across 39 files

Reply with feedback, questions, or to request a fix.

View guided diff | Turn on auto-fix | Re-trigger cubic

Comment thread sentry.edge.config.ts Resolved
Comment thread .github/workflows/e2e-tests.yml Resolved
Comment thread .github/workflows/ci.yml Resolved
Comment thread scripts/container_deploy.py Resolved
Comment thread scripts/container_build_config_test.py Resolved
Comment thread scripts/container_deploy_test.py Resolved
Comment thread src/lib/errors.ts Resolved
Comment thread scripts/container_deploy.py Resolved
@Producdevity
Producdevity merged commit 4243fe6 into master Nov 1, 2026
8 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