Skip to content

test: cover Windows short-path source bindings - #92

Merged
lidge-jun merged 1 commit into
lidge-jun:devfrom
parkjs101:codex/windows-short-path-regression
Sep 8, 2026
Merged

lidge-jun merged 1 commit into
lidge-jun:devfrom
parkjs101:codex/windows-short-path-regression

Conversation

@parkjs101

Copy link
Copy Markdown
Contributor

The Windows 8.3 source-binding fix already landed in #84 via bb204ea. Its integration fixture expands temporary paths to long names, so the suite does not explicitly exercise a caller supplying the short alias.

Carry forward the missing regression from thisisjun786#1. It obtains an actual 8.3 alias using cmd.exe and verifies short/long binding resolution, byte-preserving repeat binding, native cwd identity, pinned source root, B/C progression, and a validated receipt executed in the linked worktree. It skips outside Windows or when the volume does not provide 8.3 aliases.

Production code is unchanged. The README test counts are updated to the measured 2,671 tests, and verification notes are included in the existing worktree-source-binding unit.

Validation (Node 24.15.0):

  • New Windows regression: passed without skipping against current dev.
  • WSL Ubuntu integration file: 18 passed, 0 failed, 1 skipped (Windows-only alias regression), including the damaged-symlink test and shipped CLI flow.
  • Repository gate, inventory check against 2,671, and whitespace check: passed.
  • Full local Windows suite: 2,580 passed, 81 skipped, 10 failed. These are the nine existing session-binding symlink fixtures and the damaged-symlink integration fixture on a host without symlink creation permission. The new regression passed; the full suite is not green locally. No tests or permission checks were relaxed.

The regression was previously verified failing before the native-path fix and passing afterward in the original follow-up; this PR verifies it against the merged upstream implementation.

@lidge-jun
lidge-jun merged commit 393da86 into lidge-jun:dev Sep 8, 2026
11 checks passed
lidge-jun added a commit to thisisjun786/codexclaw that referenced this pull request Sep 8, 2026
Resolves the README test-count badge conflict from lidge-jun#92 (2,671) against this
branch's 2,692, then re-measures the merged suite: 2,697 total.

Also fixes two MAJOR defects found by independent review of the effort/model
capability interlock. reasoningEfforts() is three-state - an array is the
model's advertised ladder, null means the source did not advertise one - but
the dashboard folded null into [] with '?? []', so every effort option was
disabled for a model whose ladder OCX does not report, and a saved effort made
those models unselectable with a misleading error. Live rosters carry that
state, so this is reachable, not hypothetical.

- extract effortExcluded() into gui/src/effort-support.ts, which returns true
  only for an actual array that omits the effort
- use it at the option-disable, the save guard and the unsupported warning
- add gui/test/effort-support.test.ts pinning all three states

Verified: 2,697 tests pass, gui tsc --noEmit clean, inventory and gate OK.
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.

2 participants