ci: allow cold Play component preparation to finish

This commit is contained in:
maxjivi05 committed 2026-11-04 14:04:39 -05:00
1 parent 6affa87442
commit 527fadd3b3
2 files changed
+3 -1

No files matched your search

+2
View File
@@ -217,6 +217,7 @@ def fetch(entry, cache):
layout = entry['layout']
original = fetch(layout['source'], cache)
code, data = [cache / (entry['sha256'] + '.' + name + '.part') for name in ['code', 'data']]
print('Rebuilding split archive: ' + entry['id'], file=sys.stderr, flush=True)
prepared = prepare(original, code, data, layout['zstd_version'])
if any(prepared[key] != layout[key] for key in ['segments', 'inventory_sha256', 'zstd_version']):
raise ValueError('Split archive identity changed')
@@ -268,6 +269,7 @@ def stage(manifest, cache, output, chunk_bytes=CHUNK_BYTES, module_bytes=MODULE_
continue
if entry['sha256'] in layouts:
continue
print('Preparing Play component: ' + entry['id'], file=sys.stderr, flush=True)
original = fetch(entry, cache)
if entry.get('layout'):
parts = entry['layout']['segments']