Skip to content

Store the SYS seed file under SYS_CACHE instead of the drive root. - #814

Open
copybara-service[bot] wants to merge 1 commit into
masterfrom
test_1004338457
Open

copybara-service[bot] wants to merge 1 commit into
masterfrom
test_1004338457

Conversation

@copybara-service

Copy link
Copy Markdown

Store the SYS seed file under SYS_CACHE instead of the drive root.

SYS_SEED_FILE was built as os.path.join(SYS_CACHE, os.sep, ...), and the
absolute os.sep component discarded SYS_CACHE, so on Windows it resolved to
C:\resources\seed.json. It now resolves to <SYS_CACHE>\resources\seed.json.
Tests confirm that an existing SYS seed file skips the disk lookup and the
seed write.

@copybara-service
copybara-service Bot force-pushed the test_1004338457 branch 6 times, most recently from 8def3c1 to 948f0ec Compare October 22, 2026 18:27
SYS_SEED_FILE was built as os.path.join(SYS_CACHE, os.sep, ...), and the
absolute os.sep component discarded SYS_CACHE, so on Windows it resolved to
C:\resources\seed.json. It now resolves to <SYS_CACHE>\resources\seed.json.
Tests confirm that an existing SYS seed file skips the disk lookup and the
seed write.
PiperOrigin-RevId: 1004338457

This branch has not been deployed

No deployments
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