Repository navigation
fix(library): do not take Windows 8.3 short paths for junctions - #3
Merged
Merged
Conversation
rejectDirectoryLinks compared filepath.EvalSymlinks(dir) with dir to find directory junctions. On Windows EvalSymlinks also expands 8.3 short names, so a save location such as C:\Users\RUNNER~1\AppData\Local\Temp\... (the temp directory of GitHub's Windows runners) was taken for a junction and every library path under it was refused: 19 tests failed in the first build-only run of release.yml (run 42607654678), which stopped before signing. Compare with the GetLongPathName form, which expands short names without following links; junctions are still rejected. Also records ACT-008 (release environment, secret, allowlist) and the merge of M2 in the delivery status and USER-ACTIONS. Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com>
Merged
7 of 8 tasks
chialecode
added a commit
that referenced
this pull request
Nov 26, 2026
- Add one-click secondary "开启定时检查" (and "保留定时检查" in batch remove mode) action button on auto-cache dependency warnings across Subscription Detail, new/import preset pickers, and multi-tag batch dialog (Issue #109 #3). - Preserve an existing future nextRunAt across routine subscription writes and unrelated settings saves so non-schedule edits never postpone or starve scheduled checks; recompute immediately on 0<->1 active transitions or schedule parameter changes. - Invalidate stale 20s UI checkPlan cache in saveSettings(), refreshSubscriptions(), and syncSelectedSubAfterTagBatch(), and distinguish PlanOff (manual schedule mode) from PlanUnauth in Settings > 订阅与直播. - Reset AddSubPreset on opening the Add Subscription modal and update audit test comment; expand backend/UI tests and uishots assertions. Signed-off-by: chialecode <315431287+chialecode@users.noreply.github.com>
This was referenced Nov 26, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix: Windows 8.3 short paths were taken for directory junctions
The first build-only run of
release.yml(42607654678) failed intools/release's owntools/checkonwindows-2025, before signing. Nothing was published.Cause. The runner's
%TEMP%lives under an 8.3 short name (RUNNER~1).rejectDirectoryLinkscomparedfilepath.EvalSymlinks(dir)withdir.EvalSymlinksalso expands short names, so every library path under the temp directory was refused as a junction, and 19 tests failed. The bug dates from M1;ci.ymlruns on Ubuntu only.Fix. Compare with the
GetLongPathNameform, which expands short names without following links; junctions are still rejected.TestShortPathNamesAreNotLinksButJunctionsArecovers both cases.The same commit records ACT-008 (release environment, secret, allowlist) and the merge of M2 in
docs/delivery/status.mdandUSER-ACTIONS.md.Validation (Windows)
go test ./...passes withTMP/TEMPset to an 8.3 short path. Before the fix, the same 19 tests failed.go run ./tools/checkpasses.go vetfor Linux passes.