ops: redeploy after merging !4 !6 !8 !9 #15

Closed
opened 2026-08-30 06:21:54 +00:00 by PlasticDigits · 16 comments
PlasticDigits commented 2026-08-30 06:21:54 +00:00 (Migrated from gitlab.com)

Summary

main now has WalletConnect pairing (!21 / #12), pending-registration retry (!25 / #14), structured proposal sections (!23 / #10), and draft/open freeze-at-open (!26 / #11). Existing issues stay open for their remaining live AC. This issue is the deploy sequence so those checks can actually run.

Do not close #10, #11, #12, or #14 from this issue. Do not close #9 instead of #14.

Deploy (required)

  1. Ledger writer — apply 20260830000001_proposal_sections.sql then 20260830000002_draft_lifecycle.sql. Confirm /health is 200 (not proxy 503), terra_height advancing, intents_ok: true. Keep the writer private.
  2. grants.sql — re-apply as DB owner after the new proposal_comments / proposal_analysis tables.
  3. operator-voting — redeploy from current main. Set VOTING_COMMITTEE_ADDRESSES (empty allowlist means nobody can open a poll). Confirm live GET /v1/balances includes registered / pending / as_of_height / initial_balance.
  4. dApp — Coolify image with VITE_WC_PROJECT_ID. WalletConnect Cloud project must list https://vote.cl8y.com. Production build must fail closed without that id.
  5. Nginx — re-paste deploy/coolify-frontend.nginx.conf (or use the Dockerfile image) so live HTML sends O3 CSP including WC frame-src. curl -sI https://vote.cl8y.com/vote must stay 200 with X-Frame-Options: DENY and no connect-src https:.

Then verify on the original issues

Issue After this deploy
#14 Terra then BSC: register leaves pending and shows GET amount; Retry works if the writer lags
#9 LCD/balanceOf equality once registered (blocked on #14)
#12 Galaxy iPhone Open/Copy, desktop Chrome QR, Android intent://, BSC WC 56
#10 Templated compose → list TL;DR → detail sections (creates are drafts after #11)
#11 Second wallet comments → committee open → both chains vote; register-during-draft in electorate
#7 Unblocks Keplr/MetaMask QA once #9/#12/#14 pass

Known in-tree leftovers (not blockers for deploy)

  • AI review path for #11 is deferred (source=ai reserved only).
  • Privilege test should assert proposal_analysis as well as comments.
  • CI on the feature MRs failed with ci_quota_exceeded (jobs never started). Re-run workspace tests when quota allows.
## Summary `main` now has WalletConnect pairing (!21 / #12), pending-registration retry (!25 / #14), structured proposal sections (!23 / #10), and draft/open freeze-at-open (!26 / #11). Existing issues stay open for their remaining live AC. This issue is the **deploy sequence** so those checks can actually run. Do not close #10, #11, #12, or #14 from this issue. Do not close #9 instead of #14. ## Deploy (required) 1. **Ledger writer** — apply `20260830000001_proposal_sections.sql` then `20260830000002_draft_lifecycle.sql`. Confirm `/health` is **200** (not proxy 503), `terra_height` advancing, `intents_ok: true`. Keep the writer private. 2. **grants.sql** — re-apply as DB owner after the new `proposal_comments` / `proposal_analysis` tables. 3. **operator-voting** — redeploy from current `main`. Set `VOTING_COMMITTEE_ADDRESSES` (empty allowlist means nobody can open a poll). Confirm live `GET /v1/balances` includes `registered` / `pending` / `as_of_height` / `initial_balance`. 4. **dApp** — Coolify image with `VITE_WC_PROJECT_ID`. WalletConnect Cloud project must list `https://vote.cl8y.com`. Production build must fail closed without that id. 5. **Nginx** — re-paste [`deploy/coolify-frontend.nginx.conf`](https://gitlab.com/PlasticDigits/voting/-/blob/main/deploy/coolify-frontend.nginx.conf) (or use the Dockerfile image) so live HTML sends O3 CSP **including WC `frame-src`**. `curl -sI https://vote.cl8y.com/vote` must stay 200 with `X-Frame-Options: DENY` and no `connect-src https:`. ## Then verify on the original issues | Issue | After this deploy | |-------|-------------------| | [#14](https://gitlab.com/PlasticDigits/voting/-/issues/14) | Terra then BSC: register leaves pending and shows GET amount; Retry works if the writer lags | | [#9](https://gitlab.com/PlasticDigits/voting/-/issues/9) | LCD/`balanceOf` equality once registered (blocked on #14) | | [#12](https://gitlab.com/PlasticDigits/voting/-/issues/12) | Galaxy iPhone Open/Copy, desktop Chrome QR, Android `intent://`, BSC WC 56 | | [#10](https://gitlab.com/PlasticDigits/voting/-/issues/10) | Templated compose → list TL;DR → detail sections (creates are drafts after #11) | | [#11](https://gitlab.com/PlasticDigits/voting/-/issues/11) | Second wallet comments → committee open → both chains vote; register-during-draft in electorate | | [#7](https://gitlab.com/PlasticDigits/voting/-/issues/7) | Unblocks Keplr/MetaMask QA once #9/#12/#14 pass | ## Known in-tree leftovers (not blockers for deploy) - AI review path for #11 is deferred (`source=ai` reserved only). - Privilege test should assert `proposal_analysis` as well as comments. - CI on the feature MRs failed with `ci_quota_exceeded` (jobs never started). Re-run workspace tests when quota allows.
PlasticDigits commented 2026-08-30 06:21:55 +00:00 (Migrated from gitlab.com)

marked as related to #7

marked as related to #7
PlasticDigits commented 2026-08-30 06:21:56 +00:00 (Migrated from gitlab.com)

marked as related to #9

marked as related to #9
PlasticDigits commented 2026-08-30 06:21:56 +00:00 (Migrated from gitlab.com)

marked as related to #10

marked as related to #10
PlasticDigits commented 2026-08-30 06:21:57 +00:00 (Migrated from gitlab.com)

marked as related to #11

marked as related to #11
PlasticDigits commented 2026-08-30 06:21:58 +00:00 (Migrated from gitlab.com)

marked as related to #12

marked as related to #12
PlasticDigits commented 2026-08-30 06:21:58 +00:00 (Migrated from gitlab.com)

marked as related to #14

marked as related to #14
PlasticDigits commented 2026-08-30 06:22:06 +00:00 (Migrated from gitlab.com)

mentioned in issue #7

mentioned in issue #7
PlasticDigits commented 2026-08-30 06:22:51 +00:00 (Migrated from gitlab.com)

mentioned in issue #9

mentioned in issue #9
PlasticDigits commented 2026-08-30 06:22:53 +00:00 (Migrated from gitlab.com)

mentioned in issue #14

mentioned in issue #14
PlasticDigits (Migrated from gitlab.com) closed this issue 2026-08-30 07:11:05 +00:00
PlasticDigits commented 2026-08-30 07:11:06 +00:00 (Migrated from gitlab.com)

All 5 completed, closing

All 5 completed, closing
PlasticDigits commented 2026-08-30 15:47:45 +00:00 (Migrated from gitlab.com)

mentioned in issue #16

mentioned in issue #16
PlasticDigits commented 2026-08-30 17:56:38 +00:00 (Migrated from gitlab.com)

mentioned in commit b683f1758a

mentioned in commit b683f1758a1a5b787c16a49d7a80626310048ace
PlasticDigits commented 2026-08-30 17:56:40 +00:00 (Migrated from gitlab.com)

mentioned in merge request !27

mentioned in merge request !27
PlasticDigits commented 2026-08-31 05:16:24 +00:00 (Migrated from gitlab.com)

mentioned in commit 9502bc49de

mentioned in commit 9502bc49debacaa200048a7b47221b9457f05143
PlasticDigits commented 2026-08-31 05:16:26 +00:00 (Migrated from gitlab.com)

mentioned in merge request !28

mentioned in merge request !28
PlasticDigits commented 2026-08-31 09:09:47 +00:00 (Migrated from gitlab.com)

mentioned in issue #17

mentioned in issue #17
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
code/voting#15
No description provided.