diff --git a/RELEASE_NOTES_DRAFT_05.md b/RELEASE_NOTES_DRAFT_05.md index 8c874e65..9e0de848 100644 --- a/RELEASE_NOTES_DRAFT_05.md +++ b/RELEASE_NOTES_DRAFT_05.md @@ -1,7 +1,7 @@ # Release notes draft — ticket 05 (wrapper reorder) -Scratch file: content to be folded into `docs/changelog.rst` by ticket 07 -(`todos/first-request/07-docs-and-changelog.md`). Not part of the shipped +Scratch file: content to be folded into `docs/changelog.rst` by the final +docs PR in this stack, which also deletes this file. Not part of the shipped docs on its own. ## Plugin hooks diff --git a/tests/test_lifespan.py b/tests/test_lifespan.py index b3c14548..9283542a 100644 --- a/tests/test_lifespan.py +++ b/tests/test_lifespan.py @@ -8,7 +8,7 @@ These exercise Datasette._startup_sequence() via three different callers: events (this is what DatasetteClient / plain httpx.ASGITransport uses) - Both at once, to prove startup hooks run at most once -Also covers ticket 05 (plans/first-request/04-core-plan.md decision #7): +Also covers the asgi_wrapper reorder: plugin asgi_wrapper middleware runs INSIDE AsgiRunOnFirstRequest (below it) but OUTSIDE AsgiLifespan (above it), so wrappers only ever see http/ websocket scopes after startup has completed, in both the lifespan and