Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean task outputs when task implementation changes #13547

Open
wolfs opened this issue Jun 22, 2020 · 1 comment
Open

Clean task outputs when task implementation changes #13547

wolfs opened this issue Jun 22, 2020 · 1 comment
Labels
a:investigation Issues requiring decision or investigation in:execution-engine incremental, up-to-date, overlapping outputs

Comments

@wolfs
Copy link
Member

wolfs commented Jun 22, 2020

We currently clean the outputs of a task when

  • the version of Gradle changed,
  • the outputs are safe to delete,
  • and the outputs have not been generated by Gradle (e.g. when the Gradle version changes).

I wonder if that should happen later in the stage and we would clean out the outputs as well when the task implementation or even any of the inputs changed.

Especially for task implementation changes the outputs should be cleaned, so there are no strange side effects.


cc: @gradle/execution

@stale
Copy link

stale bot commented Apr 17, 2022

This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you're interested in how we try to keep the backlog in a healthy state, please read our blog post on how we refine our backlog. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution.

@stale stale bot added the stale label Apr 17, 2022
@wolfs wolfs removed the stale label Apr 19, 2022
@lptr lptr added the in:execution-engine incremental, up-to-date, overlapping outputs label Jun 2, 2022
@ov7a ov7a added the a:investigation Issues requiring decision or investigation label Aug 10, 2023
@lptr lptr removed the @execution label Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a:investigation Issues requiring decision or investigation in:execution-engine incremental, up-to-date, overlapping outputs
Projects
None yet
Development

No branches or pull requests

4 participants