4.3 KiB
4.3 KiB
Deploy Result — Session/Form Bug Fix + Communications Docs
Date: 2026-06-17
Commit deployed: c6ab014 (squaremcp-app + hermes-mcp), 453831a (squaremcp-docs)
Status: ✅ All three deployments successful
Deploys performed
A — squaremcp-app (urgent credential-leak fix)
What changed: product/app/app.js form now uses method="post" action="javascript:void(0)" and scopes errorEl to the live form.
cd ~/hermes-mcp
docker build -f product/app/Dockerfile -t localhost:32000/squaremcp-app:c6ab014 .
docker push localhost:32000/squaremcp-app:c6ab014
# updated product/app/app-k8s.yaml image → localhost:32000/squaremcp-app:c6ab014
microk8s kubectl apply -f product/app/app-k8s.yaml
microk8s kubectl rollout status deployment/squaremcp-app -n fetcherpay
Result: Rollout completed successfully.
Verification:
https://app.squaremcp.com/app.jscontainsmethod="post" action="javascript:void(0)"✅https://app.squaremcp.com/app.jscontainsform.querySelector('#connect-error')✅- Playwright E2E: logged in as test user, opened Facebook Connect form, submitted dummy
accessToken/pageId, URL remainedhttps://app.squaremcp.com/with no credentials in query string ✅
B — hermes-mcp (login cookie alignment)
What changed: src/index.ts POST /api/auth/login now sets sameSite: 'lax' + domain: '.squaremcp.com'.
cd ~/hermes-mcp
docker build -t localhost:32000/hermes-mcp:c6ab014 .
docker push localhost:32000/hermes-mcp:c6ab014
# updated hermes-k8s.yaml image → localhost:32000/hermes-mcp:c6ab014 (not committed — contains secrets)
microk8s kubectl apply -f hermes-k8s.yaml
microk8s kubectl rollout status deployment/hermes-mcp -n fetcherpay
Result: Rollout completed successfully. https://hermes.squaremcp.com/health returns 200.
Verification:
- Registered test user
test-deploy-c6ab014@example.comvia/api/auth/signup. - Logged in via
/api/auth/loginand inspectedSet-Cookieheader:✅ Domain:session=...; Max-Age=604800; Domain=.squaremcp.com; Path=/; HttpOnly; Secure; SameSite=Lax.squaremcp.com
✅ SameSite:Lax
C — squaremcp-docs (Communications docs page)
What changed: docs/communications.html added; nav updated across all docs pages.
cd ~/hermes-mcp
docker build -f docs/Dockerfile -t localhost:32000/squaremcp-docs:453831a .
docker push localhost:32000/squaremcp-docs:453831a
# docs/docs-k8s.yaml already referenced localhost:32000/squaremcp-docs:453831a
microk8s kubectl apply -f docs/docs-k8s.yaml
microk8s kubectl rollout status deployment/squaremcp-docs -n fetcherpay
Result: Rollout completed successfully.
Verification:
https://docs.squaremcp.com/communications.htmlreturns200✅- "Communications" link appears in nav on every docs page:
index.html✅communications.html✅platforms.html✅getting-started.html✅agent-tutorial.html✅living-brief.html✅
Notes / issues encountered
- Build context: The Dockerfiles in
product/app/Dockerfileanddocs/Dockerfileuse repo-root-relativeCOPYpaths (e.g.,product/app/app.js), so builds must be run from~/hermes-mcpwith-f <path>/Dockerfile .. Building from the subdirectory fails with missing files. - Registry:
localhost:32000registry was accessible, sodocker push+imagePullPolicy: IfNotPresentworked. Thecontainerd-importworkaround was not needed. - Containerd ctr hangs:
microk8s ctr image importandmicrok8s ctr images listboth hung indefinitely. This did not block the deploy because the registry path worked. May be worth investigating separately. - Hermes-k8s.yaml: Image tag was updated locally but not committed per handoff instructions (file contains Communications OAuth secret).
- Test user: Created
test-deploy-c6ab014@example.comfor verification. Can be deleted if desired.
Post-deploy health
https://app.squaremcp.com→200https://hermes.squaremcp.com/health→200https://docs.squaremcp.com/communications.html→200- Blackbox Exporter site health:
1.000(18/18)
Related docs
- Handoff:
SquareMCP/AI-Context/2026-06-17-claude-handoff-session-form-bug-fix.md - Previous Communications docs handoff:
SquareMCP/AI-Context/2026-06-16-claude-handoff-communications-docs-and-picker.md