Skip to content

feat(forge): migrate forge cache to output channel contract#14959

Merged
grandizzy merged 1 commit into
masterfrom
steven/cache-output-channel
May 29, 2026
Merged

feat(forge): migrate forge cache to output channel contract#14959
grandizzy merged 1 commit into
masterfrom
steven/cache-output-channel

Conversation

@stevencartavia
Copy link
Copy Markdown
Collaborator

@stevencartavia stevencartavia commented May 28, 2026

Migrates forge cache per docs/dev/output-channels.md: the cache ls listing moves from stdout to stderr. cache clean was already compliant (only sh_warn!).

  • crates/forge/src/cmd/cache.rs: sh_print!("{cache}")sh_eprint!("{cache}").
  • docs/dev/output-channels.md: row flipped to migrated.
  • Tests: can_cache_ls (ignored, modifies global cache) switched from stdout_lossy() to stderr_lossy(). Added focused lock-in test cache_ls_output_on_stderr asserting empty stdout.

Part of OSS-224

@grandizzy grandizzy merged commit 64362ab into master May 29, 2026
19 checks passed
@grandizzy grandizzy deleted the steven/cache-output-channel branch May 29, 2026 12:27
@github-project-automation github-project-automation Bot moved this to Done in Foundry May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants