Remove references to untracked local plans/ and todos/ directories

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012U7coQfVu8nK2R4q2mCULA
This commit is contained in:
Alex Garcia 2026-08-31 13:03:56 -07:00 committed by Simon Willison
commit b8341fbcc3
2 changed files with 4 additions and 7 deletions

View file

@ -2910,10 +2910,9 @@ class Datasette:
plugin's cleanup, or skip task cancellation / ``close()``
altogether.
Order matters (decision #6, ``plans/first-request/04-core-plan.md``):
hooks run first, while background tasks are still alive, so a
plugin can coordinate with its own task (e.g. tell a queue
consumer to stop pulling new work) before that task gets
Order matters: hooks run first, while background tasks are still
alive, so a plugin can coordinate with its own task (e.g. tell a
queue consumer to stop pulling new work) before that task gets
cancelled; ``close()`` runs last so both the hooks and the
cancelled tasks still have working database connections to write
any final state.

View file

@ -1,7 +1,5 @@
"""
Tests for the shutdown(datasette) plugin hook and Datasette.invoke_shutdown(),
per plans/first-request/04-core-plan.md (decision #6) and
todos/first-request/04-shutdown-hook.md.
Tests for the shutdown(datasette) plugin hook and Datasette.invoke_shutdown().
Order under test: plugin `shutdown` hooks run first (while background tasks
are still alive) -> supervised background tasks are cancelled and drained