Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

[jvm] Using selfie with Gradle Develocity Test Distribution

Open
#553 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, kubernetes

Research direction

Start by reproducing the interaction between Gradle Develocity Test Distribution and Selfie's checkout-rewriting behavior, then inspect the existing extra Test-type task workaround and the magic-comment handling. Done would mean selfieonce/SELFIEWRITE can automatically disable test distribution when checkout rewriting is needed; the issue names no files or tests.

Written by the indexing model from the issue text.

Description

enhancement jvm

We use Gradle's "Develocity" test distribution which runs our JVM tests in our Kubernetes cluster rather than on dev laptops. This isn't compatible with Selfie's checkout-rewriting functionality.

As a workaround, we've added an extra Test-type task to our projects that disables test distribution and sets selfie=overwrite, and we've made our normal tests set selfie=readonly (though the latter may be overkill). This does mean that you need to take an explicit action and can't just use the selfieonce/SELFIEWRITE features.

Has anyone else run into this? We're thinking of writing something that looks for the magic comments and automatically disables test distribution if they exist, and are curious if anyone else has come up with this already.

Dominant language
Kotlin
Stars
101
Forks
18
Avg merge
6d 11h
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from diffplug/selfie

All issues in diffplug/selfie

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.