Skip to content

fix(core): Don't register with comet if --check-config is used#283

Merged
ketiltrout merged 1 commit into
chime-upgradefrom
fix_comet_config_check
Jun 10, 2026
Merged

fix(core): Don't register with comet if --check-config is used#283
ketiltrout merged 1 commit into
chime-upgradefrom
fix_comet_config_check

Conversation

@ketiltrout

Copy link
Copy Markdown
Member

The comet registration via the manager is now deferred until after the early exit caused by --check-config.

This fixes a problem where using --check-config would result in cocod spuriously registering its start with comet, even though it was only doing a test run-through of the config.

The prior comet test has been migrated from the cocod fixture to the coco_runner and the mock_comet fixture no longer automatically integrates with the cocod fixture.

This is the problem I alluded to in #277

Requires #282.

@ketiltrout ketiltrout force-pushed the fix_comet_config_check branch 2 times, most recently from 66c027f to 02e4965 Compare June 6, 2026 01:42
@ketiltrout ketiltrout force-pushed the fix_comet_config_check branch from 02e4965 to 8140279 Compare June 7, 2026 00:55
@ketiltrout ketiltrout force-pushed the coco_runner branch 2 times, most recently from 1dd4acc to 1ee846b Compare June 8, 2026 22:20
@ketiltrout ketiltrout force-pushed the fix_comet_config_check branch from 8140279 to fd2f028 Compare June 8, 2026 22:20
@ketiltrout ketiltrout force-pushed the coco_runner branch 2 times, most recently from 073a49b to 531387d Compare June 9, 2026 21:32
@ketiltrout ketiltrout force-pushed the fix_comet_config_check branch from fd2f028 to e797284 Compare June 10, 2026 21:15
Base automatically changed from coco_runner to chime-upgrade June 10, 2026 21:15
The comet registration via the comet manager is now deferred until
after the early exit caused by --check-config.

This fixes a problem where using --check-config would result in
`cocod` spuriously registerring its start with comet, even though
it was only doing a test run-through of the config.

The prior comet test has been migrated from the `cocod` fixture to
the `coco_runner` and the `mock_comet` fixture no longer automatically
integrates with `cocod`.

This is the problem I alluded to in #277
@ketiltrout ketiltrout force-pushed the fix_comet_config_check branch from e797284 to 824a0a0 Compare June 10, 2026 21:16
@ketiltrout ketiltrout merged commit 2dd665e into chime-upgrade Jun 10, 2026
5 checks passed
@ketiltrout ketiltrout deleted the fix_comet_config_check branch June 10, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants