Skip to content

feat: add disabled_runners config and tests - #127

Merged
hwbrzzl merged 1 commit into
masterfrom
feature/v1.18-disabled-runners
Jun 20, 2026
Merged

feat: add disabled_runners config and tests#127
hwbrzzl merged 1 commit into
masterfrom
feature/v1.18-disabled-runners

Conversation

@goravel-coder

Copy link
Copy Markdown
Contributor

Summary

Adds the disabled_runners configuration option documented in the v1.18 upgrade guide and integration tests that verify runner enable/disable behavior using a custom tracking runner.

Changes

  • config/app.go — Added disabled_runners config key with runner signature reference in comments
  • bootstrap/app.go — Added BootstrapRunnerList variable and .WithRunners() hook enabling custom runner registration for tests
  • tests/feature/disabled_runners_test.go (new) — 6 tests using a trackerRunner that records whether Run() was called

Test coverage

Test Verifies
RunnerStartsWhenNotDisabled Runner starts when not in disabled list
RunnerSkippedWhenDisabled Exact signature match prevents start
WildcardSkipsAll "*" pattern prevents all custom runners
NamespaceWildcard "test:*" namespace wildcard works
SelectiveDisable One of two runners disabled, other starts
RestoreEnablesRunner Removing the pattern re-enables the runner

Why

The v1.18 framework introduced app.disabled_runners allowing users to selectively skip runners (HTTP, gRPC, queue, scheduler, telemetry) via config. The example project should demonstrate this feature.

- Add disabled_runners config key to config/app.go with runner signature docs
- Add BootstrapRunnerList + WithRunners hook to bootstrap/app.go
- Add integration tests verifying runner enable/disable via disabled_runners
@goravel-coder
goravel-coder requested a review from a team as a code owner June 20, 2026 08:23
@hwbrzzl
hwbrzzl merged commit cd50adb into master Jun 20, 2026
7 checks passed
@hwbrzzl
hwbrzzl deleted the feature/v1.18-disabled-runners branch June 20, 2026 08:31
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