Skip to content

Fix release ZIP hashes depending on the build time zone - #242

Merged
LauraGPT merged 1 commit into
mainfrom
codex/funclip-reproducible-zip-timezone
Dec 1, 2026
Merged

LauraGPT merged 1 commit into
mainfrom
codex/funclip-reproducible-zip-timezone

Conversation

@LauraGPT

@LauraGPT LauraGPT commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

The same v2.2.2 candidate commit, 63e4158, produced identical tarballs in Shanghai and GitHub Actions but different ZIPs. Under a controlled timezone change Git wrote 04:04:08 on Dec 2 versus 20:04:08 on Dec 1 in the first DOS timestamp field; the UTC ZIP matched hosted CI byte-for-byte. No tracked file content changed.

Set TZ=UTC0 only for git archive. The regression runs the normal builder in UTC and UTC+8 and compares every byte of both archives and SHA256SUMS. It failed on the previous builder and passed with this fix. The full isolated Shanghai suite passed 114 tests; one optional live-provider test was skipped. No tag or published asset is changed.

Use UTC for git archive so the ZIP wall-clock timestamp and SHA256SUMS agree across build hosts. Compare two fixed-offset time zones in the existing artifact regression.

Signed-off-by: LauraGPT <zhifu.gzf@alibaba-inc.com>
@LauraGPT
LauraGPT merged commit 1fa55c5 into main Dec 1, 2026
2 checks passed
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.

1 participant