Skip to content

PHOENIX-7829 TaskRegionObserver.SelfHealingTask runs unexpectedly during tests - #2446

Open
apurtell wants to merge 2 commits into
apache:masterfrom
apurtell:PHOENIX-7829
Open

PHOENIX-7829 TaskRegionObserver.SelfHealingTask runs unexpectedly during tests#2446
apurtell wants to merge 2 commits into
apache:masterfrom
apurtell:PHOENIX-7829

Conversation

@apurtell

@apurtellapurtell commented May 1, 2026

Copy link
Copy Markdown
Contributor

TaskRegionObserver.SelfHealingTask runs unexpectedly during tests, adding unexpected entries to SYSTEM.TASK and perturbing metrics, causing assertions to fail.

Make TaskRegionObserver.SelfHealingTask off-by-default for all Phoenix mini-cluster ITs by disabling its scheduling in BaseTest. Expose a TestUtil helper for tests that require this task to run.

@apurtellapurtell changed the title PHOENIX-7829 IndexMetadataIT.testAsyncRebuildAll filter SYSTEM.TASK queries to test's tablePHOENIX-7829 TaskRegionObserver.SelfHealingTask runs unexpectedly during testsJun 29, 2026
…ing tests
Co-authored-by: Claude Opus 4.8[1m] <noreply@anthropic.com>
@apurtell

Copy link
Copy Markdown
ContributorAuthor

I replaced the earlier PR with a more general solution after finding the root cause is common to several tests and a number of other tests seem to know about the problem based on their test setup configurations.

@palashc

palashc commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Sign up for freeto 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

@apurtell@palashc