Skip to content

Kernel snapshot input dependency tracking not working #147643

Description

@knopp

Haven't bisected this, but #147158 seems like the suspect.

Steps to reproduce:

flutter create -e test_1
cd test_1
flutter run -d macos

quit the application, modify the dart file

flutter run -d macos

Second run will not reflect modifications.

I'm guessing the problem is that after change the dart inputs are written into kernel_snapshot_program.stamp, while kernel_snapshot.stamp is empty, which causes the KernelSnapshot target (and thus the dependencies) skipped.

/cc @dcharkes, @christopherfujino

Activity

  1. changed the title [-]Source dependency tracking not working[/-] [+]Kernel snapshot input dependency tracking not working[/+] on May 1, 2024
  2. self-assigned this
    on May 1, 2024
  3. dcharkes commented on May 2, 2024

    @dcharkes
    Contributor

    Thanks for the report @knopp!

    Fix underway:

  4. christopherfujino commented on May 2, 2024

    @christopherfujino
    Contributor

    Yes, thanks so much for the detailed bug!

  5. added a commit that references this issue on May 7, 2024
  6. github-actions commented on May 21, 2024

    @github-actions

    This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

  7. locked as resolved and limited conversation to collaborators on May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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