# Changelog of ATS Jobs Feed: Greenhouse, Lever & Ashby Job Alerts (`skywright-labs/career-site-jobs-monitor`) Actor

- **URL**: https://apify.com/skywright-labs/career-site-jobs-monitor/changelog.md
- **Full Actor documentation**: https://apify.com/skywright-labs/career-site-jobs-monitor.md

## Changelog

All dates are UTC. Published on the Apify Store on 2026-11-25 as 1.3.3; 1.4 is not published yet.

### 1.4.0 (2026-11-25, unreleased, branch `ontario-fields`): Ontario pay-transparency review fields

#### Added

- `ontario` object on every job row located in Ontario, Canada (`src/ontario.py`); `null` on every other row, including
  remote jobs open across Canada that name no province. Fields: `payRangePosted`, `payRangeSpanWithin50k`,
  `aboveExemptThreshold`, `vacancyStatementPresent`, plus `annualPayMin`, `annualPayMax`, `payCurrency`, `payFrom` and
  the note "Potential items for human review, not legal advice; the rules apply only to employers with 25+ employees."
  Rules from the ministry's guide to the ESA's publicly advertised job postings (in force 2026-01-01) and O. Reg. 476/24.
  No AI-in-hiring or "Canadian experience" checks (not accurate enough in the pilot).
- Dataset view "Ontario pay transparency (for review)" and an output-schema link to it. Input schema unchanged.
- `tools/ontario_check.py` and `samples/ontario-check-2026-11-25.json`: hand check of 210 real Ontario postings
  (133 employers): `payRangePosted` 163/163 and `vacancyStatementPresent` 75/75 correct where `true`; no missed pay and
  one arguable missed vacancy statement where `false`; 60 of the 210 were a holdout drawn after the rules were final.
- `utils.iter_salary_text` (every range in a text) and `utils.parse_single_pay` (one stated amount after a pay word,
  used only for the Ontario fields).

#### Changed

- Salary parsing reads more formats: "CA$6000 - CA$7500" (was read as 6000-750 and dropped), "CAD$20.70–CAD$23.10",
  "CAD 200,000 to CAD 300,000", "CAD $128,350.00/year - $151,000.00/year", "between $75,000 and $90,000",
  "98,500 - 148,500 CDN", "$105K–115$K", French "178 118 $ à 237 490 $". It skips account sizes, revenue and funding
  figures ("CSMs on $75K to $250K"), and a bare `$` takes its dollar from the words around the range ("in Phoenix",
  "Canada pay range") before the job's location. On 1,794 Ontario postings: 63 more ranges found, 11 changed (mostly
  the currency, now taken from the text), 2 dropped (a typo "$170,0000" and "$7-10M").
- Directory scope: automotive and road-vehicle technology employers are not included. 42 boards blocklisted (local
  section of `tools/sources/ats-directory-blocklist.txt`, three passes) and pruned without network: 1,348 boards (was
  1,390), 76,046 open jobs (was 78,304), 294 boards with jobs in Canada (was 304). Aviation, drones and bike share are
  outside the scope and stay. `tools/owner_rules.py` applies the rule to every future build
  (`build_directory.py`, `discover_careers.py`); Lyft, Samsara, project44, FourKites and Loadsmart removed from
  `tools/seed_companies.txt`.
- Counts updated in README, `.actor/actor.json`, `.actor/input_schema.json`, `pricing/pay_per_event.json`, PUBLISHING.
  The guard message for unfiltered directory searches says "about 76,000 jobs".
- A salary sent as text by an ATS ("85,000") is read as a number for the Ontario fields; any other unexpected value
  gives that row `ontario: null` with a log line instead of failing the run (`main.safe_ontario_fields`).
- One pay amount listed in several currencies ("4,615 USD / 3,440 GBP / 6,470 CAD per week"): the CAD amount is used.
- The Ontario dataset view also shows `payCurrency`. `listing/` is left out of the Docker image.

#### Fixed

- Greenhouse sends job content HTML-escaped with no literal `<`; `descriptionText` (and keyword matching in
  descriptions) kept `&lt;p&gt;...` codes. It is now unescaped and converted like other HTML.
- Workday and SmartRecruiters detail text is kept for the Ontario checks.

#### Tests

- `tests/test_ontario.py` (location rules, pay, vacancy statements), salary-format and HTML tests in
  `tests/test_utils.py`, `tests/test_owner_rules.py` (every removed board is absent; aviation, drone and bike-share
  boards are kept): 193 tests pass (62 before).
- Local runs after the second prune: Store prefill input 212 results in 49 s; Canada directory search 1,400 jobs from
  294 boards in 3 min 39 s and 3 min 6 s, with Ontario row counts saved (`samples/15-…`, `samples/16-…`).

### 1.3.0 (2026-11-25, unreleased): closed-job notices are free

#### Changed

- The per-result charge is now the custom `job-result` event ($0.0015), charged with `push_data(charged_event_name=...)`
  for new, changed and plain job rows only. Closed-job notices are pushed without an event, so they cost nothing.
  The synthetic `apify-default-dataset-item` event was removed from `pricing/pay_per_event.json`: the platform bills it
  for every row in the default dataset, closed notices included. Owner decision 2026-11-25.
