Skip to content

Fix Google Maps deploy path and Action-based rollout#25

Merged
OziinG merged 11 commits intomainfrom
feat/sslip-route-domain
May 1, 2026
Merged

Fix Google Maps deploy path and Action-based rollout#25
OziinG merged 11 commits intomainfrom
feat/sslip-route-domain

Conversation

@OziinG
Copy link
Copy Markdown
Contributor

@OziinG OziinG commented May 1, 2026

Summary

  • make deploy-ec2 workflow deploy the selected workflow ref instead of silently falling back to main for manual runs
  • preserve EC2 .env while applying provided deploy-time settings such as Google Maps and sslip.io values
  • keep direct local SSM usage documented as emergency/debug only
  • include Google Maps-only route detail rendering fixes from this branch

Verification

  • bash -n scripts/dispatch-ec2-deploy-ssm.sh scripts/ec2-bootstrap-and-deploy.sh
  • npm run lint
  • npm test
  • npm run build
  • deploy-ec2 workflow_dispatch succeeded for feat/sslip-route-domain: https://github.com/EVNSolution/tomotono-route-console/actions/runs/25202417825
  • authenticated route page no longer serves old operations-grid fallback
  • browser check: Google Maps component set data-google-map-initialized=true with no Maps console errors

OziinG added 11 commits May 1, 2026 11:53
Constraint: keep existing AMI/runtime flow and not change app business logic. Added a profile-gated Caddy container, env propagation, and deploy vars so HTTPS can be used as temporary temporary endpoint.

Constraint: ca-central-1 EC2 deployment path only

Rejected: adding separate ingress controller stack | too much operational complexity for MVP

Confidence: medium

Scope-risk: moderate

Directive: keep Caddy profile disabled unless TOMATONO_SSLIP_HOST is set.

Tested: Deploy workflow command path passes env and starts compose with profile; curl to https sslip endpoint returns 200.

Not-tested: production TLS renewal behavior under load
Constraint: keep route-screen operability even when Google Maps key/domain validation fails

Rejected: disabling Google map completely | would block core map-preview feature

Confidence: high

Scope-risk: narrow

Tested: npm run lint

Not-tested: CI and runtime EC2 verification pending
Constraint: map preview must be visible before Google Maps key/domain is validated

Rejected: leaving empty map container when API key is present but route data lacks coordinates | poor operator visibility

Confidence: high

Scope-risk: narrow

Tested: npm run lint

Not-tested: runtime visual check pending
Constraint: map surface must render whenever key is present to verify rendering independently of payload coordinates

Rejected: blocking map render when coordinates are missing | would hide map availability

Confidence: high

Scope-risk: narrow

Tested: npm run lint, npm run build

Not-tested: EC2 deployment and live browser verification
Fix the workflow-dispatch branch fallback so manual runs can deploy the selected ref instead of silently deploying main. Keep EC2 .env preserved while applying deploy-time values provided by Actions, including Google Maps and sslip.io settings.\n\nConstraint: EC2 rollout still uses SSM Run Command behind GitHub Actions because the instance is managed through SSM, not direct SSH.\nRejected: Continuing local aws ssm commands for normal deploys | It bypasses branch, secret, and audit consistency.\nConfidence: high\nScope-risk: narrow\nDirective: Use direct SSM only as emergency/debug fallback; normal deploys go through deploy-ec2.\nTested: bash -n scripts/dispatch-ec2-deploy-ssm.sh scripts/ec2-bootstrap-and-deploy.sh; npm run lint; npm test; npm run build\nNot-tested: main push auto deploy until this branch is merged to main
@OziinG OziinG merged commit 8e92f55 into main May 1, 2026
3 checks passed
@OziinG OziinG deleted the feat/sslip-route-domain branch May 1, 2026 04:41
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