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

This commit is contained in:
2026-12-03 18:56:28 +01:00
parent 20c83f861f
commit 1ca2c8efe0
142 changed files with 1095 additions and 933 deletions
+2 -2
View File
@@ -35,7 +35,7 @@ class AHumanTaskThatBlocksAnIssue(DoEpicTest):
folder = configured(self, checkout, home=self.home)
if notifier:
with (folder / "config.toml").open("a") as config:
config.write('env-file = "~/.claude-projects/notifier.env"\nnotifier = "slack"\n')
config.write('env-file = "~/.config/build-release/notifier.env"\nnotifier = "slack"\n')
return checkout
def awaited(self, fake: FakeEffects, closes_after: int) -> tuple[int, str, str]:
@@ -52,7 +52,7 @@ class AHumanTaskThatBlocksAnIssue(DoEpicTest):
def moved_to_an_unblocking_status(self, switch: str, frees: tuple[str, dict[str, object]] = ("ABC-19", {"status": "Release Ready"}), starts: str = "ABC-21") -> bool:
"""Whether Jira counts the task done after its window's run, where the config ends with switch. frees is the change in Jira that ends the wait: by default the human moves the task to an unblocking status. starts is what the window then starts."""
with (self.home / ".claude-projects" / "do-epic" / "config.toml").open("a") as config:
with (self.home / ".config/build-release" / "do-epic" / "config.toml").open("a") as config:
config.write('jira-unblocking-statuses = ["Release Ready"]\n' + switch)
fake = FakeEffects(git=UNREAD, windows=WINDOW)
slept: list[int] = []