The GitHub Actions job "Tests (AMD)" on 
airflow.git/refactor/go-sdk/generate-data-models-from-supervisor-schema has 
succeeded.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
89fdfb9f7d56feac33a86f36fd142c7535bd12a9 / LIU ZHE YOU <[email protected]>
Preserve explicit zero on outbound integer defaults in Go-SDK models

A plain int field with ,omitempty drops an explicit 0 on encode, so the
supervisor reapplies its non-zero schema default (e.g. treating a real
map_index 0 as the -1 unmapped sentinel). The generator now widens any
concrete integer field carrying a non-zero schema default to a pointer,
so ,omitempty keeps meaning "absent" for nil while an explicit zero still
encodes; DecodeMsgpack default-seeding skips these fields since nil is
already the correct "use the default" value on decode.

Report URL: https://github.com/apache/airflow/actions/runs/28566907234

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to