Exact apps in a subdirectory with a non-ASCII folder name never offload

Open Beginner friendly
#5,403 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
typescript
Domain
cli

Research direction

Read the folder-name check in packages/stim-cli/src/integrations/exact-offload.ts alongside ensureCheckout and exactCheckout in packages/stim-cli/src/offload/worker.ts to confirm when the app is at the repository root. Narrow the check to that case and update the guide line listing this local-build case. Verify that an Exact app in a subdirectory with a non-ASCII folder name offloads normally.

Written by the indexing model from the issue text.

Description

area: cli priority: P3 type: bug

Problem

stim ios builds an Exact app locally instead of offloading it when the app's folder name is not plain ASCII, even when the app sits in a subdirectory of its repository. Only an app at the repository root needs that check.

Evidence

Found in review of #5400: packages/stim-cli/src/integrations/exact-offload.ts (the folder-name check near line 131) applies to every Exact app, while the worker uses the name only for an app at the repository root (ensureCheckout calls exactCheckout only when project === '', packages/stim-cli/src/offload/worker.ts).

Cause

The check predates the change that limited the src -> checkout/<name> link to repository-root apps, and was not narrowed with it.

Fix idea

Apply the name check only when the app is at the repository root, and update the guide line that lists this local-build case. Verify with a subdirectory app whose folder name has a non-ASCII character offloading normally.

Dominant language
TypeScript
Stars
100
Forks
8
Avg merge
4h 24m
Merged PRs (30d)
971

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No 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 appandflow/stim

All issues in appandflow/stim

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.