-
Notifications
You must be signed in to change notification settings - Fork 66
Hud dev additions #216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hud dev additions #216
Conversation
…ools) + tests/docs
Improved lock file
Migrate hud init to clone from separate repos
…latform-redesign
…nto platform-redesign
…nto platform-redesign
|
|
||
| output = (result.stdout or "").strip() | ||
| if not output: | ||
| return {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Early return prevents fallback to python3 binary
The collect_runtime_metadata function returns an empty dict when python succeeds but produces no output, preventing fallback to python3. Lines 381, 390, and 397 should use continue instead of return {} to match the pattern at line 377, allowing the loop to try the next binary when one fails.
| return rest.strip() | ||
| except Exception: | ||
| return None | ||
| return None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: parse_base_image doesn't handle FROM --platform flag
The parse_base_image function correctly strips the AS <stage> suffix from FROM directives but doesn't handle the --platform flag. When a Dockerfile uses FROM --platform=linux/amd64 python:3.11, the function returns --platform=linux/amd64 python:3.11 instead of just python:3.11. This results in incorrect baseImage metadata being written to the lock file. The --platform flag is commonly used in multi-architecture Docker builds.
Note
Adds live dev traces/telemetry to
hud dev, upgradeshud buildto emit lock v1.2 with runtime/base image/internal tools, switcheshud initpresets to standalone repos, introduces git utils, and bumps version to 0.4.71.hud dev): New--newflag creates live dev traces (requiresHUD_API_KEY); shows Live/VNC/CDP links; passesnew_traceinternally; Docker mode readsdebuggingPortsand exposes them.hud build): Lock file upgraded toversion: "1.2"; recordsbuild.baseImage,build.platform, andenvironment.runtime(python/cuda/cudnn/pytorch); merges and countsinternalTools; persistshubTools; probes runtime via container; prints analysis summary.hud init): Templates now fetched from standalone repos (hud-blank,hud-browser, etc.); improved preset prompt and placeholder replacement.hud.cli.utils.git; API key now required for creating traces.trace/async_traceaccept optionaltrace_id.--version.0.4.71across code and docs.Written by Cursor Bugbot for commit 8e84dab. This will update automatically on new commits. Configure here.