Skip to content
Source
Sign inSign up
pingdotgg/t3code

Isolate dev state and support forwarding server flags in dev runner #96

Mergedjuliusmarmingemerged 7 commits intomain fromcodething/9857e4f3merged by juliusmarminge View on GitHub

juliusmarmingecommented

Summary

  • Defaulted dev workflows to T3CODE_STATE_DIR=~/.t3/dev so local dev state is isolated from desktop/prod userdata.
  • Added desktop state-dir resolution via resolveDesktopStateDir() with env override support and tests.
  • Refactored scripts/dev-runner.mjs into testable units (parseDevRunnerArgs, createDevRunnerEnv, runDevRunner) and added argument parsing for forwarding server-like flags through root dev commands.
  • Implemented forwarding for key flags (for example --state-dir, --token, --no-browser, --port, --host, --dev-url) and preserved non-forwarded args for Turbo.
  • Updated README with the new default state-dir behavior and -- passthrough usage example.
  • Removed obsolete planning document .plans/17-claude-code.md.

Testing

  • apps/desktop/src/stateDir.test.ts
    • Verifies T3CODE_STATE_DIR env override is trimmed and used.
    • Verifies fallback to default desktop userdata path.
  • scripts/dev-runner.test.ts
    • Verifies supported forwarded flags map to env overrides.
    • Verifies unknown args continue to Turbo.
    • Verifies missing value handling for value-required flags.
    • Verifies default dev state-dir behavior and explicit override precedence.
    • Verifies WS URL recomputation when port is overridden.
    • Verifies explicitly forwarded web-mode flags are retained.
  • Lint: Not run
  • Full test suite: Not run

Note

Medium Risk Changes dev/desktop state directory selection and introduces CLI-to-env flag forwarding, which can affect where state is read/written and how dev processes are configured. The changes are mostly tooling-focused and are covered by new unit/integration tests.

Overview Dev workflows now default T3CODE_STATE_DIR to ~/.t3/dev and the dev runner supports forwarding server-like CLI flags (e.g. --state-dir, --token, --no-browser, --host, --port, --dev-url) into env overrides while passing unknown args through to Turbo.

The desktop app now prefers a trimmed T3CODE_STATE_DIR env override for its state location.

Integration harness shutdown was hardened to always remove temp dirs via Effect.ensuring, while still failing the dispose effect if shutdown steps fail; an integration test was added to assert cleanup on failure, and dev-runner now has unit tests for arg/env handling and port/url overrides.

Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit bc8573d736cd2ca612d59e01b455da6cd30ee583. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).

Note

Add dev runner flag forwarding and default dev state directory at ~/.t3/dev, and use process.env.T3CODE_STATE_DIR for Desktop state in main.ts

Implement CLI flag-to-env forwarding and default dev state handling in dev-runner.mjs, update Desktop to read T3CODE_STATE_DIR, and ensure test harness disposal removes temp dirs and fails on shutdown errors with new tests.

📍Where to Start

Start with argument parsing and env construction in parseDevRunnerArgs and createDevRunnerEnv in dev-runner.mjs.

Macroscope summarized bc8573d.

Summary by CodeRabbit

  • Documentation

    • Updated README: default dev state directory is ~/.t3/dev and server CLI flags can be forwarded using --.
  • New Features

    • Dev runner supports a configurable default dev state directory and forwarding CLI flags to override runtime env values.
    • Desktop app reads T3CODE_STATE_DIR to determine user data/state location.
  • Tests

    • Added unit tests for argument parsing, env overrides, state-dir resolution, and websocket/port behavior.
  • Bug Fixes

    • Integration shutdown now ensures temporary dirs are removed even when shutdown fails.
    1. coderabbitai[bot](GitHub profile, opens in a new tab)commented

      Caution

      Review failed

      The pull request is closed.

      ℹ️ Recent review info

      Configuration used: Organization UI

      Review profile: CHILL

      Plan: Pro

      📥 Commits

      Reviewing files that changed from the base of the PR and between 335d6ac0764b78b00ee1d40b3eb3ed4f4532c0dd and bc8573d736cd2ca612d59e01b455da6cd30ee583.

      📒 Files selected for processing (1)
      • apps/server/integration/OrchestrationEngineHarness.integration.ts

      Walkthrough

      Refactors dev-runner to parse/forward CLI flags into environment vars and introduce a configurable dev state directory; documents default dev state behavior; updates Electron main to read T3CODE_STATE_DIR; adds unit tests for dev-runner parsing and env construction; refactors integration harness shutdown to ensure temp-dir cleanup on failure.

      Changes

      Cohort / File(s)Summary
      Documentation
      README.md
      Added bullets documenting default dev state dir (~/.t3/dev) and how to forward server CLI flags from root dev commands using -- (example).
      Electron main
      apps/desktop/src/main.ts
      Consolidated imports and changed STATE_DIR to read trimmed process.env.T3CODE_STATE_DIR when present; previous fallback remains path.join(os.homedir(), ".t3", "userdata").
      Dev runner implementation
      scripts/dev-runner.mjs
      Large refactor: add DEFAULT_DEV_STATE_DIR, expose parsing and env-construction helpers (resolveOffset, parseDevRunnerArgs, createDevRunnerEnv, runDevRunner, parseLongFlag, resolveStateDir), centralize flag→env mapping, normalize boolean env values, compute offsets/URLs, handle dry-run and turbo args, and orchestrate spawning with composed env including forwarded flags and state-dir.
      Dev runner tests
      scripts/dev-runner.test.ts
      New unit tests covering parseDevRunnerArgs and createDevRunnerEnv: flag→env mapping, missing-value error, default/override state-dir, websocket URL recompute on port override, preservation of forwarded web-mode flags, and invalid-port failure.
      Integration harness & tests
      apps/server/integration/OrchestrationEngineHarness.integration.ts, apps/server/integration/orchestrationEngine.integration.test.ts
      Shutdown refactored into an Effect-based coordinated workflow that collects exits from stop/close/dispose and ensures root temp-dir cleanup; added live test forcing provider stop failure to assert failure exit and temp-dir removal.

      Sequence Diagram(s)

      sequenceDiagram
        participant Dev as Developer (CLI)
        participant Runner as DevRunner
        participant Child as Spawned Dev Process
        participant Electron as Electron App
      
        Dev->>Runner: invoke dev command + flags (including `--` forwarded flags)
        Runner->>Runner: parseDevRunnerArgs(rawArgs)
        Runner->>Runner: resolveOffset(env) and resolveStateDir(envOverrides)
        Runner->>Runner: createDevRunnerEnv({mode, offset, envOverrides})
        Runner->>Child: spawn child process with composed env (T3CODE_STATE_DIR, VITE_WS_URL, ports, forwarded flags)
        Child-->>Runner: child process starts / listens
        Electron->>Electron: reads process.env.T3CODE_STATE_DIR (or fallback)

      Estimated code review effort

      🎯 4 (Complex) | ⏱️ ~45 minutes

      🚥 Pre-merge checks | ✅ 2 | ❌ 1

      ❌ Failed checks (1 warning)

      Check nameStatusExplanationResolution
      Docstring Coverage⚠️ WarningDocstring coverage is 0.00% which is insufficient. The required threshold is 80.00%.Write docstrings for the functions missing them to satisfy the coverage threshold.
      ✅ Passed checks (2 passed)
      Check nameStatusExplanation
      Description Check✅ PassedCheck skipped - CodeRabbit’s high-level summary is enabled.
      Title check✅ PassedThe title accurately summarizes the two main changes: dev state isolation via T3CODE_STATE_DIR and support for forwarding server flags (--state-dir, --token, --no-browser, --port, --host, --dev-url) in the dev runner.
      ✏️ Tip: You can configure your own custom pre-merge checks in the settings.
      ✨ Finishing Touches
      • 📝 Generate docstrings (stacked PR)
      • 📝 Generate docstrings (commit on current branch)
        🧪 Generate unit tests (beta)
      • Create PR with unit tests
      • Post copyable unit tests in a comment
      • Commit unit tests in branch `codething/9857e4f3`

      Comment `@coderabbitai help` to get the list of available commands and usage tips.
    2. Actionable comments posted: 3

      🧹 Nitpick comments (1)
      scripts/dev-runner.test.ts (1)

      30-33: Add regression tests for parser/env edge cases introduced by flag forwarding.

      Please add coverage for: (1) required flag followed by another flag (should throw), and (2) invalid T3CODE_PORT override (should throw once validation is added).

      Suggested tests
       describe("parseDevRunnerArgs", () => {
      @@
         it("throws when a value flag is missing its value", () => {
           expect(() => parseDevRunnerArgs(["--state-dir"])).toThrow("Missing value for --state-dir");
         });
      +
      +  it("throws when a value flag is followed by another flag", () => {
      +    expect(() => parseDevRunnerArgs(["--state-dir", "--continue"])).toThrow(
      +      "Missing value for --state-dir",
      +    );
      +  });
       });
      @@
         it("recomputes websocket url when port is overridden", () => {
      @@
           expect(env.VITE_WS_URL).toBe("ws://localhost:4222");
         });
      +
      +  it("throws when port override is invalid", () => {
      +    expect(() =>
      +      createDevRunnerEnv({
      +        mode: "dev",
      +        env: {},
      +        offset: 0,
      +        envOverrides: { T3CODE_PORT: "not-a-port" },
      +      }),
      +    ).toThrow("Invalid T3CODE_PORT");
      +  });

      Also applies to: 58-68

      🤖 Prompt for AI Agents
      Verify each finding against the current code and only fix it if needed.
      
      In `@scripts/dev-runner.test.ts` around lines 30 - 33, Add two regression tests to
      scripts/dev-runner.test.ts around the parseDevRunnerArgs suite: (1) a test that
      calls parseDevRunnerArgs(["--state-dir", "--other-flag"]) (or similar required
      flag followed by another flag) and expects it to throw a "Missing value for
      --state-dir" error to cover the required-flag-followed-by-flag case; and (2) a
      test that sets T3CODE_PORT to an invalid value (e.g. non-numeric or
      out-of-range) in process.env and calls parseDevRunnerArgs or the env-parsing
      helper used by parseDevRunnerArgs, expecting it to throw once port validation is
      enforced, referencing parseDevRunnerArgs and the env/port-validation logic so
      reviewers can find the affected code paths.
      🤖 Prompt for all review comments with AI agents
      Verify each finding against the current code and only fix it if needed.
      
      Inline comments:
      In `@scripts/dev-runner.mjs`:
      - Around line 154-156: In resolveStateDir, trim and validate
      envOverrides.T3CODE_STATE_DIR before using it so whitespace-only or empty values
      fall back to DEFAULT_DEV_STATE_DIR; specifically, check if
      envOverrides?.T3CODE_STATE_DIR when trimmed is non-empty (e.g., const val =
      envOverrides?.T3CODE_STATE_DIR?.trim()) and return val if truthy otherwise
      return DEFAULT_DEV_STATE_DIR, updating the resolveStateDir function to perform
      this validation.
      - Around line 174-177: The code silently ignores invalid T3CODE_PORT overrides
      by only setting output.VITE_WS_URL when parsedServerPort is valid; instead fail
      fast: after computing parsedServerPort (variable parsedServerPort) validate that
      it's an integer in 1..65535 and if not, log a clear error including the original
      output.T3CODE_PORT value and terminate (throw or process.exit(1)) so runtime
      config can't desynchronize; if valid, continue to set output.VITE_WS_URL as
      currently done.
      - Around line 132-138: The parser currently treats the next token as a value
      even when it's a flag, so update the value-extraction logic in
      scripts/dev-runner.mjs (the block that assigns value when value === undefined
      for parsedFlag.name) to treat tokens that look like flags as missing values:
      after grabbing const next = args[index + 1], if next is undefined OR next
      startsWith('-') (i.e. is a flag token) then throw new Error(`Missing value for
      --${parsedFlag.name}`); otherwise assign value = next and increment index; this
      will prevent consuming flags like `--continue` as values for required flags.
      
      ---
      
      Nitpick comments:
      In `@scripts/dev-runner.test.ts`:
      - Around line 30-33: Add two regression tests to scripts/dev-runner.test.ts
      around the parseDevRunnerArgs suite: (1) a test that calls
      parseDevRunnerArgs(["--state-dir", "--other-flag"]) (or similar required flag
      followed by another flag) and expects it to throw a "Missing value for
      --state-dir" error to cover the required-flag-followed-by-flag case; and (2) a
      test that sets T3CODE_PORT to an invalid value (e.g. non-numeric or
      out-of-range) in process.env and calls parseDevRunnerArgs or the env-parsing
      helper used by parseDevRunnerArgs, expecting it to throw once port validation is
      enforced, referencing parseDevRunnerArgs and the env/port-validation logic so
      reviewers can find the affected code paths.

      ℹ️ Review info

      Configuration used: Organization UI

      Review profile: CHILL

      Plan: Pro

      📥 Commits

      Reviewing files that changed from the base of the PR and between 5748a995f7303a75baee57010beaaa94db1d50ad and 923837537b929a200cc42b4fa1ac5711fdf3bb02.

      📒 Files selected for processing (6)
      • README.md
      • apps/desktop/src/main.ts
      • apps/desktop/src/stateDir.test.ts
      • apps/desktop/src/stateDir.ts
      • scripts/dev-runner.mjs
      • scripts/dev-runner.test.ts
    3. Cursor Bugbot has reviewed your changes and found 2 potential issues.

      Bugbot Autofix prepared fixes for both issues found in the latest run.

      • ✅ Fixed: Arg parsing before mode validation produces confusing errors
        • Moved mode validation before parseDevRunnerArgs() so an invalid mode now correctly produces the usage error instead of a misleading flag-parsing error.
      • ✅ Fixed: Log shows offset-based port ignoring port override
        • Changed the log to use env.T3CODE_PORT and env.PORT from the merged environment so --port overrides are accurately reflected.

      Create PR

      Or push these changes by commenting:

      @cursor push d5dd84aba7
      Preview (pingdotgg/t3code@d5dd84aba7)
      diff --git a/scripts/dev-runner.mjs b/scripts/dev-runner.mjs
      --- a/scripts/dev-runner.mjs
      +++ b/scripts/dev-runner.mjs
      @@ -197,12 +197,12 @@
       
       export function runDevRunner(argv = process.argv) {
         const mode = argv[2];
      -  const parsedArgs = parseDevRunnerArgs(argv.slice(3));
         if (!mode || !(mode in MODE_ARGS)) {
           const supportedModes = Object.keys(MODE_ARGS).join(", ");
           throw new Error(`Usage: bun scripts/dev-runner.mjs <mode>. Supported modes: ${supportedModes}`);
         }
       
      +  const parsedArgs = parseDevRunnerArgs(argv.slice(3));
         const { offset, source } = resolveOffset();
         const serverPort = BASE_SERVER_PORT + offset;
         const webPort = BASE_WEB_PORT + offset;
      @@ -221,7 +221,7 @@
         });
       
         console.info(
      -    `[dev-runner] mode=${mode} source=${source} serverPort=${serverPort} webPort=${webPort} stateDir=${env.T3CODE_STATE_DIR}`,
      +    `[dev-runner] mode=${mode} source=${source} serverPort=${env.T3CODE_PORT} webPort=${env.PORT} stateDir=${env.T3CODE_STATE_DIR}`,
         );
       
         if (parsedArgs.isDryRun) {
      scripts/dev-runner.mjs line 216Resolvedby juliusmarminge
      scripts/dev-runner.mjs line 237Resolvedby juliusmarminge
    4. Actionable comments posted: 1

      🤖 Prompt for all review comments with AI agents
      Verify each finding against the current code and only fix it if needed.
      
      Inline comments:
      In `@apps/desktop/src/main.ts`:
      - Around line 21-22: The STATE_DIR initialization uses
      process.env.T3CODE_STATE_DIR?.trim() with the nullish coalescing operator (??),
      which doesn't fall back for whitespace-only values; update the expression that
      sets STATE_DIR (the code creating STATE_DIR from
      process.env.T3CODE_STATE_DIR?.trim()) to use logical OR (||) instead of ?? so an
      empty string (result of trimming whitespace) will trigger the fallback to
      path.join(os.homedir(), ".t3", "userdata").

      ℹ️ Review info

      Configuration used: Organization UI

      Review profile: CHILL

      Plan: Pro

      📥 Commits

      Reviewing files that changed from the base of the PR and between 923837537b929a200cc42b4fa1ac5711fdf3bb02 and 008fbdd5872de6d54d3ff09a40748ed3ff40ac50.

      📒 Files selected for processing (1)
      • apps/desktop/src/main.ts
      apps/desktop/src/main.ts lines 21 to 22OutdatedResolvedby juliusmarminge
    5. scripts/dev-runner.mjs line 264Resolvedby juliusmarminge
    6. Actionable comments posted: 1

      ♻️ Duplicate comments (2)
      scripts/dev-runner.mjs (2)

      154-156: ⚠️ Potential issue | 🟡 Minor

      Whitespace-only --state-dir still bypasses fallback.

      At Line 155, T3CODE_STATE_DIR is used as-is. A value like " " becomes an invalid path instead of falling back to DEFAULT_DEV_STATE_DIR.

      Suggested fix
       function resolveStateDir(envOverrides) {
      -  return envOverrides.T3CODE_STATE_DIR ?? DEFAULT_DEV_STATE_DIR;
      +  const value = envOverrides.T3CODE_STATE_DIR?.trim();
      +  return value ? value : DEFAULT_DEV_STATE_DIR;
       }
      🤖 Prompt for AI Agents
      Verify each finding against the current code and only fix it if needed.
      
      In `@scripts/dev-runner.mjs` around lines 154 - 156, resolveStateDir currently
      returns envOverrides.T3CODE_STATE_DIR as-is so whitespace-only values like "   "
      bypass the fallback; update resolveStateDir to trim the value and treat
      empty/whitespace-only strings as absent by returning DEFAULT_DEV_STATE_DIR when
      envOverrides.T3CODE_STATE_DIR is null/undefined or
      envOverrides.T3CODE_STATE_DIR.trim() === "" (keep using the same function name
      and constants: resolveStateDir, T3CODE_STATE_DIR, DEFAULT_DEV_STATE_DIR).

      174-177: ⚠️ Potential issue | 🟠 Major

      Invalid T3CODE_PORT override can silently desync runtime config.

      At Lines 174-177, an invalid override (e.g. --port=abc or --port=) leaves T3CODE_PORT overridden but keeps VITE_WS_URL at the computed default. That mismatch is hard to diagnose and should fail fast.

      Suggested fix
         const parsedServerPort = Number(output.T3CODE_PORT);
      -  if (Number.isInteger(parsedServerPort) && parsedServerPort > 0 && parsedServerPort <= 65535) {
      -    output.VITE_WS_URL = `ws://localhost:${parsedServerPort}`;
      -  }
      +  if (!Number.isInteger(parsedServerPort) || parsedServerPort <= 0 || parsedServerPort > 65535) {
      +    throw new Error(`Invalid T3CODE_PORT: ${output.T3CODE_PORT}`);
      +  }
      +  output.VITE_WS_URL = `ws://localhost:${parsedServerPort}`;
      🤖 Prompt for AI Agents
      Verify each finding against the current code and only fix it if needed.
      
      In `@scripts/dev-runner.mjs` around lines 174 - 177, The code currently parses
      output.T3CODE_PORT into parsedServerPort and silently ignores invalid overrides,
      causing output.T3CODE_PORT to differ from the computed output.VITE_WS_URL;
      change the logic in the block that uses
      parsedServerPort/output.T3CODE_PORT/output.VITE_WS_URL so that if an explicit
      override for output.T3CODE_PORT is present but Number(output.T3CODE_PORT) is NaN
      or out of the 1–65535 range, the script fails fast (log a clear error
      referencing the invalid output.T3CODE_PORT and call process.exit(1) or throw),
      otherwise set output.VITE_WS_URL using parsedServerPort as before—this ensures
      parsedServerPort, output.T3CODE_PORT and output.VITE_WS_URL stay consistent.
      🤖 Prompt for all review comments with AI agents
      Verify each finding against the current code and only fix it if needed.
      
      Inline comments:
      In `@scripts/dev-runner.mjs`:
      - Line 201: The validation currently uses the `in` operator to check `mode in
      MODE_ARGS`, which can match prototype keys; replace this with an own-property
      check using `Object.hasOwn(MODE_ARGS, mode)` (or
      `Object.prototype.hasOwnProperty.call(MODE_ARGS, mode)`) so only actual keys on
      `MODE_ARGS` are accepted; update the conditional around `mode` and `MODE_ARGS`
      (the `if (!mode || !(mode in MODE_ARGS))` check) to use `Object.hasOwn` to
      prevent prototype properties from passing validation.
      
      ---
      
      Duplicate comments:
      In `@scripts/dev-runner.mjs`:
      - Around line 154-156: resolveStateDir currently returns
      envOverrides.T3CODE_STATE_DIR as-is so whitespace-only values like "   " bypass
      the fallback; update resolveStateDir to trim the value and treat
      empty/whitespace-only strings as absent by returning DEFAULT_DEV_STATE_DIR when
      envOverrides.T3CODE_STATE_DIR is null/undefined or
      envOverrides.T3CODE_STATE_DIR.trim() === "" (keep using the same function name
      and constants: resolveStateDir, T3CODE_STATE_DIR, DEFAULT_DEV_STATE_DIR).
      - Around line 174-177: The code currently parses output.T3CODE_PORT into
      parsedServerPort and silently ignores invalid overrides, causing
      output.T3CODE_PORT to differ from the computed output.VITE_WS_URL; change the
      logic in the block that uses
      parsedServerPort/output.T3CODE_PORT/output.VITE_WS_URL so that if an explicit
      override for output.T3CODE_PORT is present but Number(output.T3CODE_PORT) is NaN
      or out of the 1–65535 range, the script fails fast (log a clear error
      referencing the invalid output.T3CODE_PORT and call process.exit(1) or throw),
      otherwise set output.VITE_WS_URL using parsedServerPort as before—this ensures
      parsedServerPort, output.T3CODE_PORT and output.VITE_WS_URL stay consistent.

      ℹ️ Review info

      Configuration used: Organization UI

      Review profile: CHILL

      Plan: Pro

      📥 Commits

      Reviewing files that changed from the base of the PR and between 008fbdd5872de6d54d3ff09a40748ed3ff40ac50 and 16d337641016486f7e4650990ba9e319a3d9da97.

      📒 Files selected for processing (2)
      • scripts/dev-runner.mjs
      • scripts/dev-runner.test.ts
      🚧 Files skipped from review as they are similar to previous changes (1)
      • scripts/dev-runner.test.ts
      scripts/dev-runner.mjs line 214Resolvedby juliusmarminge
    7. Actionable comments posted: 1

      🧹 Nitpick comments (1)
      scripts/dev-runner.mjs (1)

      214-214: Consider using Object.hasOwn for mode validation.

      While MODE_ARGS is a plain object literal defined locally, using Object.hasOwn(MODE_ARGS, mode) would be more defensive against prototype-inherited keys (e.g., "constructor" would pass the current check).

      Suggested fix
      -  if (!mode || !(mode in MODE_ARGS)) {
      +  if (!mode || !Object.hasOwn(MODE_ARGS, mode)) {
      🤖 Prompt for AI Agents
      Verify each finding against the current code and only fix it if needed.
      
      In `@scripts/dev-runner.mjs` at line 214, Replace the prototype-pollution-prone
      membership check "mode in MODE_ARGS" with a direct own-property check using
      Object.hasOwn(MODE_ARGS, mode) in the validation branch that references the
      variables mode and MODE_ARGS; update the if condition to "if (!mode ||
      !Object.hasOwn(MODE_ARGS, mode))" (or use
      Object.prototype.hasOwnProperty.call(MODE_ARGS, mode) if runtime compatibility
      is a concern) so only own keys of MODE_ARGS are accepted.
      🤖 Prompt for all review comments with AI agents
      Verify each finding against the current code and only fix it if needed.
      
      Inline comments:
      In `@apps/server/integration/OrchestrationEngineHarness.integration.ts`:
      - Around line 338-340: The code path that calls Effect.failCause when
      failureCause is present should use a definitive return to signal an exit;
      replace the bare "yield* Effect.failCause(failureCause)" with a "return yield*
      Effect.failCause(failureCause)" so the function's control flow and type
      narrowing are correct—update the branch that checks failureCause and the call to
      Effect.failCause accordingly.
      
      ---
      
      Nitpick comments:
      In `@scripts/dev-runner.mjs`:
      - Line 214: Replace the prototype-pollution-prone membership check "mode in
      MODE_ARGS" with a direct own-property check using Object.hasOwn(MODE_ARGS, mode)
      in the validation branch that references the variables mode and MODE_ARGS;
      update the if condition to "if (!mode || !Object.hasOwn(MODE_ARGS, mode))" (or
      use Object.prototype.hasOwnProperty.call(MODE_ARGS, mode) if runtime
      compatibility is a concern) so only own keys of MODE_ARGS are accepted.

      ℹ️ Review info

      Configuration used: Organization UI

      Review profile: CHILL

      Plan: Pro

      📥 Commits

      Reviewing files that changed from the base of the PR and between 16d337641016486f7e4650990ba9e319a3d9da97 and 335d6ac0764b78b00ee1d40b3eb3ed4f4532c0dd.

      📒 Files selected for processing (5)
      • apps/desktop/src/main.ts
      • apps/server/integration/OrchestrationEngineHarness.integration.ts
      • apps/server/integration/orchestrationEngine.integration.test.ts
      • scripts/dev-runner.mjs
      • scripts/dev-runner.test.ts
    8. juliusmarminge merged this87854c2

    9. juliusmarminge closed this

Sign in to join this conversation.