mirror of
https://github.com/openai/codex.git
synced 2026-10-19 16:17:49 +00:00
Stabilize Windows voice build cache keys across tool reinstalls (#50046)
## Why Cygwin records installation timestamps in an unused Java truststore, changing Bazel action cache keys when the same tools are reinstalled. ## What changed Exclude `cygwin/etc/pki/ca-trust/extracted/java/cacerts` from the generated `cygwin` filegroup in `.github/scripts/voice_windows_tools.py`. GitOrigin-RevId: 8fdd910fadba7d977b45718546232652d073cdc8
This commit is contained in:
committed by
copyberry
parent
1cc9917508
commit
5fa5aaf0ff
@@ -48,7 +48,10 @@ def export_repository(root: Path, target: str, pkg_config: Path):
|
||||
raise ValueError("required Windows build tool missing")
|
||||
definitions = [
|
||||
'package(default_visibility = ["//visibility:public"])',
|
||||
'filegroup(name = "cygwin", srcs = glob(["cygwin/**"], allow_empty = False))',
|
||||
# Cygwin records installation timestamps in this unused Java truststore.
|
||||
# Exclude it so reinstalling the same tools preserves action cache keys.
|
||||
'filegroup(name = "cygwin", srcs = glob(["cygwin/**"], '
|
||||
'exclude = ["cygwin/etc/pki/ca-trust/extracted/java/cacerts"], allow_empty = False))',
|
||||
'filegroup(name = "pkgconf", srcs = glob(["pkgconf-image/**"], allow_empty = False))',
|
||||
'filegroup(name = "tools", srcs = [":cygwin", ":pkgconf", "voice-tools.json"])',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user