-
Type:
New Feature
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
-
QE 2026-11-23
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Context
IANA timezone changes have repeatedly become last-minute release fire drills (most recently the Canada DST change, SERVER-132098): nobody owns watching upstream, and the vendored copies of timelib/tzdata in the server repo are refreshed only when someone notices. The process doc for WRITING-41201 (Keeping timelib and timezone data up to date) was approved 11-10 and passed OpEx 11-06; its proposed fix is an Evergreen cron job that detects upstream releases and opens update PRs automatically, modeled on the PGO/BOLT profiling-data flow (SERVER-110427).
Scope
- buildscripts/timelib_tzdata_pr.py: weekly job that
- compares the vendored versions (import.sh VERSION line, dist/version-info.txt) against upstream (derickr/timelib tags, data.iana.org releases) and exits cleanly when current,
- re-runs src/third_party/timelib/scripts/import.sh when either stream moved,
- rebuilds + runs the timelib golden test (
SERVER-138173) and accepts the golden diff, so the update PR carries the behavior change for review, - opens PRs against master and all supported branches; versioned branches get fresh SERVER+BACKPORT tickets. No auto-merge: QE reviews each PR.
- import.sh: TIMELIB_VERSION env override.
- Evergreen: new timelib_tzdata_update task + weekly cron variant.
Dependencies / open items
- Dedicated GitHub App for the bot (ENTSEC ticket + services-integrations-oncall sign-off); until then the job reuses the MONGO_PR_BOT_* project expansions.
- CI image for the new variant needs re2c, php, wget (import.sh prerequisites) — to confirm with DevProd Build.
- Failure-notification channel to decide with DevProd Build.
- Query-correctness corpus regeneration on tz updates is out of scope here (tracked separately per the process doc).
- is related to
-
SERVER-110427 Update Profile Data Files
-
- Backlog
-
-
SERVER-138173 Add golden tests for timelib
-
- Closed
-
-
SERVER-132098 Upgrade timelib and timezone data files to 2026e
-
- Closed
-