Skip to content

[DIAGNOSTIC] Register TimeContext for setup-experience suite - #197

Closed
micszo wants to merge 1 commit into
5.0from
diagnostic/setup-experience-timecontext
Closed

[DIAGNOSTIC] Register TimeContext for setup-experience suite#197
micszo wants to merge 1 commit into
5.0from
diagnostic/setup-experience-timecontext

Conversation

@micszo

@micszo micszo commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Companion to ibexa/page-builder#592 (diagnostic, not a proposed fix)

page-builder#592 is a draft diagnostic testing whether a session write/read race explains the "Add first/second test catalog for Catalog block" failures on ibexa/experience's siteaccess-matcher CI shards since Symfony 7.4.17. It adds an And I wait "..." seconds step to vendor/ibexa/page-builder/features/setup/setup.feature.

This repo's setup-experience suite (behat_ibexa_experience.yaml) already lists that same feature file in its own paths, but doesn't have Ibexa\Behat\Core\Context\TimeContext in its contexts. Running the diagnostic without this change made that step undefined for setup-experience, which failed every non-matcher job in a regression run (ibexa/experience#615) on an unrelated error instead of actually testing the hypothesis.

This just wires TimeContext into setup-experience so the diagnostic can run cleanly everywhere that shares the feature file. Not proposing this as a permanent addition on its own — it only matters while page-builder#592's wait step exists.

🤖 Generated with Claude Code

Companion to ibexa/page-builder#592 (diagnostic/session-race-setup-feature-delay).

setup-experience's own path list already includes
vendor/ibexa/page-builder/features/setup/setup.feature, which that PR adds
an "I wait ... seconds" step to. Without TimeContext registered here too,
that step is undefined for this suite, which made every non-matcher job in
ibexa/experience#615 fail on an unrelated "undefined step" error instead of
actually exercising the diagnostic.

Not a proposed permanent change - purely so the delay diagnostic in
page-builder#592 can run cleanly across every suite that shares that
feature file, not just the page-builder suite itself.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

micszo added a commit to ibexa/experience that referenced this pull request Aug 28, 2026
Companion to the ibexa/page-builder diagnostic branch already listed here.
ibexa/behat#197 registers TimeContext for the setup-experience suite,
which is needed for page-builder#592's wait step to run cleanly on the
non-matcher jobs too (they use setup-experience, not the page-builder
suite, but share the same setup.feature file).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@micszo micszo closed this Aug 29, 2026
@micszo
micszo deleted the diagnostic/setup-experience-timecontext branch August 29, 2026 12:51
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.

3 participants