Dev#15
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Type of change
Related issue
Closes #
Changes
Testing
Checklist
CHANGELOG.md