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

tooling: recordRoborazziDebug from a worktree writes baselines into the primary checkout

Open
#1,036 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
android, kotlin, shell

Research direction

Start with the recordRoborazziDebug task in the :android:app Gradle setup, where the baseline output path is configured, and reproduce with HomeScreenshotTest.whatsNew from a git worktree with and without --no-configuration-cache. Then read worker-finish.sh to see why --record-screenshots is rejected alongside --no-test. Done means the baseline lands in the worktree under the configuration cache and the script accepts both flags together.

Written by the indexing model from the issue text.

Description

bug impact:U1 later P3 reach:R2 size:S

Re-recording a screenshot baseline from a worker worktree writes the PNG into the primary checkout's docs/ instead of the worktree's.

How it was seen: while re-recording HomeScreenshotTest.whatsNew in the worktree, the worker ran ./gradlew :android:app:recordRoborazziDebug --tests '*HomeScreenshotTest.whatsNew' there. The new baseline landed in the primary checkout. With --no-configuration-cache it went to the worktree as expected. The likely cause is that the configuration cache keeps the Roborazzi output path as an absolute path (unverified).

There's a second problem: worker-finish.sh --record-screenshots can't be combined with --no-test. So a baseline-only change can't go through the normal finish path, and the recording would hit the same path problem anyway.

Fix: make the baseline output dir relative to the project, or not part of the config-cache inputs. Also let --record-screenshots work with --no-test.

Impact U1 (workers write into the primary checkout, and re-recording baselines needs a manual workaround) · Reach R2 (every worktree screenshot re-record; seen once) · Implemented: no · Design fit: fits · Complexity: S

Dominant language
Kotlin
Stars
229
Forks
28
PR merge metrics
No merged PRs in 30d

Getting set up

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 timusus/Shuttle2

All issues in timusus/Shuttle2

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.