From 5e7d2ef5bcd575c4f586cb37124d6412eb4425a1 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Mon, 31 Aug 2026 13:04:31 -0700 Subject: [PATCH] Remove references to untracked local plans/ and todos/ directories Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_012U7coQfVu8nK2R4q2mCULA --- RELEASE_NOTES_DRAFT_05.md | 4 ++-- tests/test_lifespan.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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