- The cost cap trims only paid rows; closed notices are always delivered.
- Safety check at start: if the platform pricing also bills `apify-default-dataset-item`, the run stops before fetching
  or charging anything (that setup would bill job rows twice and break monitor state).
- Headline wording: "pay only for new or changed ones" (updated jobs were always charged).
- Pricing text: the directory is 1,390 boards (was "1,400+").

#### Tests

- `tests/test_charging.py`: closed notices pushed with no event, the cap trims only job rows, a cap reached exactly is not
  reported as a cut, the pricing file has no synthetic per-item event, and the start-up pricing check.

### 1.2.0 (2026-11-25, unreleased): robots.txt and crawl delays for every site

#### Added

- `src/polite.py`: one gate for every request the Actor makes (ATS job APIs, Recruitee subdomains, Workday sites, the
  company websites scanned for ATS links, and every host on a redirect, since redirects are now followed by hand).
  - robots.txt is read once per host per run with `urllib.robotparser` and evaluated by RFC 9309: rules for our
    product token (`CareerSiteJobsMonitor`) win over `*`, the longest match wins, Allow wins a tie, `*` and `$` wildcards
    work, and a path must pass both a case-sensitive and a case-insensitive check.
  - 2xx: parsed. 3xx: followed. 4xx other than 429: "unavailable", so no restrictions (Ashby answers 401, myworkdaysite.com
    422\). 429, 5xx or a network error: "unreachable", so the host is treated as disallowed for the run.
  - Per-host spacing of request starts, on top of the global concurrency: the robots.txt `Crawl-delay` (decimals allowed)
    or `Request-rate`, else 0.25 s (4 requests per second per host). Lever (`Crawl-delay: 1`) is read at 1 request per second.
  - A bot-protection challenge from any host (not only Workday) stops all requests to it for the run.
- New board status `robots_unreachable` (`OUTPUT.boardsRobotsUnreachable`); it never closes jobs, like
  `blocked_by_robots`, `blocked_by_challenge` and `partial`.
- `OUTPUT.robotsTxt`: what each host's robots.txt said in the run (ok, crawl delay, unavailable, unreachable).
- Run log: before fetching, the Actor reads robots.txt of every host serving several boards and logs crawl delays, e.g.
  "Lever asks for 1 request per second in its robots.txt (api.lever.co, Crawl-delay: 1); 59 Lever boards ≈ 59 s". It
  warns when that minimum exceeds 80% of the time left before the run's timeout (`ACTOR_TIMEOUT_AT`).
- Company-website scans follow robots.txt and say in the lookup report when a site was not scanned because of it.
- `tools/build_directory.py --prune-only`: drops unsupported ATSs and blocklisted rows from the current directory
  without network and rewrites `tools/sources/last-build.txt`.
- 15 new offline tests (`tests/test_polite.py`) and `tests/conftest.py` (fresh robots.txt cache per test). 57 tests in total.

#### Changed

- **SmartRecruiters dropped from the advertised ATSs.** `api.smartrecruiters.com/robots.txt` allows `/v1/companies/` only
  for LinkedInBot and disallows everything for other clients (checked by hand 2026-11-25). It is removed from the
  description, README, input schema enum and dataset schema, from name probes, and from the directory build. The code path
  stays behind the gate: a pasted SmartRecruiters URL ends as `blocked_by_robots` with a message naming the robots.txt.
- Directory pruned: 1,402 boards and 80,032 open jobs before, **1,390 boards and 78,304 open jobs** after (12 SmartRecruiters
  boards, 1,728 jobs, removed). Boards with jobs in Canada: still 304 (3,954 jobs). Boards without country data: 12 before,
  0 after, so a Canada directory search now scans 304 boards instead of 316.
- robots.txt answering 401 or 403 now means "no restrictions" (RFC 9309, section 2.3.1.3); it used to mean "disallow
  everything". `tests/test_workday.py` was updated for this one assertion.
- Lookup by name no longer probes SmartRecruiters.
- Website scans use the User-Agent `Mozilla/5.0 (compatible; CareerSiteJobsMonitor/1.1)`.
- Actor version 1.2.

### 1.1.2 (2026-11-25, unreleased)

- Reviewer fixes: Apify start fee listed in the pricing table; "316 boards = 304 with Canadian jobs + 12 without country data"; "Who is it for?"; softer legal wording marked as general information; stale private-status line removed from the README; platform run IDs recorded in PUBLISHING.md.
- A directory search with no filter and no "Max jobs" limit now ends with a clear message instead of returning about 80,000 jobs (about $120).

### 1.1.1 (2026-11-25, unreleased)

#### Changed

- Listing: "Workday" is no longer in the Actor title (now "Career Site Job Alerts: Greenhouse, Lever, Ashby & More")
  or at the front of the description. Platform test runs on Apify (2026-11-24) showed Workday working for BDC, HOOPP and
  Desjardins, while TD, BMO, RBC and Manulife answered with a bot check, which the Actor respects.
