Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fault injection to use a single x-bp-fault header. #690

Draft
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

HiramSilvey
Copy link
Contributor

@HiramSilvey HiramSilvey commented Feb 26, 2025

💸 TL;DR

This PR consolidates all of the fault injection headers into one. This is necessary to allow multiple fault injection configurations on a single request.

📜 Details

DM me for the doc.

Note that this PR removes support for the original x-bp-fault- headers. My understanding is that this is OK since this is a new unused feature. If backwards compatibility is required, however, let me know and I can update this to ensure the previous headers are still read as backups.

🧪 Testing Steps / Validation

This was tested solely through comprehensive unit testing.

✅ Checks

  • CI tests (if present) are passing
  • Adheres to code style for repo
  • Contributor License Agreement (CLA) completed if not a Reddit employee

@HiramSilvey HiramSilvey changed the title Move to a new single x-bp-fault header. Update fault injection to use a single x-bp-fault header. Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant