Skip to content

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

Open
MichaelGHSeg wants to merge 2 commits intomasterfrom
e2e-retry-settings-v2
Open

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

Conversation

@MichaelGHSeg
Copy link
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>
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