Daniel Roth
442352c378
Drop the unused DownloadedFile import from the client tests 🟪
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:07:23 +00:00
Daniel Roth
38cae15f4d
Preserve SharePoint distribution when the site-note save fails loudly 🟩
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
e31d2ad2d1
Preserve SharePoint distribution when the site-note save fails loudly 🟥
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
62c0151469
Fill partial summaries best-effort, fail loudly, skip evidence-only jobs, and retry on Coordination Hub 🟩
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
377c030c77
Overlay PasHub as-surveyed performance onto saved Site-Notes property 🟩
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
43fac40595
Overlay PasHub as-surveyed performance onto saved Site-Notes property 🟥
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
ded8cf1e46
Raise loudly when RdSAP Summary fetch returns an HTTP error 🟩
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
eff4f64426
Raise loudly when RdSAP Summary fetch returns an HTTP error 🟥
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
83d92010de
Raise UnauthorizedError when RdSAP Summary fetch returns 401 🟩
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
b596f32af1
Raise UnauthorizedError when RdSAP Summary fetch returns 401 🟥
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
af6c461c93
Map PasHub RdSAP Summary response to as-surveyed performance values 🟩
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
85482cdf9e
Map PasHub RdSAP Summary response to as-surveyed performance values 🟥
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-14 14:06:45 +00:00
Daniel Roth
b5c05166db
Persist resolved UPRN on PasHub site-notes rows ( #1537 )
...
Thread the UPRN the PashubService has already resolved for a job into the
PasHub site-notes mapper so the EpcPropertyData aggregate is born with its
uprn set, and the existing save_epc_property_data path persists it.
- EpcPropertyDataMapper.from_site_notes gains uprn: Optional[int] = None and
sets it unconditionally (site notes never carry a UPRN natively).
- parse_site_notes_pdf / _parse_pashub forward the uprn; the Elmhurst branch
is untouched.
- PashubService coerces uprn str -> int in one place, carries it on the
internal upload record, and passes it into parse_site_notes_pdf.
- No new lookups; jobs with no known UPRN still persist null, unchanged.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-10 13:19:28 +00:00
Jun-te Kim
f226570b0f
upgraded python version
2026-06-17 09:28:24 +00:00
Daniel Roth
5178cd02c5
UploadedFile, FileTypeEnum, FileSourceEnum importable from infrastructure.postgres.uploaded_file_table 🟩
...
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-09 11:50:51 +00:00
Daniel Roth
ab465bf010
increase pashub fetcher timeout to 5 mins
2026-06-04 15:12:29 +00:00
Daniel Roth
428a5db513
Playwright tmp dirs are cleaned up after browser close 🟩
2026-06-04 12:51:14 +00:00
Daniel Roth
bd1fa09dc2
Playwright tmp dirs are cleaned up after browser close 🟥
2026-06-04 12:50:16 +00:00
Daniel Roth
db2cbc9c57
SharePoint upload is skipped when client is None 🟩
2026-06-04 09:33:07 +00:00
Daniel Roth
416dac0512
SharePoint upload is skipped when client is None 🟥
2026-06-04 09:29:24 +00:00
Daniel Roth
eb72b0223f
add ECO_SHAREPOINT_ID env var
2026-06-04 09:11:08 +00:00
Daniel Roth
d31d0683f5
get triggers working for abri address list
2026-06-03 14:23:08 +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
36f50c3bef
Merge branch 'main' into pashub-fetcher-all-files
2026-06-03 08:57:31 +00:00
Daniel Roth
7984a6ded8
All downloaded PasHub files uploaded to SharePoint property folder 🟩
2026-06-03 08:52:30 +00:00
Daniel Roth
39fa1ccfa0
All downloaded PasHub files uploaded to SharePoint property folder 🟥
2026-06-03 08:49:37 +00:00
Daniel Roth
37ec409553
tweak local trigger
2026-06-03 08:21:54 +00:00
Jun-te Kim
4e02eb7c77
more tests to ensure we don't deploy something that is brokern
2026-06-02 15:03:20 +00:00
Daniel Roth
223c1a259b
adjust comment about evidence type
2026-06-02 14:32:13 +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
98eccda0ba
MCS cert identified by evidence_category in get_core_file_type 🟩
2026-06-02 14:21:58 +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
5df874b978
evidence categories plus typehinting
2026-06-02 12:54:12 +00:00
Daniel Roth
62676cfbc9
run() returns core and other file paths 🟩
2026-06-02 09:43:48 +00:00
Daniel Roth
9efd4e34c2
run() returns core and other file paths 🟥
2026-06-02 09:42:41 +00:00
Daniel Roth
fa450a37a3
Other files persisted to DB with file_type OTHER 🟩
2026-06-02 09:41:39 +00:00
Daniel Roth
af61c362b2
Other files persisted to DB with file_type OTHER 🟥
2026-06-02 09:39:39 +00:00
Daniel Roth
ecca84294a
Upload other files to S3 when get_other_files is True 🟩
2026-06-02 09:37:17 +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
9b74bc5f3f
tidying for readability
2026-06-02 08:09:36 +00:00
Daniel Roth
60447a58e3
Service deletes other-file temp paths after run 🟩
2026-06-01 15:53:28 +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
ad4b88515d
get_evidence_files_by_job_id downloads other files when include_other=True 🟩
2026-06-01 15:14:30 +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
7adcad3ee6
get_evidence_files_by_job_id returns DownloadedFiles with empty other when include_other=False 🟩
2026-06-01 15:11:35 +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