Skip to content

Fixes from the 5 Oct error review: copy, header names, Odoo grouping, Sentry noise - #885

Merged
keysersoft merged 2 commits into
mainfrom
keysersoft/error-review-oct5
Oct 5, 2026
Merged

keysersoft merged 2 commits into
mainfrom
keysersoft/error-review-oct5

Conversation

@keysersoft

Copy link
Copy Markdown
Contributor

From a review of Sentry and of tool_invocations on cloud for the last 48 h.

Changes

  • Copy that reports failure. Every copy button now goes through copyText() (clipboard API, then the textarea fallback that mcp-server/[id] already had) and only says "Copied" when it worked. The new API key's Copy button said "Copied!" while the browser refused the write (ANYTHINGMCP-CLOUD-FRONTEND-C), and that key is shown only once.
  • Header names checked. ConnectorsService.create/update refuse header names that are not HTTP tokens (plain headers, authConfig.headerName, signature.headerName), and RestEngine refuses them before sending with a message that explains what Header Name is. Two Odoo connectors had the label of their key there ("Valentino API Key", "API Odoo") and every call failed with Node's "Header name must be a valid HTTP token". The API-key fields show the rule as you type. Catalog and production plain headers: none affected (checked).
  • Odoo (JSON-2): read_group does not exist on Odoo 19 (404, 13 calls in 2 orgs). Instructions and odoo_call_method now point to formatted_read_group with aggregates.
  • Sentry noise: backend ignores raw-body's request aborted (client hung up before its body was read; ANYTHINGMCP-CLOUD-BACKEND-6, 1,388 events from one looping client on 4 Oct); the cloud app ignores blocked Google Tag Manager beacons (ANYTHINGMCP-CLOUD-FRONTEND-D).

Tests

  • Backend: new http-header-name.util.spec.ts, rest.engine case (refused before axios is called); connectors + adapters suites green locally (the HANA suite needs hdb, missing in my local install only).
  • Frontend: tsc clean, sentry-injected-scripts.spec.ts 5/5 with the new ignore cases.

…names checked, Odoo grouping, Sentry noise

- Copy buttons go through one copyText() helper with the textarea fallback and
  only say "Copied" when it worked. The new API key button said "Copied!"
  while the browser refused the write, for a key shown only once
  (ANYTHINGMCP-CLOUD-FRONTEND-C).
- Header names are checked as HTTP tokens when a connector is saved and before
  a request is sent, with a message that explains Header Name. Two Odoo
  connectors had the key's label ("Valentino API Key", "API Odoo") there and
  every call failed with Node's "Header name must be a valid HTTP token".
  The API-key forms show the rule as you type.
- Odoo (JSON-2): read_group does not exist on Odoo 19; the instructions and
  odoo_call_method point to formatted_read_group (13 failed calls in 2 orgs).
- Sentry: ignore raw-body's "request aborted" on the backend
  (ANYTHINGMCP-CLOUD-BACKEND-6, 1,388 events from one looping client) and
  blocked Google Tag Manager beacons in the cloud app
  (ANYTHINGMCP-CLOUD-FRONTEND-D).
@keysersoft
keysersoft enabled auto-merge (squash) October 5, 2026 12:07
@keysersoft
keysersoft merged commit 755e30c into main Oct 5, 2026
13 checks passed
@keysersoft
keysersoft deleted the keysersoft/error-review-oct5 branch October 5, 2026 12:11
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant