Skip to content

AIENG-379: forward-port v1 → main — server-owned timezone resolution - #1417

Merged
ItIsUday merged 6 commits into
mainfrom
feature/AIENG-379-elapsed-build-option2-main
Oct 29, 2026
Merged

ItIsUday merged 6 commits into
mainfrom
feature/AIENG-379-elapsed-build-option2-main

Conversation

@ItIsUday

Copy link
Copy Markdown
Contributor

Why

Forward-port of the v1 fix (#1413) to main, per the v1→main process. The CLI resolved JUnit <testsuite timestamp> timezones itself with a blanket tzlocal() — wrong for "looks-naive-but-UTC" runners (jest, cypress) on non-UTC agents, corrupting elapsed-time aggregation (AIENG-379). The CLI now sends the raw timestamp and the server resolves it.

What

git merge v1, with the launchable/ → smart_tests/ rename conflicts resolved (kept main's str | None style and smart_tests/SMART_TESTS_TOKEN conventions, applied v1's logic). The CLI:

  • sends the raw <testsuite timestamp> as junitSuiteTimestamp (the field was renamed on v1 to avoid clashing with the Smart Tests "test suite" concept);
  • sends agentUtcOffset once per record tests request;
  • no longer resolves timezones (_timestamp/tzlocal removed).

Tests

Full suite green except the pre-existing, unrelated test_maven.test_scan_test_compile_lst subset failure. Lint clean.

Coordination

Pairs with mothership #14576, which must use the same wire field name junitSuiteTimestamp (currently suiteTimestamp there) — being updated to match.

ItIsUday and others added 6 commits October 26, 2026 10:45
…g timezones client-side

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…void clash with ST test suite)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…ption2-v1

AIENG-379: stop resolving timezones client-side; send raw suite timestamp + agent offset
…ed-build-option2-main

# Conflicts:
#	launchable/commands/record/tests.py
#	smart_tests/commands/record/case_event.py
@ItIsUday
ItIsUday requested review from Konboi and ono-max October 28, 2026 11:09
@ItIsUday
ItIsUday merged commit 2c81492 into main Oct 29, 2026
3 checks passed
@ItIsUday
ItIsUday deleted the feature/AIENG-379-elapsed-build-option2-main branch October 29, 2026 09:25
@github-actions github-actions Bot mentioned this pull request Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants