Skip to content

bug(build): lack of analysis capabilities on cached runs #12018

@0xrusowsky

Description

@0xrusowsky

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

No response

What version of Foundryup are you on?

No response

What command(s) is the bug in?

No response

Operating System

None

Describe the bug

fn configure_pcx_from_compile_output relies on ProjectCompileOutput.sources() to figure out the sources that solar should ingest. However, when the source code doesn't change between compiler runs, compilation is skipped and sources is empty.

This behavior wasn't caught by unit tests, and causes solar analysis capabilities to only be available on the first test run.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions