mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #3617] [CLOSED] [TUI] include calibration helper in Terminal installer payload #4715
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#4715
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/3617
Author: @hulkbig
Created: 10/21/2026
Status: ❌ Closed
Base:
main← Head:fix/terminal-calibrate-payload-3613📝 Commits (1)
a0ed21bfix: include calibration helper in terminal installer payload📊 Changes
2 files changed (+27 additions, -1 deletions)
View changed files
📝
packaging/package_terminal.py(+1 -1)➕
tests/terminal/test_installer_payload.py(+26 -0)📄 Description
Problem and result
The installer payload produced by add_installer omits tools/calibrate.py. This is the missing helper reported for saved tuning in #3613. Adding it to INSTALLER_TOOLS makes the existing staging code copy it and record it in the manifest.
The reproduced failure here is the offline staging omission, not the full launch failure.
Related discussion
Related #3613. This is a focused packaging fix, not a change to calibration behavior.
Approach
Add calibrate to the existing installer tool entry points and use the existing static local-import closure. The regression calls the real add_installer file-copy path into a temporary directory, then checks that the helper exists, matches the source bytes, and is listed in the manifest. No setup, calibration, engine or serving code is executed by this regression.
Validation
Linux x86_64, Python 3.12.14; base
011c9e600aplus this patch (submitted heada0ed21bee9). AI-assisted implementation and review; results were checked against actual command output.Passed:
Failed:
011c9e6fails because tools/calibrate.py is absent. The same regression passes with the patch.Not run:
Limits
This validates and fixes the installer staging omission only. It does not establish the complete dynamic dependency closure, reproduce the reporter's full runtime failure, or qualify a platform. Other potentially missing helpers mentioned in #3613 are outside this change.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.