Repository navigation
Accept check receipts across host environments #1755
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -253,9 +253,11 @@ def settings_fingerprint(config: Config, worktree: Path, *, base: str | None = N | |
| settings = _execution_settings(config, base) | ||
| if config.check_runner and settings["runner_executable"] is None: | ||
| return None | ||
| if not config.check_runner and "HEAVY_SLOT_GRANTED_CORES" not in config.env: | ||
| # The inherited local worker limit is transient. Stage reuse still binds it. | ||
| settings["environment"].pop("HEAVY_SLOT_GRANTED_CORES", None) | ||
| if not config.check_runner: | ||
| # Inherited host settings can differ at readiness. Stage reuse still binds them. | ||
| host_env = {"PATH", "LANG", "LC_ALL", "TERM", "HEAVY_SLOT_GRANTED_CORES"} | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. suggestion: Make the exempt host-variable set a named module constant The set |
||
| for name in host_env - dict(config.env).keys(): | ||
| settings["environment"].pop(name, None) | ||
| payload = [settings, config.inputs] | ||
| return hashlib.sha256(json.dumps(payload, sort_keys=True).encode()).hexdigest() | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.