Repository navigation
Conversation
Remote availability can advertise an artifact whose CAS payload cannot be pulled. Let BuildStream perform native pull/build/push checks instead of reporting seed success from metadata alone. Make the observed missing GCC stage2 compiler an explicit seed target, rather than relying on a build dependency being needed. Assisted-by: GPT-6.1 via GitHub Copilot Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: castrojo <castrojo@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: castrojo The full list of commands accepted by this bot can be found here. Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
A native two-CAS test confirms that building a cached target leaves build-only dependencies outside the destination cache. Explicit artifact push --deps all pulls and replicates those dependencies. Only report successful seeding after replication succeeds. Assisted-by: GPT-6.1 via GitHub Copilot Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: castrojo <castrojo@users.noreply.github.com>
|
Verified the replication concern against the pinned bst2 image using two real isolated buildbox-casd servers, not just stubs:
Added the explicit push to the guarded seed graph. The new replication-failure regression failed before the change (false exit 0 instead of 23), then passed. All 47 focused tests, shell syntax, ruff, docs checks and just validate pass. #664 remains untouched; no build restart. |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: castrojo The full list of commands accepted by this bot can be found here. Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
PID 1 resets a correct 2026 RTC to the SDK build epoch in 2011 once its 15-year window expires, causing GPG to reject matching image keys as future-dated. Produce /usr/lib/clock-epoch from the pinned SDK year/month and restore its mtime after initrd clamping and before repart. Keep signature verification and SDK cache keys unchanged. Assisted-by: GPT-6.1 via GitHub Copilot Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: castrojo <castrojo@users.noreply.github.com>
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: castrojo The full list of commands accepted by this bot can be found here. Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Problem
A direct check of GCC stage2 key 1ec8073d reported available metadata, but bst artifact pull could not retrieve its payload from any configured remote. kernel-cache.sh returned success whenever every target was reported available, without letting BuildStream check the payloads.
Fix
Verification
Sequencing and tradeoff
Stacked on #664; do not merge into its feature branch or enqueue before #664 lands. This preserves the running #664 full build. Retarget to main after #664 merges, then land this correction before resuming dependencies.
Fresh seed runners now download usable cached payloads rather than trusting metadata-only reports. This costs cache-read bandwidth but prevents false success and repeated compiler rebuilds in consumer builds.