Commit History
17 days ago
-
feat(smoke): the scheduled smoke Job, and the plan's decisions
avoigt1121 +1: Claude Opus 5.5scripts/smoke_job.py creates, lists, fetches and deletes the Phase 3 smoke Job as decided 2026-10-29 (D1-D4): an HF Scheduled Job on cpu-basic in the project lead's organisation namespace (her user namespace holds lit-agent's Monday job, whose recreate script aborts on a second scheduled Job), every 3 hours, ending itself after 7 days (SMOKE_END_EPOCH), with no secret: each run clones the dev Space at a pinned sha, runs smoke_live.py in-process and prints its counts-only record behind RECORD_MARKER (new --print-record), and fetch reads the records back from the Job logs into .smoke/hf-job.jsonl. tests/test_smoke_job.py pins the spec (no secret, cpu-basic, org namespace, one Job at a time, the end guard, the pinned sha) and the log parsing. The addendum gets one sentence on the scheduled runs (plan C8); the plan records D1-D4. Slice: phase3-review-hardening/s3 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>814e741 -
feat(smoke): a smoke harness against the live sources, and the week's report
avoigt1121 +1: Claude Opus 5.5scripts/smoke_live.py asks six fixed probes, reaching all six sources an endpoint uses (HGNC, Open Targets, ChEMBL, UniProt, ClinicalTrials.gov, Reactome). It runs in-process with the response cache off, so each call reaches its source, or with --target space through a deployed Space's machine endpoints. It grades every failure into a named class (the three source-error reasons, payload_error, unexpected_status, contract, too_few_rows, entity_missing, space_unreachable, unstructured), appends a counts-only record (no row content) to .smoke/results.jsonl, and --report gives the week's verdict: >= 95% of probes pass and no unstructured failure. It makes no model call: build_tooluniverse refuses to start with a provider key set. Each probe is a recorded Phase 0 scenario, so tests/test_smoke_live.py replays all six against their cassettes with sockets blocked. It also pins the grading classes, the cache bypass, the record's lack of row content and the 95% line. make smoke / make smoke-rep…84f7513