Skip to content

Allow spaces inside a launch argument name (tester-army/e2e#2363) - #2445

Merged
kblok merged 1 commit into
mainfrom
fix/2372-launch-argument-name-spaces
Nov 29, 2026
Merged

kblok merged 1 commit into
mainfrom
fix/2372-launch-argument-name-spaces

Conversation

@kblok

@kblok kblok commented Nov 29, 2026

Copy link
Copy Markdown
Member

Closes #2372

What

A launch argument name in the object form of app.launchArguments / LaunchArgumentValues may now hold spaces, so a user-defaults key such as NSSplitView Subview Frames Main no longer fails with INVALID_CONFIG. A name with a control character, a space at either end, or any other whitespace is still refused.

Upstream parity

Ports e2e-inc/e2e@8300436 (#2363): checkLaunchArguments in core/src/internal/launch-arguments.ts -> LaunchArgumentRules.CheckName. Verdict: full parity (same two messages, same rules, docs and skill updated).

  • Name check split into control/non-space whitespace and leading/trailing space
  • Docs: reference/config.mdx, reference/engine.mdx -> get-started/mobile.mdx, skills/e2e-dotnet/references/mobile.md

Upstream tests

  • config.test.ts resolveConfig launch arguments it -> ResolveConfigTests.Partial_Takes_launch_arguments_... (changed assertions ported; stays "Partial" as before: JSON cannot spell Map/Date/NaN)
  • mobile launch-arguments.test.ts "passes a name with spaces through as one argument" -> LaunchArgumentListTests.Passes_a_name_with_spaces_through_as_one_argument

Not ported

Nothing. Local run: Config and mobile launch-argument tests pass on net10.0; the browser-needing tests in this environment fail without a browser, unrelated.


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 11 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 8576960 and 9a51207.

Files selected for processing: 5

  • docs-site/src/content/docs/get-started/mobile.mdx
  • skills/e2e-dotnet/references/mobile.md
  • src/E2E/Internal/LaunchArgumentRules.cs
  • tests/E2E.Mobile.Tests/LaunchArguments/LaunchArgumentListTests.cs
  • tests/E2E.Tests/Config/ResolveConfigTests.cs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@kblok
kblok merged commit 9c06a06 into main Nov 29, 2026
7 of 8 checks passed
@kblok
kblok deleted the fix/2372-launch-argument-name-spaces branch November 29, 2026 13:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upstream: allow spaces inside a launch argument name (tester-army/e2e#2363)

2 participants