# Changelog of Greenhouse, Lever & Ashby Jobs Scraper - Salaries & Changes (`tubloko/greenhouse-lever-ashby-jobs-scraper`) Actor

- **URL**: https://apify.com/tubloko/greenhouse-lever-ashby-jobs-scraper/changelog.md
- **Full Actor documentation**: https://apify.com/tubloko/greenhouse-lever-ashby-jobs-scraper.md

## Changelog

### 1.0.0 — 2026-11-18

- Initial Greenhouse, US/EU Lever and Ashby named-board adapters with strict normalization and sanitized descriptions.
- Source compensation, deterministic content hashes, snapshots/new/changed modes and atomic per-board baselines.
- Acknowledged-only monitoring/resume ledgers, durable delivery fences/receipts, evidence-based repair and fail-stop uncertain delivery.
- Runtime Decimal budget pre-trim, pricing guard, host cooldowns, absolute deadlines and byte/heap limits.
- Offline fixtures/tests, schemas, operator publishing handoff and explicit platform-smoke release gates.

### Code review fixes — 2026-11-18

- Prevent same-run acknowledged IDs from being delivered again on resumed disappearance/closure; retain valid cumulative ledgers and ordered receipt/fence recovery.
- Write exact canonical JSON bytes through the pinned local filesystem store's binary path, with capped reads and writes.
- Classify transaction-reserve timeouts as failed/incomplete and preserve truthful run diagnostics and closure eligibility.
- Refresh tracked active jobs' last positive observation before filters without advancing delivered hashes or counters.
- Compare final enriched hashes before applying changed-mode delivery caps; exact-cap scans complete when no eligible delivery remains.
- Validate discovery DNS again at each redirect, preserving production's connection-validation refusal.
- Add 29 offline regression cases, including real local-store round-trip and interrupted tombstone recovery; 255 tests pass. Prices, schema and dependency pins are unchanged. See `review/code-review-2026-11-18-resolution.md` for evidence and remaining platform gates.

### Fix pass 2 — 2026-11-18

- Add `maxRunSecs`: default 0 derives platform work time from `ACTOR_TIMEOUT_AT` minus the 20 s finalization reserve, or uses 3300 s without it; explicit 60–86400 s. Prefill pins 180 s. Persist the resolved budget and restore/validate absolute deadlines, including the lifecycle supervisor; retain the 240 s board-share cap.
- Enrich Greenhouse details concurrently under the shared HTTP semaphore at 4 starts/s/host, with host cooldown/Retry-After and byte caps intact. Process at most 20 jobs ahead, release raw/completed detail fields, and retain sequential delivery and cancellation cleanup.
- Add a three-board pacing-timeout regression: board 1 fails at simulated 59 s, board 2's first request starts at 59.5 s. The real 43.482 s Lever board remains unexplained; no scheduler root cause or live fix is claimed.
- Warn in README/PUBLISH to re-run incomplete baseline boards before scheduling, or their existing jobs will be delivered and charged up to caps.
- Add 35 offline cases: 255 before / 290 after; compileall and strict validation of 17 JSON artifacts pass. Dependencies remain pinned. See `review/fix-pass-2-2026-11-18.md` for evidence and the open finding.
- 2026-11-18: Applied accepted Store SEO copy to README and publishing fields; added public example task drafts.

### Fix pass 3 — 2026-11-18

- Resolve all five findings in `platform-smoke-2026-11-18.md`. Durable KV calls, PERSIST_STATE and final diagnostics use 15-second attempts with up to 3 exponential/jittered retries. Bootstrap uses the platform/default allowance before INPUT. Four exhausted attempts fail; an interrupted/exit-deadline confirmation is unresolved, retains pending/fence evidence and blocks replay/cleanup until verified recovery.
- Deliver jobs and closure markers in source-order batches of up to 20 rows / 1 MiB, with one durable write per intent/fence/receipt/commit/cleanup stage per batch. Baseline staging, full heap checks and serialization checks run per page/20-row batch and before charged pushes/complete-board commit, instead of repeatedly scanning the complete page per row.
- Preserve acknowledged-prefix ledgers, cumulative Decimal budget limits, whole-batch fences and evidence-based restart repair. Test process loss after a 20-row push before its receipt, partial batch acknowledgment, and unconfirmed receipt/named commit both with and without a remote write.
- Sanitize Greenhouse compensation summaries through the description HTML-to-plain adapter, decode entities, collapse whitespace and cap at 500 characters while prioritizing the first sentence containing a range label. Add a synthetic long-HTML detail fixture; range units remain unchanged.
- Explain ambiguous bare slugs and log the API host once per unique board, including `api.eu.lever.co`.
- Offline: 290 tests before / 330 after, source compileall passed, 18 strict JSON artifacts valid and embedded SPEC input schema matches. At simulated 0.8 s/write: 181-job baseline = 5 writes / 4.0 s KV; 30-row snapshot = 9 writes / 7.2 s KV; prefill = 12.8 s including two diagnostic writes. These are synthetic storage estimates, not a new platform measurement. See `review/fix-pass-3-2026-11-18.md`.

### Fix pass 4 — 2026-11-18

- Add process-local per-board HTTP request/time, durable KV read/write attempts and write time including retries, limiter wait and CPU diagnostics to BOARD_RESULTS and RUN_SUMMARY, plus one final INFO timing line per resolved board. Summary KV totals include shared Scraper work; INPUT/store opens and final diagnostic writes are outside the snapshot.
- Stage positive-presence liveness in bounded memory; commit it together with lastCompleteScanAt once at board completion and discard it on incomplete scans. Baseline already commits once per complete board. Preserve delivery transaction order, fences, receipts, budget accounting and pre-closure capacity checks.
- Synthetic 0.8 s/write counts (named/default): baseline 181 stays 1/4; unchanged new 181 and new 7 each improve 2/3 → 1/3 (4.0 → 3.2 s). This does not establish the cause of the platform's 17–26 s monitoring delay.
- Verify Lever raw-count empty-page requests, remaining board/host pacing and immediate capped-stream return at EOF without Content-Length. Offline: 330 tests before / 353 after, compileall passed and all 18 source JSON artifacts valid. See `review/fix-pass-4-2026-11-18.md`.
