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

worker bridge - idempotency key #486

Merged
merged 3 commits into from
May 12, 2024
Merged

worker bridge - idempotency key #486

merged 3 commits into from
May 12, 2024

Conversation

justcoon
Copy link
Contributor

@justcoon justcoon commented May 8, 2024

No description provided.

@jdegoes
Copy link
Contributor

jdegoes commented May 8, 2024

@justcoon The worker bridge needs to pull idempotency keys from the HTTP header.

See here

cc @vigoo

@vigoo
Copy link
Contributor

vigoo commented May 8, 2024

Currently you can set it using Rig any way you want (for example by forwarding that or any other header) but it's not happening automatically

@afsalthaj
Copy link
Contributor

Setting the idempotency key is per binding, and this part was already done in @vigoo 's big PR

@vigoo
Copy link
Contributor

vigoo commented May 12, 2024

I think @justcoon 's latest commits also implement #324

} else {
resolved_route
.headers
.get("idempotency-key")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this working case-insensitively?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

headers should not be case sensitive, i added test

@justcoon justcoon force-pushed the worker_idempotency_key branch from 78f94d2 to ccd5405 Compare May 12, 2024 23:00
@justcoon justcoon merged commit e2926c5 into main May 12, 2024
6 checks passed
@justcoon justcoon deleted the worker_idempotency_key branch May 12, 2024 23:37
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.

4 participants