Commit 0ab9915
ci: drop hardcoded CANN version from build cache key
Per review on sgl-project#483: the cache key should not embed a CANN version
string. The container's CANN version is already governed solely by
the `image:` field of each job, so duplicating it in the key only
creates a second source of truth that can drift (e.g. an image bump
PR that forgets to update the key). When a forced cache invalidation
is genuinely needed, bump the v2 -> v3 prefix instead.
Removes the `cann8.5.0-` segment from all 5 cache keys (3 in
pr-test-npu.yml, 2 in push_build_cache.yml). Both sides update in
lockstep so push-side writes still match PR-side reads.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 9ce2bf5 commit 0ab9915
2 files changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
| 468 | + | |
469 | 469 | | |
470 | 470 | | |
471 | 471 | | |
| |||
842 | 842 | | |
843 | 843 | | |
844 | 844 | | |
845 | | - | |
| 845 | + | |
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
| |||
0 commit comments