Skip to content

Skipped by default configuration stage may be not so useful #2138

Open

Description

@eunovm

By default BuildStream omits configuration steps on subsequent builds for optimization purposes (https://docs.buildstream.build/master/developing/workspaces.html#incremental-builds). There is a command to overcome that, but actually this optimization does not seem useful at least at the initial stages of development, e.g. when adding new elements and changing configuration frequently. For instance, I often spend much more time to understand problems and to run necessary missed configuration steps, then I get from this optimization.

It would be great to have an ability to disable this optimization either globally or for the build command. Probably, it has sense to disable it by default and to enable it, say, via an extra command-line argument.

Activity

  1. kotborealis commented on Jun 26, 2026

    @kotborealis
    Contributor

    I have some troubles with this too - sometimes I spend too much time debugging failing builds until i remember that I need to run workspace reset --soft to allow configure-commands step to run.

    It would be great to have an ability to disable this optimization either globally or for the build command. Probably, it has sense to disable it by default and to enable it, say, via an extra command-line argument.

    I don't think it would be possible to disable it by default, as it would be backwards-incompatible change. Maybe it could be opt-in, like via a parameter in ~/.config/buildstream.conf?

    # buildstream.conf
    ...
    disable-incremental-builds-optimization: true
    ...

    This way, users could disable this behaviour for their machine if they wish to.

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions