Skip to content

fix(compose): pass HUBSPOT_TICKETS_TOKEN to both services - #168

Merged
cryptolir merged 2 commits into
mainfrom
fix/compose-hubspot-tickets-token
Sep 28, 2026
Merged

cryptolir merged 2 commits into
mainfrom
fix/compose-hubspot-tickets-token

Conversation

@cryptolir

Copy link
Copy Markdown
Owner

Dashboard plan: docs/plans/active/social-bob-customer-check.md §2.5, implemented in cryptolir/openclaw-dashboard#641.

Why: this compose file has no env_file, so a key in an Agent's docker.env reaches its container only through the allowlist here. social-bob's tickets.py reads HUBSPOT_TICKETS_TOKEN, a separate write key (tickets + contacts) under its own name, so that a read-only Agent never holds it as HUBSPOT_TOKEN. During the cutover the key sat in docker.env, and the container never saw it.

Change: one line in each of the two env blocks, next to HUBSPOT_TOKEN. It's empty for every other Agent, as with GMAIL_*.

Validation:

  • docker compose config parses.
  • With HUBSPOT_TICKETS_TOKEN=probe-value, the value renders in both services (2 of 2).

After merge: run git pull --ff-only in /opt/openclaw on DevAgents (main == a4e3d67 there today, so only this commit comes in), then recreate social-bob. Other hosts can take it at their next pull; no Agent there needs it.

🤖 Generated with Claude Code

Liran Peretz and others added 2 commits September 28, 2026 19:21
social-bob's Customer check (dashboard openclaw#641) keeps a separate HubSpot write key under its own
name. This compose has no env_file, so a docker.env key reaches the container only through this
allowlist. The key was in docker.env and never reached tickets.py (found in the cutover,
2026-09-28). Same rule as GMAIL_* and HUBSPOT_TOKEN: empty for every other agent.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@cryptolir

Copy link
Copy Markdown
Owner Author

Checks, and why this merges with red ones. The diff is docker-compose.yml (4 lines per env block) plus STATUS.md. No source file changes.

  • check (oxfmt, tsgo, lint): ✅ after oxfmt STATUS.md. That also fixes main's own red check: main's CI at a4e3d67 failed check on the same STATUS.md formatting, so its test jobs never ran.
  • checks (node, test): ❌ 20 tests in 6 files (src/browser/server.*, src/agents/pi-embedded-runner/model.test.ts). These exist on main already: vitest run src/agents/pi-embedded-runner/model.test.ts on this branch, whose src/ is byte-identical to main, fails the same case (keeps unknown-model errors for non-gpt-5 openai-codex ids, stale since feat(models): resolve any unknown openai-codex id, not only gpt-5.3-codex #156's forward-compat change).
  • install-smoke, label, label-issues, checks (bun, test), checks-windows (node, test): the known red baseline on every PR.
  • Validation that covers this change: docker compose config parses, and HUBSPOT_TICKETS_TOKEN renders in both services.

@cryptolir
cryptolir merged commit 90d4ed6 into main Sep 28, 2026
18 of 24 checks passed
@cryptolir
cryptolir deleted the fix/compose-hubspot-tickets-token branch September 28, 2026 19:34
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