Files
kilocode/packages/opencode/test/session
Imanol Maiztegui 7672adb18d fix(opencode): use pwd -P in shell spawns to resolve stale PWD on CI
Replace `$PWD` with `$(pwd -P)` when capturing the working directory
in zsh and bash login shell invocations. When the child shell inherits
a stale PWD environment variable — common in CI where the spawner's
cwd differs from the session directory — `$PWD` can point to the wrong
location, causing `cd "$__oc_cwd"` to silently escape the intended
directory. `pwd -P` queries the kernel via getcwd(), ensuring the
correct physical path is always used.

The corresponding test is updated with richer cwd diagnostics to
validate the fix and surface root-cause information on failure.
2026-04-25 10:09:58 +02:00
..
2026-04-24 16:58:05 +02:00
2026-04-21 18:03:34 +02:00
2026-04-12 13:36:08 +02:00
2026-04-21 18:03:34 +02:00