Commit graph

54 commits

Author SHA1 Message Date
Daniel Roth
bd1fa09dc2 Playwright tmp dirs are cleaned up after browser close 🟥 2026-06-04 12:50:16 +00:00
Daniel Roth
416dac0512 SharePoint upload is skipped when client is None 🟥 2026-06-04 09:29:24 +00:00
Daniel Roth
19e40ff049 rename mcs_certificate to mcs_compliance_certificate to match existing db enum value 2026-06-03 09:00:01 +00:00
Daniel Roth
39fa1ccfa0 All downloaded PasHub files uploaded to SharePoint property folder 🟥 2026-06-03 08:49:37 +00:00
Daniel Roth
1a1804399e Service persists mcs_certificate file_type when evidence_category is MCS cert 🟩 2026-06-02 14:29:52 +00:00
Daniel Roth
bdc35573b5 Downloaded files carry evidence_category as DownloadedFile 🟩 2026-06-02 14:27:54 +00:00
Daniel Roth
d68cbb44f8 Downloaded files carry evidence_category as DownloadedFile 🟥 2026-06-02 14:24:24 +00:00
Daniel Roth
ca224515f9 MCS cert identified by evidence_category in get_core_file_type 🟥 2026-06-02 14:20:35 +00:00
Daniel Roth
9efd4e34c2 run() returns core and other file paths 🟥 2026-06-02 09:42:41 +00:00
Daniel Roth
af61c362b2 Other files persisted to DB with file_type OTHER 🟥 2026-06-02 09:39:39 +00:00
Daniel Roth
1a1f9f2e6a Upload other files to S3 when get_other_files is True 🟥 2026-06-02 09:35:12 +00:00
Daniel Roth
d5a3357343 Service deletes other-file temp paths after run 🟥 2026-06-01 15:52:44 +00:00
Daniel Roth
8b6f67b357 Wire service to get_evidence_files_by_job_id; retire get_core_evidence_files_by_job_id 🟪 2026-06-01 15:51:53 +00:00
Daniel Roth
9cf6eaec4b get_evidence_files_by_job_id downloads other files when include_other=True 🟥 2026-06-01 15:13:20 +00:00
Daniel Roth
15e37ef0e0 get_evidence_files_by_job_id returns DownloadedFiles with empty other when include_other=False 🟥 2026-06-01 15:09:49 +00:00
Daniel Roth
a1620f5015 Group evidence into core and other via _group_into_core_and_other_files 🟪 2026-06-01 15:07:19 +00:00
Daniel Roth
8e0392514f _select_other_files returns non-core evidence files 🟥 2026-06-01 15:03:13 +00:00
Daniel Roth
20ad0616bc PAS Hub happy path asserts file_source "pas hub" 🟩 2026-05-19 11:10:45 +00:00
Daniel Roth
a4ad1ca11c Coordination Hub file listing fallback stores correct file_source in DB 🟩 2026-05-19 11:10:18 +00:00
Daniel Roth
dc3543ac5f Coordination Hub fallback stores correct file_source in DB 🟥 2026-05-19 11:07:41 +00:00
Daniel Roth
dcff529219 UnauthorizedError propagates when both PAS and coordination clients return 401 🟩 2026-05-18 09:13:51 +00:00
Daniel Roth
5a29866245 PAS raises UnauthorizedError when 401 received with no coordination factory configured 🟩 2026-05-18 09:12:19 +00:00
Daniel Roth
d49bd3620e PAS falls back to coordination client when file listing returns 401 🟥 2026-05-18 09:08:47 +00:00
Daniel Roth
a999724578 PAS falls back to coordination client when UPRN lookup returns 401 🟥 2026-05-18 09:05:54 +00:00
Daniel Roth
ecd2676c5e pashub_job_id extracts job ID from all valid PasHub link shapes 🟩 2026-05-14 13:42:38 +00:00
Daniel Roth
5677789919 pashub_job_id extracts ID from /evidence/view links 🟩 2026-05-14 13:42:04 +00:00
Daniel Roth
0b358e6de6 pashub_job_id extracts ID from /evidence/view links 🟥 2026-05-14 13:37:14 +00:00
Daniel Roth
faf698eb71 rename functions and include typehints 2026-05-14 10:57:37 +00:00
Daniel Roth
e8b7cfdcec remove redundant unknown-file test; rename test_infer_* to test_file_type_for_* 🟪 2026-05-14 09:01:56 +00:00
Daniel Roth
fb9bdbc585 _select_latest_core_files delegates to core_file_for; _get_core_file_type removed 🟪 2026-05-14 08:53:56 +00:00
Daniel Roth
5e31c0f3da file_type_for delegates to core_file_for; _MATCHERS removed 🟪 2026-05-14 08:51:28 +00:00
Daniel Roth
541d5965b7 core_file_for OSM fallback is suppressed when evidence_category is present 🟩 2026-05-14 08:46:48 +00:00
Daniel Roth
d4cc00b5e3 core_file_for returns None for unrecognised filenames 🟩 2026-05-14 08:46:10 +00:00
Daniel Roth
a2dc945bf3 core_file_for matches remaining core file types via filename prefix 🟥 2026-05-14 08:43:41 +00:00
Daniel Roth
e940e75a43 core_file_for falls back to OSM filename pattern for Retrofit Design Doc 🟥 2026-05-14 08:41:52 +00:00
Daniel Roth
176239475a core_file_for identifies MTIP files via filename substring 🟥 2026-05-14 08:40:49 +00:00
Daniel Roth
9bbd5f1ff9 core_file_for identifies IOE files via filename substring 🟥 2026-05-14 08:39:58 +00:00
Daniel Roth
e312dd2614 core_file_for evidence_category match is case-insensitive 🟩 2026-05-14 08:39:11 +00:00
Daniel Roth
1a789ec609 new core_file_for function identifies CoreFiles type from filename and evidence category 🟥 2026-05-14 08:37:32 +00:00
Daniel Roth
75093fc833 delete incorrect comment in test 2026-05-14 07:38:58 +00:00
Daniel Roth
664c9b91fa delete incorrect comment in test 2026-05-14 07:38:43 +00:00
Daniel Roth
16af543560 Consolidate three-tier matching and tidy test ordering 🟪 2026-05-13 16:32:44 +00:00
Daniel Roth
9a04d89cae Latest wins as fallback when no OSM retrofit design doc candidates 🟩 2026-05-13 16:29:54 +00:00
Daniel Roth
3fe85a635c Latest wins when both retrofit design doc candidates have OSM 🟩 2026-05-13 16:29:24 +00:00
Daniel Roth
b685008e5e OSM candidate wins over non-OSM retrofit design doc 🟥 2026-05-13 16:28:19 +00:00
Daniel Roth
506dc92aa3 _select_latest_core_files returns single retrofit design doc 🟩 2026-05-13 16:27:42 +00:00
Daniel Roth
a8e876d83d Prefix and unknown file matching behaviour documented 🟩 2026-05-13 16:26:34 +00:00
Daniel Roth
d99d8a3347 Medium Term Improvement Plan selected via substring match 🟥 2026-05-13 16:25:02 +00:00
Daniel Roth
5c652d9485 Retrofit Design Doc startswith check removed 🟥 2026-05-13 16:24:14 +00:00
Daniel Roth
157a36f0cd Evidence category matching is case-insensitive 🟥 2026-05-13 16:14:07 +00:00