E2E: async context propagation on Spring Boot sample - #344
Open
Mishenevd wants to merge 1 commit into
Open
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Mishenevd
force-pushed
the
feat/async-context-propagation-e2e
branch
from
August 17, 2026 10:54
ac77805 to
decfedc
Compare
Mishenevd
force-pushed
the
feat/async-context-propagation-e2e
branch
from
August 17, 2026 15:58
decfedc to
3e8d4ce
Compare
Mishenevd
force-pushed
the
feat/async-context-propagation-e2e
branch
from
August 17, 2026 16:33
3e8d4ce to
64e930b
Compare
Mishenevd
force-pushed
the
feat/async-context-propagation-e2e
branch
from
August 17, 2026 16:40
64e930b to
1b996f6
Compare
Mishenevd
force-pushed
the
feat/async-context-propagation-e2e
branch
from
August 17, 2026 23:49
1b996f6 to
fc28bce
Compare
Demonstrate request-context propagation end to end across the JDK executor types and Spring's TaskExecutor / @async: seven /api/pets/create/async/* endpoints run the SQL insert on a worker thread and must still detect the SQLi payload. Wire the matching end2end payloads into spring_boot_postgres.
Mishenevd
force-pushed
the
feat/async-context-propagation-e2e
branch
from
August 17, 2026 23:54
fc28bce to
da9a18a
Compare
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.
Last of the stack, on top of #343 — an end-to-end proof rather than new agent code.
Seven
/api/pets/create/async/*endpoints on the Spring Boot Postgres sample run the same SQL insert, each offloaded to a worker a different way: the JDK executor types plus Spring'sTaskExecutorand@Async. The e2e (spring_boot_postgres.py) fires the SQLi payload at each one and expects it to be blocked, which only happens if the context survived the thread hop.So it doubles as a regression net for #342/#343: if propagation breaks for any of these async styles, one of these endpoints stops blocking.