diff --git a/protocols/sessions/2026-05-26_google-chat-webhook-ferdig.md b/protocols/sessions/2026-05-26_google-chat-webhook-ferdig.md new file mode 100644 index 0000000..a6abe42 --- /dev/null +++ b/protocols/sessions/2026-05-26_google-chat-webhook-ferdig.md @@ -0,0 +1,46 @@ +# OSVauco OPAX Snapshot — 2026-05-26 — Google Chat Webhook + cloudbuild.yaml fix + +**Tidspunkt:** 2026-05-26 03:45 CEST +**Agent:** OPAX (Perplexity + Gemini CLI TUI) + +--- + +## ✅ Google Chat Webhook — FULLFØRT + +- Secret `webhook-url` opprettet i Secret Manager (`propane-will-491900-m5`) +- Cloud Build compute SA fikk `roles/secretmanager.secretAccessor` på `webhook-url` +- Chat-melding verifisert mottatt i Google Chat ved manuell trigger-kjøring +- Build ID for test: `1576b576-cee1-4a3b-bb73-8e34e0fb0584` — STATUS: SUCCESS + +## ✅ cloudbuild.yaml — notify-steg fikset + +**Problem:** Bash-variabler (`$_WH_URL`, `$_NOTIFY_MSG`) ble tolket som Cloud Build-substitusjoner +**Fix:** Escaped til `$$WH_URL` og `$$NOTIFY_MSG` +**Commit:** `cda1ef915749beae331d892ef84edc509b945966` +**Melding:** `fix: escape bash variables in notify step ($$VAR)` + +--- + +## Fullstendig pipeline-status + +| Steg | Beskrivelse | Status | +|------|-------------|--------| +| cost-check | Kjører 09-cost-check.sh | ✅ | +| build | Docker build fra agents/core-logic | ✅ | +| push | Push til Artifact Registry | ✅ | +| deploy | Cloud Run deploy med COMMIT_SHA | ✅ | +| notify | Google Chat-varsling via webhook-url secret | ✅ | + +--- + +## Gjenstående +| Task | Status | +|------|--------| +| B5 Cost guard + GCS ML-telemetri sink | 🔲 Neste | +| B1-IAP opax.vauco.no | 🔲 Ikke startet | + +## ⚠️ Teardown +Aktiv revisjon kjører. Husk: +```bash +bash infrastructure/03-teardown.sh +``` diff --git a/protocols/sessions/index.md b/protocols/sessions/index.md index 0befc01..755fa4c 100644 --- a/protocols/sessions/index.md +++ b/protocols/sessions/index.md @@ -13,3 +13,5 @@ | 2026-05-26 | RAG corpus kobling til osvauco-agent — boot, snapshot-sti-avklaring, index-oppdatering | [2026-05-26_rag-corpus-kobling-agent.md](./2026-05-26_rag-corpus-kobling-agent.md) | | 2026-05-26 | Deploy + CI/CD handoff — B2/B3/B4/B5 gjenstår, teardown-påminnelse | [2026-05-26_deploy-cicd-handoff.md](./2026-05-26_deploy-cicd-handoff.md) | | 2026-05-26 | B2 + B3 fullført — Secret Manager verifisert, Cloud Build 2nd gen pipeline oppe | [2026-05-26_b2-b3-cicd-ferdig.md](./2026-05-26_b2-b3-cicd-ferdig.md) | +| 2026-05-26 | B3 trigger-test SUCCESS — revisjon 00065-z7t | [2026-05-26_b3-trigger-test-ok.md](./2026-05-26_b3-trigger-test-ok.md) | +| 2026-05-26 | Google Chat webhook + cloudbuild.yaml bash-fix — CI/CD komplett | [2026-05-26_google-chat-webhook-ferdig.md](./2026-05-26_google-chat-webhook-ferdig.md) |