Skip to content

Dev#15

Merged
Fabien83560 merged 5 commits into
mainfrom
dev
Jul 8, 2026
Merged

Dev#15
Fabien83560 merged 5 commits into
mainfrom
dev

Conversation

@Fabien83560

Copy link
Copy Markdown
Member

Summary

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation
  • CI / tooling

Related issue

Closes #

Changes

Testing

  • Existing tests pass
  • New tests added (if applicable)
  • Tested manually — steps described below

Checklist

  • My code follows the project's style and conventions
  • I have updated the documentation if needed
  • I have updated CHANGELOG.md
  • No sensitive data is exposed (no tokens, no real user data, no private URLs)

npm test is the standard convention every tool and CI runner expects
out of the box; the non-standard "tests" name required an explicit
"npm run tests" everywhere, including in this repo's own CI/release
workflows, which are updated accordingly.
No linter was configured in this repo. Added flat-config ESLint
(recommended ruleset + Node globals) as a devDependency, exposed via
"npm run lint", and a dedicated lint job in ci.yml (the job itself
was added alongside the previous commit's CI changes).
Matches the saas-api header rename (CDC section 8.4.1). Breaking
change for cloud mode users against a saas-api deployment that has
also picked up its companion rename — both must ship together.

Verified end-to-end: CloudTransport.writeRoutes() against a local
saas-api test instance registers the route correctly with the new
header. 82/82 tests still pass.
Extract the fixed send cadence into a shared FLUSH_INTERVAL_MS constant
used by both the Aggregator default and the SDK factory, so no wiring
change can silently shorten it. Add a regression test that freezes it.

The SDK only guards against misconfiguration; real ingest throttling is
enforced server-side (per-key rate limit + monthly quota).
Ship the breaking cloud header rename (X-API-Key -> X-APIForge-Key).
Registry versions 3.x send the old header and are rejected with 401 by
the current API; 4.0.0 is required for cloud mode.
@Fabien83560
Fabien83560 merged commit cb4bf4f into main Jul 8, 2026
6 checks passed
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