Skip to content

Declare Gradle inputs to tasks for rewrite-csharp and rewrite-python#7272

Merged
greg-at-moderne merged 1 commit intomainfrom
greg-csharp-build-cache-fix
Apr 3, 2026
Merged

Declare Gradle inputs to tasks for rewrite-csharp and rewrite-python#7272
greg-at-moderne merged 1 commit intomainfrom
greg-csharp-build-cache-fix

Conversation

@greg-at-moderne
Copy link
Copy Markdown
Contributor

@greg-at-moderne greg-at-moderne commented Apr 3, 2026

What's changed?

Gradle build re-configuration. Declaring Gradle-level inputs for testRuntimeClasspath and runtimeClasspath in rewrite-csharp, rewrite-python. Currently none are declared.

What's your motivation?

An attempt to fix no caching for some of the tasks.
E.g.
https://ge.openrewrite.org/s/5a46joy4lwmha/timeline?view=ungrouped - a scheduled CI run on main shows:

The task was not up-to-date because there was no task history available. 
Cache key	fd1c5fc0124617286fc9bd203e2fdc49
Not cacheable	Gradle would require more information to cache this task.

@greg-at-moderne greg-at-moderne self-assigned this Apr 3, 2026
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Apr 3, 2026
@greg-at-moderne greg-at-moderne marked this pull request as ready for review April 3, 2026 12:21
@greg-at-moderne greg-at-moderne merged commit fbaf874 into main Apr 3, 2026
1 check passed
@greg-at-moderne greg-at-moderne deleted the greg-csharp-build-cache-fix branch April 3, 2026 12:21
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant