Skip to content

feat: verify pin in pinning API after account operation completes with --wait#41

Merged
pcfreak30 merged 1 commit into
developfrom
feat/upload-wait-verify-pin
May 17, 2026
Merged

feat: verify pin in pinning API after account operation completes with --wait#41
pcfreak30 merged 1 commit into
developfrom
feat/upload-wait-verify-pin

Conversation

@pcfreak30

@pcfreak30 pcfreak30 commented May 17, 2026

Copy link
Copy Markdown
Member

When --wait is used with upload, the CLI now waits for the account
operation to complete, then verifies the pin is visible in the pinning
API with a pinned status. Uses retry with backoff (10 attempts, 2-30s)
to handle propagation delay between the account operation finishing and
the pin appearing in the pinning service. Failures are now hard errors
instead of warnings.


Add pin verification via pinning API after account operation completes when using --wait

When the --wait flag is used during upload, the CLI now verifies that the pin actually exists and reaches "pinned" status in the pinning API after the account operation completes. Previously, --wait only waited for the account operation to finish without confirming the pin was fully established. The verification uses retry logic (up to 10 attempts with exponential backoff) to poll the pinning service status. Additionally, errors during the wait-for-pin process are now returned as errors instead of being silently logged as warnings.

…h --wait

When --wait is used with upload, the CLI now waits for the account
operation to complete, then verifies the pin is visible in the pinning
API with a pinned status. Uses retry with backoff (10 attempts, 2-30s)
to handle propagation delay between the account operation finishing and
the pin appearing in the pinning service. Failures are now hard errors
instead of warnings.
@kody-ai

kody-ai Bot commented May 17, 2026

Copy link
Copy Markdown

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Business Logic

Access your configuration settings here.

@pcfreak30 pcfreak30 merged commit 84c54fe into develop May 17, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown

Code Coverage Report

Total Coverage: 34.4%

Generated from commit: 5a9cd70
Repository: LumeWeb/pinner-cli

@pcfreak30 pcfreak30 deleted the feat/upload-wait-verify-pin branch May 17, 2026 09:00
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