From 9ab7562d67460037f51cc11a18dd1548fa8aca27 Mon Sep 17 00:00:00 2001 From: Alex Garcia Date: Mon, 28 Sep 2026 12:31:33 -0700 Subject: [PATCH] Require Datasette 1.0a41 Datasette now rewrites Cache-Control to "private, no-store" on personalized responses, so the debug frame test checks for the no-store directive instead of an exact header value. Co-Authored-By: Claude Opus 5.5 (1M context) --- pyproject.toml | 2 +- tests/test_debug_jobs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b560d47..f31da78 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ classifiers=[ ] requires-python = ">=3.10" dependencies = [ - "datasette>=1.0a37", + "datasette>=1.0a41", "datasette-agent-edit>=0.1a0", ] diff --git a/tests/test_debug_jobs.py b/tests/test_debug_jobs.py index 23d9651..4ed45dd 100644 --- a/tests/test_debug_jobs.py +++ b/tests/test_debug_jobs.py @@ -149,7 +149,7 @@ async def test_frame_serves_job_revision_with_debug_bridge(): assert "datasette-app-debug-eval" in document assert "waitFor" in document assert job["config"]["channel_token"] in document - assert response.headers["cache-control"] == "no-store" + assert "no-store" in response.headers["cache-control"] # Only the actor who created the job may fetch the document; the # frame token additionally binds the request to the claimed run.