Jun-te Kim
d70e8a9e53
utilities/aws_lambda: @subtask_handler injects TaskOrchestrator as third positional arg
...
The wrapped function now receives the decorator-owned TaskOrchestrator as
a third positional argument so handlers can compose their own use-case
orchestrator that shares the session, instead of opening a second Postgres
connection per invocation.
Both existing callers (backend/ordnanceSurvey/main.py and
backend/bulk_address2uprn_combiner/main.py) have their signatures extended
to accept the new positional argument (typed Optional[TaskOrchestrator] so
the legacy backend.utils.subtasks.subtask_handler — which only passes two
args — keeps working until the migration to the new decorator lands).
@task_handler is intentionally unchanged in this slice; symmetry is
deferred per issue #1103 .
2026-05-19 17:31:27 +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
1e115ba3de
Coordination Hub fallback stores correct file_source in DB 🟩
2026-05-19 11:09:01 +00:00
Daniel Roth
dc3543ac5f
Coordination Hub fallback stores correct file_source in DB 🟥
2026-05-19 11:07:41 +00:00
Daniel Roth
b2e896f4eb
Merge pull request #1093 from Hestia-Homes/feature/address_additional
...
added more test cases
2026-05-18 13:11:39 +01:00
Daniel Roth
770493ff9e
add logging
2026-05-18 11:51:48 +00:00
Daniel Roth
4cd59768c3
Wire coordination account fallback into config and handler, remove token-refresh retry 🟩
2026-05-18 09:22:32 +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
0c1ecabf2f
PAS falls back to coordination client when file listing returns 401 🟩
2026-05-18 09:09:18 +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
e044638192
PAS falls back to coordination client when UPRN lookup returns 401 🟩
2026-05-18 09:06:46 +00:00
Daniel Roth
a999724578
PAS falls back to coordination client when UPRN lookup returns 401 🟥
2026-05-18 09:05:54 +00:00
Jun-te Kim
fce1e1008a
added more test cases
2026-05-15 16:00:02 +00:00
Jun-te Kim
0573db1151
Merge pull request #1089 from Hestia-Homes/feature/run_docker_compose_tests_early
...
smoke tests
2026-05-15 13:36:43 +01:00
Jun-te Kim
6afd076005
added 5 second rest every 100 tests
2026-05-15 11:28:04 +00:00
Daniel Roth
ad49bf9d85
tweak logs
2026-05-15 11:00:58 +00:00
Daniel Roth
eeb2f9eb20
tweaks before PR
2026-05-15 10:58:42 +00:00
Jun-te Kim
6c8080ef62
smoke tests
2026-05-14 16:57:31 +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
03ae73f39a
trigger via sqs from local file
2026-05-14 13:37:08 +00:00
Daniel Roth
c98fc8452f
Merge pull request #1086 from Hestia-Homes/feature/pashub-additional-files
...
Fetch coordination and design documents from pashub
2026-05-14 11:59:43 +01:00
Daniel Roth
955db1c3eb
additional typehint
2026-05-14 10:58:38 +00:00
Daniel Roth
faf698eb71
rename functions and include typehints
2026-05-14 10:57:37 +00:00
Daniel Roth
cc6b64ee2b
Merge pull request #1080 from Hestia-Homes/feature/magicplan_uploaded_file_id
...
Include uploaded file ID on MagicPlan plan
2026-05-14 10:23:33 +01: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
605f2e3d1e
core_file_for matches remaining core file types via filename prefix 🟩
2026-05-14 08:45:18 +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
3ef8a59122
core_file_for falls back to OSM filename pattern for Retrofit Design Doc 🟩
2026-05-14 08:43:04 +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
4d3d6dba05
core_file_for identifies MTIP files via filename substring 🟩
2026-05-14 08:41:26 +00:00
Daniel Roth
176239475a
core_file_for identifies MTIP files via filename substring 🟥
2026-05-14 08:40:49 +00:00
Daniel Roth
46355be3f1
core_file_for identifies IOE files via filename substring 🟩
2026-05-14 08:40:21 +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
9adb467a02
new core_file_for function identifies CoreFiles type from filename and evidence category 🟩
2026-05-14 08:38:36 +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
aff79d4151
OSM candidate wins over non-OSM retrofit design doc 🟩
2026-05-13 16:28:50 +00:00