Repository navigation
fix: restore docs dependency for visual regression checker - #74566
Conversation
Check out the public workflow examples before docs rendering and configure their path for both the build and dev server. Add source and compiled workflow regression contracts. Co-authored-by: Copilot App <[email protected]>
|
🧠 Matt Pocock Skills Reviewer failed during the skills-based review.
|
|
✅ PR Code Quality Reviewer completed the code quality review.
|
|
✅ Ponytail Reviewer completed successfully! Ponytail ReviewerOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
|
✅ Design Decision Gate 🏗️ completed the design decision gate check. See the comment below for the result and any generated ADR draft. Design Decision Gate 🏗️Outcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are recorded for the changes restoring the docs build’s external workflow examples.
No open issues 🎉
What changed in this PR
Restores the external workflow examples needed by the Visual Regression Checker’s docs build, addressing the pre-agent failure reported in #74384.
Changes:
- Adds a sparse checkout of
githubnext/agenticsatmainwith credential persistence disabled. - Sets
AGENTICS_WORKFLOWS_DIRfor both the docs build and dev server, and regenerates the compiled workflow. - Adds regression contracts for checkout ordering, credentials, and both consumer paths.
| File | Description |
|---|---|
pkg/cli/docs_checkout_workflow_contract_test.go |
Tests dependency configuration in the source and compiled workflow. |
.github/workflows/visual-regression-checker.md |
Adds the external checkout and environment variables for both docs consumers. |
.github/workflows/visual-regression-checker.lock.yml |
Includes the compiled checkout, environment settings, and updated workflow hashes. |
Review effort: Balanced (auto)
|
🎉 This pull request is included in a new release. Release: |
The Visual Regression Checker fails before agent execution because the docs build cannot find workflow examples from
githubnext/agentics.Add a sparse checkout of the external workflows at explicit
ref: main, with credential persistence disabled, following the existing docs build convention. ConfigureAGENTICS_WORKFLOWS_DIRfor both the docs build and dev server, since step-local environment variables do not carry between them. Regenerate the compiled workflow and add regression contracts covering checkout ordering, credentials, and both consumer paths. Screenshot behavior and permissions are unchanged.Validation
make fmt,make recompile, andmake agent-report-progresspass, including lint, impacted tests, and workflow drift checks.--dry-runcompilation rejects the workflow's existing host steps and emits no diagnostic lock. No Actions run was dispatched; a complete local docs build/server check remains unverified.Fixes: #74384