Hosted score_reform (OBR, default window) has not finished within 10 minutes since the 30 Oct deploy
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 25/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- python
- Bereich
- backend, testing-qa
Rechercherichtung
Start with the failing check in integration/tests/test_remote_mcp.py::test_score_reform_default_window_works_through_a_job and the job worker timeout at integration/modal_app.py:333. The first step is to find out what job fc-01M79WBAVFWAF8K05Q36X236G5 did (finished, errored, or hit the 1800s worker timeout), which needs hosted-server or Modal access. Done means the cause is known and the team has decided whether to shorten the default window or document the expected duration.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
What
On the hosted server, score_reform with model="obr" and the default five-year window, started through start_job, is still running after 600 seconds. It finished inside that limit on every daily run up to 30 October and has not on any run since.
This is the call a user gets from the documented default, so anyone polling get_job_result for an OBR reform score waits more than ten minutes, with no way to tell a slow job from a stuck one.
It is described in the body of #237 but has no issue of its own, and #237 deliberately does not change it.
Evidence
integration/tests/test_remote_mcp.py::test_score_reform_default_window_works_through_a_job in the scheduled Validate live deployment runs:
| Date | Run | This test | Suite time |
|---|---|---|---|
| 30 Oct | 41018496516 | passed | 12 min 23 s |
| 31 Oct | 41179371760 | did not finish within 600s |
18 min 47 s |
| 5 Nov | 41985297122 | same | 19 min 51 s |
| 10 Nov | 42773283063 | same | 18 min 32 s |
| 13 Nov | 43383676374 | same, job fc-01M79WBAVFWAF8K05Q36X236G5 |
19 min 33 s |
The only deploy between the last pass and the first failure is 41063876937 (30 Oct, 153cf419), which moved policyengine[models] from >=4,<5 to ==6.11.1 and pinned policyengine-uk==2.151.0. That points at the static costing step, but nothing here measures it.
Side effects
- Validate live deployment has failed on every scheduled run since at least 25 October (20 in a row, for changing reasons), so it no longer signals a new breakage. #237 fixes the other two failing tests; this one keeps it red.
- Each daily run starts one of these jobs and leaves it running after the test gives up. The job worker's own limit is 30 minutes (
timeout=1800,integration/modal_app.py:333), which at the rate stated in that file's header (about $0.00023 a second) caps a stuck job at roughly $0.41 a day. I have not checked how long they actually run, because that needs a Modal call.
To settle it (all need the hosted server or Modal, so not run here)
get_job_resultonfc-01M79WBAVFWAF8K05Q36X236G5: did it finish, error, or hit the worker timeout?- Modal's function-call durations for the job worker before and after 30 October.
- If it is simply slower, decide whether the default window should be shorter or the tool should say how long to expect; if it is stuck, that is a bug in the job path.
- Vorherrschende Sprache
- HTML
- Sterne
- 3
- Forks
- 1
- Ø Merge
- 1 T. 20 Std.
- Gemergte PRs (30 T.)
- 53
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Keine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus PolicyEngine/macro
-
HANK incidence overlay omits the model's labour-tax financingEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenquestion
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 67/100
PolicyEngine/macro#214 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Referee review of the model pages (6 Nov 2026)Evtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenquestion
Schwierigkeit 5/5 Über eine Woche Anfängerfreundlichkeit 22/100
PolicyEngine/macro#227 · 5 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
question
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 30/100
PolicyEngine/macro#223 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
question
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
PolicyEngine/macro#210 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
UK SVAR adapter publishes log-difference YoY as if it were the simple rateEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 45/100
PolicyEngine/macro#208 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in PolicyEngine/macro
Ähnliche Issues
-
triage
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 64/100
-
enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
meetecho/juturna_nodes#43 ·
Maintainer antworten meist innerhalb von 2 Tagen
-
bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
ranxianglei/billion-context#7860 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
-
`RequestHandler.build_request_kwargs` drops empty request bodies such as `{}` or `""`Evtl. vergeben @abhirajadhikary06 hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
typesense/typesense-python#170 ·
Maintainer antworten meist innerhalb von 1 Tag