- README: new sections "Limits, honestly", "Who's behind this Actor", "Support" and "Changelog". Input examples no longer
  use a Workday tenant that blocks automated access.

#### Fixed

- Concurrency now scales with the run's memory (`ACTOR_MEMORY_MBYTES` / 50, at least 2), and the default memory is 1 GB.
  A 316-board Canada search was killed at 512 MB on Apify and succeeded at 1 GB (peak 418 MB, 38 s).
- An empty or invalid input now logs the problem, sets a clear status message and ends the run normally (exit 0, nothing
  charged) instead of failing it.

### 1.1.0 (2026-11-24, unreleased)

#### Added

- **Workday support** (`src/workday.py`). Accepts careers URLs (`https://td.wd3.myworkdayjobs.com/TD_Bank_Careers`,
  with or without a locale such as `/en-US/`), `wdN.myworkdaysite.com/recruiting/<tenant>/<site>` URLs, embedded
  `/wday/cxs/` feed URLs, and `workday:<tenant>.<wdN>/<site>`. Website detection finds myworkdayjobs.com links and embeds,
  including JSON-escaped ones. Jobs are read from the JSON feed the company's own Workday careers page calls
  (`POST /wday/cxs/<tenant>/<site>/jobs`, 20 per page). Descriptions, exact posting dates, every location, the
  country and salary text come from one detail request per job, made only for jobs that passed the filters.
- **robots.txt is checked for every Workday host**: fetched once per host per run and cached, matched
  case-insensitively (a robots.txt that can't be read, including HTTP 429, is treated as "don't crawl" and is not retried
  for every board). If the site path or `/wday/` is disallowed, the board is not fetched and is reported as
  `blocked_by_robots` in the run log, in `OUTPUT.boardsBlockedByRobots` and in the resolution log.
- **Bot-protection challenges are respected, not bypassed.** A Cloudflare challenge (`cf-mitigated: challenge`)
  stops all requests to that host for the run. The board is reported as `blocked_by_challenge` (`OUTPUT.boardsBlockedByChallenge`).
- Politeness for Workday: at most 2 requests in flight per host with a 0.25 s pause after each, Retry-After honoured,
  and at most 2,000 jobs per board per run.
- New statuses that never close jobs in monitor mode: `partial` (the per-board cap was hit, or the listing changed
  while paging), `blocked_by_robots`, `blocked_by_challenge`. Only `ok` and `not_found` boards can close jobs
  (`monitor.complete_boards`).
- **Countries filter** (`countries`, ISO codes such as `CA`). The country comes from the ATS when it gives one, otherwise
  it is inferred from the location text: country names, ISO3 codes, provinces and states (names and codes), and
  major cities. Ambiguous cities such as London and Victoria are used only as a last resort. Location terms that name
  a country (`Canada`, `United States`) now also match by inferred country.
- New output fields: `countryCodes` (ISO codes) and `postedAtApproximate` (Workday's "Posted 3 Days Ago" becomes that day
  at 00:00 UTC; replaced by the exact date when the detail is fetched).
- The directory has Canadian employers and records jobs per country for each board. A directory search with a
  countries filter scans only boards that had jobs in those countries at the last verification.
- `tools/seed_companies_canada.txt` (220 Canadian employers: banks, insurers, telecoms, retailers, utilities,
  tech, universities, hospitals, public sector) and `tools/discover_careers.py`, which reads each employer's own
  careers page (robots.txt respected) and records the ATS boards it links to (`tools/sources/careers-page-scan.jsonl.gz`).
- `OUTPUT.resolution[].boards[]` now shows each board's fetch `status` and `jobsOnBoard`.

#### Changed

- Directory rebuilt 2026-11-24: 1,384 boards and 70,210 open jobs before, 1,402 boards and 80,032 open jobs after.
  9 boards are Workday, and 304 had open jobs in Canada (3,954 jobs). 23 Workday boards found on Canadian careers pages
  could not be verified (bot-protection challenge) and are listed in `tools/sources/last-build.txt`.
- New samples: `samples/inputs/06`–`09` and the OUTPUT summaries of the 2026-11-24 test runs (`samples/06-…` to `10-…`).
- `tools/build_directory.py` re-verifies the previous directory instead of re-probing every seed name by default
  (`--reprobe-seeds` restores the old behaviour). It adds the careers-page scan and Canadian name probes,
  and prints the boards it skipped and why.
- "Only jobs that show a salary" now works for SmartRecruiters and Workday: the salary is checked after the detail fetch.
  It used to drop every job from those two ATSs.
- `pricing/pay_per_event.json`: the directory-search description quoted 2,700+ boards; it now quotes the real count.

#### Fixed

- `utils.dollar_currency` had unreachable code that referenced an undefined name. It is removed (no behaviour change).

### 1.0.0 (2026-11-24)

- First version: Greenhouse, Lever (US/EU), Ashby, Workable, SmartRecruiters, Recruitee; name/website resolution;
  bundled directory; monitor mode (new / updated / closed) with cost-limit safety; salary parsing; hiring summary.
