Skip to content

native-android test writes later-offload.apk into the working directory #3705

Closed

Description

@janicduplessis

Problem

pnpm test leaves an untracked later-offload.apk (15 bytes) in the repository root. It can be committed by accident; it was nearly staged twice while working on #3685 and #3686.

Evidence

packages/stim-cli/src/__tests__/native-android.test.ts is the only source that names later-offload.apk. After a full pnpm test, git status shows ?? later-offload.apk.

Cause

A case in that test writes the file relative to the process working directory instead of a temporary directory.

Fix idea

Write it under a temporary directory the test removes.

Activity

  1. added
    type: bugBreaks documented or expected behavior
    area: clipackages/stim-cli, including its README and guide
    on Oct 13, 2026
  2. janicduplessis commented on Oct 13, 2026

    @janicduplessis
    CollaboratorAuthor

    Claimed: fix/3705-offload-apk-in-cwd

  3. added a commit that references this issue on Oct 13, 2026
    a1cb79a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: clipackages/stim-cli, including its README and guidepriority: P3Nice to havetype: bugBreaks documented or expected behavior

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions