Repository navigation
Web: anchor relative service token paths to the calling directory - #3838
Conversation
|
Hi @AIFlowML, thanks for the report. The change is small and correct: an explicit relative --token-file path is made absolute against the caller's working directory before the plan is built, so the launcher opens the same file the installer prepared. The two platform cases fail on main and pass here, including the path with a space and the symlink. The default path and symlink behaviour are unchanged and no inference code is touched. The red Python job is the Web version check (
|
3bff834 to
630fd5d
Compare
|
Thank you @AIFlowML. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes. |
What this changes
Anchor an explicit relative
--token-filepath to the service installer's current directory before creating the install plan. The file the installer prepares and the file the generated launcher opens now use the same path, even though the launcher starts in the home directory. The existing default path and symlink behavior are preserved.8cbef9777b9a05dfaff99d5aa9c2ce52fe2b00f8atc overlap --json: ATC reported no local worktree conflicts and could not finish its PR scan. The paginated GitHub audit at2026-11-18T15:30:14Zchecked both paths, including rename origins, across 483 open PR heads and found zero overlaps. The head test-merges with main and the 45 open contributor heads.Checks on this head
3bff83407913df7c69d741f782f00c31d7c7696cpython3 tools/pr_check.py --base upstream/mainreported zero errors and warnings.pytest -q tests/test_service.pypassed all eight tests. Both new platform cases fail on main because the saved path is still relative. They pass here with a path containing a space that refers to a symlink. The independent CLI check also loaded the inert fixture through both generated launch formats.7b7c5c203e0a5b65789febfd1bf657c4932fcd57, both passed 496 tests with one skip.ruff check .passed. The built wheel contains the UI and the exact changed service module.memcpylink guard is tracked by macOS native binary links internal memcpy after the device profile reader landed #3760 and fixed in Restore libSystem memcpy when reading device profiles #3761.zig fmt --check build.zig zigandgit diff --checkpassed here.Receipt
N/A. This change affects Web service setup and does not reach inference.
Checklist
Igor Lessio - AIFLOW LABS