Seraph-x opened a new pull request, #75503:
URL: https://github.com/apache/airflow/pull/75503

   Fixes #67938.
   
   ## Summary
   
   Go-authored Dags now serialize cron schedules the same way as equivalent 
Python-authored Dags:
   
   - The Dag processor sends both `[scheduler] create_cron_data_intervals` and 
the encoded `[core] default_timezone` in `DagFileParseRequest`.
   - The Go SDK selects `CronDataIntervalTimetable` or `CronTriggerTimetable` 
from the scheduler setting.
   - A Dag with a `start_date` uses that date's named or fixed timezone. A Dag 
without one uses Airflow's configured default timezone instead of hard-coded 
UTC.
   - Named zones whose abbreviation can equal their name, including `CET`, 
retain their IANA rules; a same-named fixed zone remains a fixed offset.
   
   The supervisor schema migration removes both new fields for older runtimes. 
Go and TypeScript schema consumers were regenerated, while Java and TypeScript 
compatibility tests verify that existing runtimes tolerate the additional 
optional fields.
   
   ## Verification
   
   - Airflow core parity/request tests: 11 passed across both 
`create_cron_data_intervals` values and UTC, Europe/Amsterdam, CET, and 
configured-default timezone cases.
   - Task SDK schema migrator: 52 passed, including downgrade to `2026-06-16`.
   - Go SDK: all serializer tests and the complete `pkg/execution` package 
passed; `go vet ./...` passed.
   - Java SDK: `ServerTest`, `ktLintCheck`, and `spotlessCheck` passed.
   - TypeScript SDK: coordinator integration test, typecheck, ESLint, and 
Prettier passed.
   - Canonical schema generation, Go generated-code drift checks, and 
Go/TypeScript schema sync checks passed after rebasing onto the latest `main`.
   
   The complete Go suite has one unrelated failure reproducible on the original 
branch: Go 1.27 changed the `encoding/json` max-depth error text expected by 
`TestTriggerDagRunRejectsAnInvalidSpec`. All packages outside that pre-existing 
assertion pass.
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — DeepSeek Harness and OpenAI Codex
   
   Generated-by: DeepSeek Harness and OpenAI Codex following [the 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to