mirror of
https://github.com/PrefectHQ/fastmcp.git
synced 2026-08-09 15:19:10 +02:00
fix: resolve CurrentFastMCP/ctx.fastmcp to child server in mounted background tasks (#3651)
This commit is contained in:
parent
426572670e
commit
b9ea53618d
5 changed files with 139 additions and 11 deletions
|
|
@ -36,6 +36,7 @@ If you do open a PR:
|
|||
- **Keep it focused.** One logical change per PR. Don't bundle unrelated fixes or refactors.
|
||||
- **Match existing patterns.** Follow the code style, type annotation conventions, and test patterns you see in the codebase. Run `uv run prek run --all-files` before submitting.
|
||||
- **Write tests.** Bug fixes should include a test that fails without the fix. Enhancements should include tests for the new behavior.
|
||||
- **Fix the cause, not the symptom.** If the bug is that a code path skips a step, the fix should make it stop skipping that step — not add compensation elsewhere. Workaround-style fixes will be sent back for revision.
|
||||
- **Don't submit generated boilerplate.** We review every line. PRs that read like unedited LLM output — verbose descriptions, speculative changes, shotgun-style fixes — will be closed.
|
||||
|
||||
## What we'll close without review
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue