Skip to content

fix: restore Windows cache links using target types - #159

Merged
fengmk2 merged 1 commit into
mainfrom
codex/gitlab-cache-sfw-fixes
Sep 15, 2026
Merged

fengmk2 merged 1 commit into
mainfrom
codex/gitlab-cache-sfw-fixes

Conversation

@fengmk2

@fengmk2 fengmk2 commented Sep 15, 2026

Copy link
Copy Markdown
Member

Fix the Windows cache restore failure found in GitLab pipeline 2849366109.

Cache extraction can create a file link before its directory target exists. The runtime now checks the target path to select the correct link type. This avoids EPERM when the extracted link cannot be followed.

Add portable and Windows regression tests. Update dist/gitlab/index.mjs to include the fix. Local tests pass; native Windows validation remains pending.

GitLab test MR !3 addresses the two separate Linux assertion failures. Test both changes together before the full E2E run.

@github-actions

github-actions Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

✅ GitLab E2E passed

Commit: f886117d32705d3aa6788629ae024fc121913712
Suite: full · Vite+ version: latest

GitLab pipeline · GitHub Actions run

@fengmk2
fengmk2 force-pushed the codex/gitlab-cache-sfw-fixes branch from ed77d6f to f886117 Compare September 15, 2026 07:26
@fengmk2 fengmk2 added run-e2e Request GitLab E2E for the reviewed fork PR commit (requires write access). and removed run-e2e Request GitLab E2E for the reviewed fork PR commit (requires write access). labels Sep 15, 2026
@fengmk2
fengmk2 merged commit 60c4724 into main Sep 15, 2026
67 checks passed
@fengmk2
fengmk2 deleted the codex/gitlab-cache-sfw-fixes branch September 15, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-e2e Request GitLab E2E for the reviewed fork PR commit (requires write access).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant