pediatric-ai-scribe-v3/test
Daniel d2a06b0fcf feat: modifying a resource is a job, the same as generating one
Modify held the request open for a library search, a PubMed search, a web
search and a restating model call. That is minutes, and a browser gives up
first — Firefox abandons a non-streaming fetch at five minutes, the same
failure generating was moved off the request to fix in ef574edd. The server
carried on and saved the result while the person watched an error, and closing
the tab killed the work outright.

POST /my-resources/:id/refine now records the request and answers 202 with the
job, exactly as /generate does. The writing moved into refineResource(), which
the job runner dispatches to by kind; the job list, the five-second polling,
the restart recovery and the three-in-flight cap are all the work they already
did, unchanged. Ownership is checked again inside refineResource because the
resource can be deleted while the job waits.

The page follows the job instead of the response. Reporting is unchanged — the
unchanged reply, what was seen and what was searched — it is only said from the
job list now, so it still reaches the person who asked for it after a reload.
2026-09-16 23:28:42 +02:00
..
fixtures fix: a deck reply that closed a slide early is repaired, and a modification keeps the theme 2026-09-13 13:43:21 +02:00
account-boundary.test.js test: the boundary stores the owner id as a string; compare it as one 2026-09-13 14:37:02 +02:00
admin-clinical-assistant-wiring.test.js fix: the assistant asks for context around each excerpt again — read from the stored chunks, 1400 characters by default 2026-09-13 17:41:01 +02:00
admin-docs-toc.test.js test docs toc links 2026-05-09 01:33:06 +02:00
assistant-attachment-roundtrip.test.js feat: the assistant degrades politely under load — bounded retrieval queue, per-user limit, short search cache 2026-09-14 07:56:26 +02:00
assistant-autosave.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
assistant-citation-modal.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
assistant-citations.test.js fix: citation chips that sit together read in ascending order 2026-09-13 14:42:51 +02:00
assistant-component-css.test.js refactor: drop the "Saved Chats" header and collapse arrow from the rail 2026-09-10 13:27:29 +02:00
assistant-enter-to-send.test.js feat: Enter sends in the assistant, and the person chooses 2026-09-12 18:05:36 +02:00
assistant-export-owner.test.js feat: integrate durable image jobs/private assets into current core 2026-09-07 16:53:42 +02:00
assistant-image-attachments.test.js feat: the assistant degrades politely under load — bounded retrieval queue, per-user limit, short search cache 2026-09-14 07:56:26 +02:00
assistant-image-done.test.js fix: image Done state, chat titles that keep whole words, and readable extension cards 2026-09-10 06:44:22 +02:00
assistant-image-intent.test.js feat: a text-only model can ask a model that can see; and the image regex is gone 2026-09-12 15:43:36 +02:00
assistant-math-mhchem.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
assistant-message-actions.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
assistant-mobile.test.js feat: One Sign In is the only door; the SSO-only switch is gone 2026-09-15 03:33:53 +02:00
assistant-open-chat-restore.test.js feat: the assistant reopens the chat you were in, and DeepSeek answers without thinking when told to 2026-09-14 15:24:48 +02:00
assistant-rate-limit-and-cache.test.js feat: the assistant degrades politely under load — bounded retrieval queue, per-user limit, short search cache 2026-09-14 07:56:26 +02:00
assistant-saved-tables.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
assistant-sharing-boundary.test.js feat: integrate durable image jobs/private assets into current core 2026-09-07 16:53:42 +02:00
assistant-sources-cleaning.test.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
assistant-streaming-blocks.test.js fix: a deck's illustration stays out of the page (status line only, tile under Images); a streaming table head is held back, never shown as pipes 2026-09-13 21:11:36 +02:00
assistant-translate.test.js feat: the assistant degrades politely under load — bounded retrieval queue, per-user limit, short search cache 2026-09-14 07:56:26 +02:00
assistant-user-markdown.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
assistant-voice-mode.test.js fix: voice mode reads the answer that just arrived, and reads what the page shows 2026-09-11 21:10:50 +02:00
assistant-voice.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
assistant-workspace-layout.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
attachment-magic-bytes.test.js fix: an assistant attachment must be the image type it claims to be 2026-09-12 19:00:10 +02:00
backend-hardening.test.js feat: local registration is closed for good, and its on/off switch is gone 2026-09-15 03:18:57 +02:00
bedside-respiratory-ventilation.test.js allow bedside respiratory without weight 2026-05-08 09:10:33 +02:00
build-id.test.js feat: a deploy you can repeat, and prove afterwards 2026-09-11 00:41:11 +02:00
calc-math.test.js feat: B — extract drug data to public/data/drugs.json (schema v1.0) 2026-04-20 04:23:24 +02:00
calculators-data.test.js consolidate calculator growth helpers 2026-05-08 04:36:39 +02:00
chat-model-discovery-filter.test.js wip: invite codes stay copyable 2026-09-12 21:00:22 +02:00
citation-ordering.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
clinical-assistant-prompt-pool.test.js feat: starter questions are things to learn, not scenarios, and DeepSeek writes them without thinking 2026-09-14 18:25:05 +02:00
clinical-conversation.test.js feat: the assistant degrades politely under load — bounded retrieval queue, per-user limit, short search cache 2026-09-14 07:56:26 +02:00
clinical-generation-options.test.js feat: DeepSeek is asked without thinking unless the caller asks for it 2026-09-16 04:11:35 +02:00
clinical-mcp-session-lifecycle.test.js feat: share a resource with people on this site — by email, or with everyone 2026-09-13 15:13:28 +02:00
clinical-notes-entrypoints.test.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
clinical-release-integration.test.js fix: the assistant asks for context around each excerpt again — read from the stored chunks, 1400 characters by default 2026-09-13 17:41:01 +02:00
clinical-retrieval-title.test.js refactor: retrieval is text-only; admins can add model ids discovery never returns 2026-09-09 23:35:06 +02:00
clinical-table-preservation.test.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
corpus-retrieval.test.js feat: retire Learning Hub 2026-09-12 20:14:20 +02:00
crypto-context-binding.test.js refactor: sign-in codes and registration invitations leave; the SSO has both 2026-09-13 06:11:00 +02:00
deck-formats.test.js fix: a question slide's options are lettered once, and a bare-letter answer names its option 2026-09-14 15:14:32 +02:00
deck-image-placeholders.test.js feat: deck cards fit their content, callouts use the theme's ink, questions can carry a film, formats end with references 2026-09-14 15:35:10 +02:00
deck-review.test.js feat: modifying a resource is a job, the same as generating one 2026-09-16 23:28:42 +02:00
deck-theme-applied.test.js fix: every presentation takes a theme, not only the ones the model designed 2026-09-13 13:32:24 +02:00
deck-theme-sample.test.js feat: templates, not just palettes — colour title and section pages, heading bands, striped callouts, question slides with answers, key-point strips, page footers; Grand Rounds and Board Review join the catalogue 2026-09-13 18:05:41 +02:00
deck-themes.test.js feat: modifying a resource is a job, the same as generating one 2026-09-16 23:28:42 +02:00
doc-spec.test.js feat: Word is built by python-docx from the same typed source as the deck 2026-09-11 21:58:53 +02:00
e2e-harness.test.js test(e2e): repair the harness, taking the browser suite from 96 failures to 11 2026-09-11 18:54:03 +02:00
empty-answer.test.js fix: an empty answer from the model was the one failure never caught 2026-09-12 07:41:04 +02:00
extension-transfer.test.js feat: ship reviewed prompt history, conversation limits and account protections 2026-09-07 04:01:01 +02:00
frontend-prompt-env.test.js fix: the assistant asks for context around each excerpt again — read from the stored chunks, 1400 characters by default 2026-09-13 17:41:01 +02:00
frontend-rendering-safety.test.js feat: the announcement banner renders Markdown, safely 2026-09-10 19:08:12 +02:00
generated-image-cache.test.js feat: an image library — every picture this account has made 2026-09-12 14:36:30 +02:00
generated-image-storage.test.js feat: integrate durable image jobs/private assets into current core 2026-09-07 16:53:42 +02:00
generated-image-tools.test.js feat: the assistant degrades politely under load — bounded retrieval queue, per-user limit, short search cache 2026-09-14 07:56:26 +02:00
generated-images-ui.test.js refactor: citations are a markdown-it token, and the numbers you see are display order 2026-09-13 04:41:40 +02:00
image-fallback-chain.test.js feat: image fallback chains for every workflow, and a library worth looking at 2026-09-12 14:53:04 +02:00
image-key-collision.test.js fix: a second deck reused the first deck's pictures 2026-09-12 08:26:09 +02:00
image-library.test.js feat: image fallback chains for every workflow, and a library worth looking at 2026-09-12 14:53:04 +02:00
mcp-client-concurrency.test.js feat: the assistant degrades politely under load — bounded retrieval queue, per-user limit, short search cache 2026-09-14 07:56:26 +02:00
mcp-collection-fanout.test.js feat: the assistant searches every collection the library declares, fused by rank — one collection stays one call 2026-09-14 13:57:56 +02:00
mcp-shutdown.test.js feat: integrate durable image jobs/private assets into current core 2026-09-07 16:53:42 +02:00
metrics.test.js fix metrics route normalization 2026-05-08 20:22:14 +02:00
model-defaults.test.js feat: retire Learning Hub 2026-09-12 20:14:20 +02:00
model-roster-pruning.test.js feat: send a resource to your own Nextcloud, as the rendered file 2026-09-12 20:34:58 +02:00
models-changed-propagation.test.js fix: a newly added model reaches every picker, including the user-facing ones 2026-09-12 17:46:18 +02:00
module-entrypoints.test.js feat: retire Learning Hub 2026-09-12 20:14:20 +02:00
my-resources-refine.test.js feat: modifying a resource is a job, the same as generating one 2026-09-16 23:28:42 +02:00
my-resources-stale-results.test.js fix: the last run's illustration no longer sits under an empty form 2026-09-12 17:43:19 +02:00
my-resources.test.js feat: modifying a resource is a job, the same as generating one 2026-09-16 23:28:42 +02:00
nextcloud-login-flow.test.js fix: the Nextcloud login flow waits in Redis, so any replica can answer the poll 2026-09-14 07:31:52 +02:00
notes-sanitize.test.js fix diagram delete confirmation 2026-05-08 06:28:12 +02:00
oidc-roles.test.js feat: roles follow the SSO's groups, on every sign-in 2026-09-13 13:54:12 +02:00
open-tab-from-hash.test.js feat: sharing is by link — follow it, accept, and it is in your resources 2026-09-13 15:20:35 +02:00
openapi.test.js feat: local registration is closed for good, and its on/off switch is gone 2026-09-15 03:18:57 +02:00
patient-takehome.test.js feat: the assistant degrades politely under load — bounded retrieval queue, per-user limit, short search cache 2026-09-14 07:56:26 +02:00
pe-guide-data.test.js move pe guide data to json 2026-05-08 08:56:21 +02:00
policy-flows.test.js feat: the password door is gone; One Sign In is the only way in 2026-09-15 04:14:04 +02:00
policy-ui.test.js feat: retire Learning Hub 2026-09-12 20:14:20 +02:00
prompt-administration.test.js fix: the image settings card can save again; Learning Hub is out of the admin 2026-09-13 01:39:15 +02:00
release.test.js ci: fix the failing job, split deploy out, and drop the Android build 2026-09-12 23:30:52 +02:00
resource-previews.test.js feat: the preview is a viewer — one page at a time, arrows, keys, swipe, a PDF tab and downloads; the theme leaves the list row 2026-09-13 17:49:22 +02:00
resource-sharing.test.js feat: modifying a resource is a job, the same as generating one 2026-09-16 23:28:42 +02:00
resource-to-nextcloud.test.js feat: a ciphertext now only decrypts in the row it was written for 2026-09-12 21:25:24 +02:00
review-model-vision-guard.test.js feat: a text-only model can ask a model that can see; and the image regex is gone 2026-09-12 15:43:36 +02:00
session-quiz-ed-regressions.test.js feat: retire Learning Hub 2026-09-12 20:14:20 +02:00
slide-shapes.test.js feat: record what a deck wanted and could not have 2026-09-11 22:51:15 +02:00
slide-spec.test.js feat: a figure the deck wanted and did not get keeps its place as an empty labelled frame 2026-09-14 14:46:29 +02:00
stt-provider.test.js simplify speech and embeddings through litellm 2026-05-09 05:09:02 +02:00
transcription-memory-policy.test.js fix: a failed recording keeps its tab and the retry adds the words after the last word; Settings drops the session list; FAQ says what sign out does 2026-09-13 17:56:32 +02:00
tts-provider.test.js feat: speech models have a roster; each brings its voices, users choose across all of them 2026-09-13 04:49:24 +02:00
vision-tool.test.js fix: the active library view is unmistakable, and a leading question cannot mislead the vision model 2026-09-12 16:27:21 +02:00
web-search.test.js feat: modifying a resource is a job, the same as generating one 2026-09-16 23:28:42 +02:00
well-visit-data.test.js remove legacy well visit schedule data 2026-05-08 08:59:23 +02:00