Repository navigation
feat: give Pro healer context of merged Core PRs - #69
Open
Svitlana-Dykun wants to merge 2 commits into
Open
Svitlana-Dykun wants to merge 2 commits into
Svitlana-Dykun wants to merge 2 commits into
Conversation
When healing Pro, attach elementor/elementor as read-only context, list recent Core merges near the evidence SHA, and teach the skill that an intentional Core behaviour change is not a race — escalate or hand off instead of papering over with a wait. Co-authored-by: Svitlana-Dykun <Svitlana-Dykun@users.noreply.github.com>
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio. |
Unblocks Lint, and rejects non-SHA / malformed owner-name inputs before they are interpolated into GitHub API paths (likely Wiz SAST medium). Co-authored-by: Svitlana-Dykun <Svitlana-Dykun@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Pro nightly/PR healer could see Pro infrastructure and Pro history, but not merged Core PRs — so it often treated intentional Core behaviour changes as races and "fixed" them with waits.
This change lives in the shared healer (
elementor-editor-github-actions), not in Pro. Pro already calls these reusable workflows; no Pro-repo change is required beyond picking up this SHA/ref.What changed
elementor/elementoras a second read-only repo, pass evidence Core SHA/branch, inject Related Core merges into the prompttests/playwright/in Progh apipath interpolation (addresses Wiz SAST medium); Prettier cleanImportant limit
The healer still cannot change Core (or Pro product) behaviour. Netanel's "proper fix might be the behaviour" maps to product-bug escalation (or baseline-drift handoff), not to opening a Core fix PR.
Test plan
npm testinactions/playwright-test-healer(365 passing)✨ PR Description
1. Problem & Context
The Pro healer often confuses intentional Core behavior changes with race conditions, leading to incorrect test "fixes" (adding waits) instead of escalating as product bugs. This PR provides the agent with context on recently merged Core PRs to improve classification accuracy.
2. What Changed (Where)
collect-related-core-prs.jsdispatch-cloud-agent.js.github/workflows/*.ymlHEAL_CORE_SHAandGH_TOKENto the dispatch process.profiles/pro.jsonrelatedCoreRepoand updated agent instructions.SKILL.mdtests/*.test.js3. How It Works
dispatch-cloud-agent.jscallscollectRelatedCorePrs, which identifies related changes via two paths: walking the commit history starting at the evidence Core SHA or falling back to a 14-day search API query. PRs are scored by matching tokens from the test name and directory paths against PR titles and filenames. The resulting metadata and the Core repository URL are injected into the agent's prompt and environment to enable read-only exploration.4. Risks
MAX_PRSandMAX_FILES_PER_PRlimits.Generated by LinearB AI and added by gitStream.
AI-generated content may contain inaccuracies. Please verify before using.
💡 Tip: You can customize your AI Description using Guidelines Learn how