Skip to content

fbuild: staged AutoResearch C++ changes do not invalidate RP2040 deploy cache #1075

Closed

Description

@zackees

Reproduction

On Windows with fbuild 2.5.2, update an examples/AutoResearch/*.cpp source that is copied into the synthesized AutoResearch project, then run:

bash autoresearch rp2040 --rp-spi-loopback --tx-pin 3 --rx-pin 0 --upload-port COM12 --timeout 120s --skip-lint

The staging log copies the updated file, fbuild deploy succeeds, but the flashed firmware still exposes the old RPC schema (61 methods, without rpSpiLoopback). Re-running the exact command with --clean forces a rebuild; the flashed firmware then exposes 62 methods including rpSpiLoopback.

Expected

A staged source-content change invalidates the fbuild build cache without requiring --clean.

Actual

The cached artifact is deployed after the staged C++ source changes. This can produce a misleading hardware-validation result because the source shown in the staging log differs from the firmware running on the board.

Environment

  • FastLED AutoResearch, rp2040 environment
  • Raspberry Pi Pico on COM12
  • fbuild 2.5.2
  • Windows

Related FastLED hardware validation: FastLED/FastLED#3659.

Activity

  1. added a commit that references this issue on Jul 16, 2026
    374de40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions