Skip to content

Commit 4e221e6

Browse files
authored
fix(tests): sync EXPECTED_CHILD_SECRETS with GLITCHTIP_DSN forwards (#1801)
post-ci-dispatcher.yml forwards GLITCHTIP_DSN to the auto-heal and bernstein-ci-fix children so those workflows can emit error events when their own runs fail. The matching test fixture in EXPECTED_CHILD_SECRETS was not updated when the forward landed, so test_dispatcher_calls_each_child[auto-heal] failed on the macOS test matrix cell once recursive test discovery widened the gated set. Update the two stale frozensets to match the workflow secrets block.
1 parent 9bf3306 commit 4e221e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/unit/test_post_ci_dispatcher_yaml.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@
3939
EXPECTED_CHILD_SECRETS: dict[str, frozenset[str]] = {
4040
"telegram-notify": frozenset({"TELEGRAM_BOT_TOKEN", "TELEGRAM_CHAT_ID"}),
4141
"auto-release": frozenset({"TELEGRAM_BOT_TOKEN", "TELEGRAM_CHAT_ID"}),
42-
"auto-heal": frozenset({"TELEGRAM_BOT_TOKEN", "TELEGRAM_CHAT_ID"}),
43-
"bernstein-ci-fix": frozenset({"GEMINI_API_KEY"}),
42+
"auto-heal": frozenset({"TELEGRAM_BOT_TOKEN", "TELEGRAM_CHAT_ID", "GLITCHTIP_DSN"}),
43+
"bernstein-ci-fix": frozenset({"GEMINI_API_KEY", "GLITCHTIP_DSN"}),
4444
"bisect-on-red": frozenset(),
4545
}
4646

0 commit comments

Comments
 (0)