4 Commits
Author SHA1 Message Date
Tiago Neves 6a55df01bc fix(deploy): npm ci --include=dev in webhook-deploy.sh (BIT-33336)
CI / Test ingest-api (pull_request) Successful in 23s
CI / Test api (pull_request) Successful in 24s
CI / Lint and typecheck admin-ui (pull_request) Successful in 1m53s
CI / Validate Docker build (pull_request) Successful in 3m31s
Node 24/npm 11 omits devDependencies (tsc) on plain npm ci. Together with
the CT225 hotfix drift (context_data, resolve endpoints) preserved from
hotfix/ct225-drift-recent-errors.
2026-11-25 12:25:36 +00:00
David Santos 37ab9f1ccb fix(hub): BIT-25223 add fix-duplicate-logo.js resolve pattern + auto-apply on deploy
CI / Test api (push) Successful in 1m8s
CI / Test ingest-api (push) Successful in 1m9s
CI / Lint and typecheck admin-ui (push) Successful in 1m30s
CI / Validate Docker build (push) Successful in 5m22s
- resolveFixedPatterns.ts: add '%fix-duplicate-logo.js%' entry so any
  Chrome-style CRM JS error that reaches the hub is auto-resolved on deploy
- webhook-deploy.sh: call resolve-fixed-patterns after every service restart
  so code fixes clear stale hub incidents automatically (uses ERROR_RESOLVE_API_KEY
  from /etc/error-reporting/env which is already sourced by the script)

The 5 open incidents for ERRCLUSTER:33b4e527d8fd were bulk-resolved directly
(IDs 747145, 747381, 753209, 753550, 753551). Client-side noise filter (CRM PR #684)
prevents new occurrences.
2026-07-17 22:20:18 +00:00
David Santos ab992382bc fix(deploy): restart Fastify API on webhook promote + git safe.directory
BIT-1599 follow-up: recent-errors changes live in api/; restart
bitreport-error-reporting-api.service alongside other units.

Register ER_REPO_ROOT as a safe directory when root runs git against a
tree owned by error-reporting (avoids dubious ownership failure on
write-version-json / verify).

Paperclip: BIT-1599
Made-with: Cursor
2026-04-08 00:56:12 +00:00
1sonhador c02c300dc3 feat(deploy): version.json generation, webhook promote, verify (BIT-468)
Align LXC deploy with BIT-465: write-version-json.sh, optional
webhook-deploy.sh, verify.sh fails when ER_VERSION_JSON_PATH is set but
missing/invalid, env.example + nginx sketch + runbook updates.
Ignore deploy/lxc/runtime/ (generated on server).
2026-03-24 18:33:37 +00:00