fix(ci): align voxl2 group chip family with its seeder cache key

The voxl2 build group carried chip_family 'native' while its seeder
carried 'voxl2', so the group restored/saved under
ccache-native-x64-voxl2-0-* while the seeder saved under
ccache-voxl2-x64-seeder-*. The restore-keys chain can never cross that
namespace gap: the seeder's warm cache is discarded every run, and cold
builds fall back to the SITL seeder cache (host gcc objects, zero
possible hits against aarch64-linux-gnu-gcc or hexagon-clang). Present
since #27050.

Give the voxl2 group chip_family 'voxl2' so it shares the seeder's key
namespace, drop the now-redundant voxl2 special-casing in seeder
generation, and size the voxl2 cache at 800M since it holds objects for
two toolchains (aarch64-gnu + hexagon-clang) and already sits near the
400M limit.

Assisted-by: Claude:claude-fable-5
Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
Ramon Roche committed 2026-08-18 08:24:06 +09:00
1 parent e8e042d915
commit 9e3f88f7ef
2 files changed
+6 -9

No files matched your search

+2
View File
@@ -24,6 +24,8 @@ cache:
stm32f4: "800M"
stm32f7: "800M"
imxrt: "800M"
# voxl2 cache holds objects for two toolchains (aarch64-gnu + hexagon-clang)
voxl2: "800M"
# Board grouping limits
grouping:
+4 -9
View File
@@ -463,7 +463,7 @@ if (args.group):
"container": grouped_targets[arch]['container'],
"targets": comma_targets(all_targets),
"arch": arch,
"chip_family": "native",
"chip_family": "voxl2",
"runner": runner,
"group": "voxl2-0",
"len": len(all_targets),
@@ -519,11 +519,7 @@ if (args.group):
# Determine which chip families actually have groups
active_families = set()
for g in final_groups:
cf = g['chip_family']
active_families.add(cf)
# voxl2 gets its own seeder with a different container
if g['group'].startswith('voxl2'):
active_families.add('voxl2')
active_families.add(g['chip_family'])
seeders = []
for cf in sorted(active_families):
@@ -537,11 +533,10 @@ if (args.group):
'runner': 'x64',
})
elif cf == 'native':
# One seeder per runner arch that has native groups (exclude voxl2
# which has its own seeder with a different container)
# One seeder per runner arch that has native groups
native_runners = set()
for g in final_groups:
if g['chip_family'] == 'native' and not g['group'].startswith('voxl2'):
if g['chip_family'] == 'native':
native_runners.add(g['runner'])
for r in sorted(native_runners):
seeders.append({