Commit 079f05f
committed
ci: refresh the published index before the workspace tests
The workspace jobs never refreshed the published index. The snapshot in play
is whatever the pinned mcpp release vendored -- the Download step `cp -a`s the
release's registry/ over ~/.mcpp/registry, on top of the restored cache -- so
it is by construction older than main, and it never moves, because the cache
is saved with that same stale copy inside it.
This stayed invisible because mcpp DOES refresh on a miss for a direct
dependency, and because every member so far resolved its packages either from
this checkout or from compat packages that have been in the index far longer
than any snapshot. tests/examples/godot-cpp-module is the first member to
depend on a package added in the same cycle THROUGH a Form-A package -- a
transitive dependency, which is the path with no refresh -- and it failed with
error: dependency 'compat.godot-cpp': no package found ...
index: local index 160c389 (never refreshed)
on all three platforms, minutes after `Publish Index Artifact` had already
republished an index that contained it. Reproduced locally against a snapshot
of the same age, and `mcpp index update` alone turns that run green:
test result ok. 1 passed; 0 failed; finished in 72.94s1 parent ef3780e commit 079f05f
1 file changed
Lines changed: 24 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
409 | 409 | | |
410 | 410 | | |
411 | 411 | | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
412 | 436 | | |
413 | 437 | | |
414 | 438 | | |
| |||
0 commit comments