Skip to content

feat: httpConfig CDN support for retry-settings tests#1188

Merged
MichaelGHSeg merged 2 commits intomasterfrom
e2e-retry-settings-v2
Mar 27, 2026
Merged

feat: httpConfig CDN support for retry-settings tests#1188
MichaelGHSeg merged 2 commits intomasterfrom
e2e-retry-settings-v2

Conversation

@MichaelGHSeg
Copy link
Copy Markdown
Contributor

Summary

  • Read httpConfig from integrations["Segment.io"] in SegmentDestination.update(), falling back to top-level CDN config via analytics.getHttpConfig()
  • Add backoffEnabled parameter to classifyError() so transient errors are classified as permanent when backoffConfig.enabled is false (same for rate limit overrides when rateLimitEnabled is false)
  • Add retry-settings test suite and HTTP_CONFIG_SETTINGS env to e2e-config.json

Test plan

  • All 20 retry-settings e2e tests pass (backoff-settings, rate-limit-settings, partial-config, settings-enabled-flag)
  • All 57 existing e2e tests pass (basic, retry, settings) — no regressions (2 skipped)

🤖 Generated with Claude Code

… flags

- Read httpConfig from integrations["Segment.io"] in SegmentDestination.update(),
  falling back to top-level CDN config via analytics.getHttpConfig()
- Add backoffEnabled parameter to classifyError() so that transient errors
  are classified as permanent when backoffConfig.enabled is false
- Also handle rateLimitEnabled + statusCodeOverrides interaction when
  the relevant config is disabled
- Add retry-settings test suite to e2e-config.json

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MichaelGHSeg MichaelGHSeg changed the title feat: CDN httpConfig support for retry-settings tests feat: httpConfig CDN support for retry-settings tests Mar 26, 2026
@MichaelGHSeg MichaelGHSeg reopened this Mar 26, 2026
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MichaelGHSeg MichaelGHSeg merged commit 33a8fe2 into master Mar 27, 2026
7 checks passed
@MichaelGHSeg MichaelGHSeg deleted the e2e-retry-settings-v2 branch March 27, 2026 16:55
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.

2 participants