Skip to content

ci: harden IPFS publish pod staging#552

Merged
lthibault merged 1 commit into
masterfrom
lthibault/ipfs-publish-kubectl-retry
Jun 8, 2026
Merged

ci: harden IPFS publish pod staging#552
lthibault merged 1 commit into
masterfrom
lthibault/ipfs-publish-kubectl-retry

Conversation

@lthibault

Copy link
Copy Markdown
Contributor

Summary

  • make the IPFS publish pod staging path unique per run so publish does not depend on a blocking pre-clean exec
  • retry kubectl cp internally and use a longer main kubectl timeout for slow k3s API behavior
  • add progress logs around each production publish operation and keep repo stats/cleanup best-effort
  • add static checks for the copy retry and unique staging path

Why

The first master run after #551 failed before CID= with repeated context deadline exceeded while running Publish to IPFS via VPS. IPNS was not updated and no managed stale unpins ran. This follow-up keeps the pin lifecycle behavior intact while making the pod staging/copy path less brittle and more diagnosable.

Tests

  • bash tests/test_ipfs_release_publish.sh
  • shellcheck scripts/ipfs_publish_release.sh tests/test_ipfs_release_publish.sh
  • actionlint .github/workflows/rust.yml
  • git diff --check

@lthibault lthibault force-pushed the lthibault/ipfs-publish-kubectl-retry branch from 1c01aa5 to 91e1dec Compare June 8, 2026 00:02
@lthibault lthibault merged commit 21d8482 into master Jun 8, 2026
11 checks passed
@lthibault lthibault deleted the lthibault/ipfs-publish-kubectl-retry branch June 8, 2026 00:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant