Skip to content

fix(cli): hide internal paths in download logs#1874

Open
saturn-dbeal wants to merge 1 commit intodevfrom
fix/loader-label-hide-path
Open

fix(cli): hide internal paths in download logs#1874
saturn-dbeal wants to merge 1 commit intodevfrom
fix/loader-label-hide-path

Conversation

@saturn-dbeal
Copy link
Copy Markdown
Contributor

Summary

Loader getLabel() was returning raw filesystem paths (e.g. /home/vscode/.local/share/cannon/ipfs_cache) which appeared in build output like:

Downloading ipfs://QmPKAzjR1qQbJsbc3b5mmrJcFZPbwimmUa9sPYV28uQWVz via /home/vscode/.local/share/cannon/ipfs_cache

Now shows:

Downloading ipfs://QmPKAzjR1qQbJsbc3b5mmrJcFZPbwimmUa9sPYV28uQWVz via local cache

Changes

  • LocalLoader.getLabel()"local blobs" instead of directory path
  • CliLoader.getLabel() local action → "local cache" instead of directory path

Test Plan

  • Run cannon build and verify download log lines show local cache instead of filesystem paths

Instead of leaking filesystem paths like /home/vscode/.local/share/cannon/ipfs_cache
in download logs, show 'local cache' and 'local blobs'.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

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