Keep configs in ~/.config/build-release/ and tool state in ~/.local/state/build-release/, under XDG_* where set
CI / tests (pull_request) Successful in 6m34s
CI / tests (pull_request) Successful in 6m34s
This commit is contained in:
@@ -37,13 +37,13 @@ def chunk_facts(loop: Loop) -> str:
|
||||
item = item_of(loop.window.name)
|
||||
done = loop.effects.python([str(loop.launcher.with_name("chunk-preflight")), "--worktree", *([] if item is None else [ITEM, str(item)])], loop.root)
|
||||
facts = fresh_prompt.preflight_failed(done.stderr.strip() or f"it exited {done.returncode}") if done.returncode else fresh_prompt.preflight_facts(done.stdout.strip())
|
||||
held = held_beside(loop.window.name, loop.root, loop.paths, loop.effects)
|
||||
held = held_beside(loop.window.name, loop.root, loop.paths, loop.env, loop.effects)
|
||||
return facts + (fresh_prompt.held_by_others(held) if held else "")
|
||||
|
||||
|
||||
def fetched_plan(loop: Loop, announce: bool = True) -> DefaultPlan | Failure:
|
||||
"""What the default branch, as last fetched, holds for routing; the plan and the changelog as they stand where the project's config puts them outside the checkout. Where announce is True, as when a chunk starts, it says UNSEEN_RELEASES for such a plan, so the human reads it once per chunk, not every cycle."""
|
||||
config = located(loop.root, loop.paths.home)
|
||||
config = located(loop.root, loop.paths.home, loop.env)
|
||||
if isinstance(config, Failure):
|
||||
return config
|
||||
if announce and config.tracked("plan") is None:
|
||||
|
||||
Reference in New Issue
Block a user