Skip to content

fix: restore docs dependency for visual regression checker - #74566

Merged
pelikhan merged 1 commit into
mainfrom
pelikhan/visual-checker-startup
Nov 3, 2026
Merged

pelikhan merged 1 commit into
mainfrom
pelikhan/visual-checker-startup

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 3, 2026

Copy link
Copy Markdown
Collaborator

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. Configure AGENTICS_WORKFLOWS_DIR for 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

  • Regression fails against the original source and passes with the fix; source and generated-lock contracts pass.
  • make fmt, make recompile, and make agent-report-progress pass, including lint, impacted tests, and workflow drift checks.
  • Existing renderer test passes.
  • Diagnostic --dry-run compilation 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

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]>
@pelikhan
pelikhan marked this pull request as ready for review November 3, 2026 16:38
Copilot AI adaptive review requested due to automatic review settings November 3, 2026 16:38
@pelikhan
pelikhan merged commit 90763fb into main Nov 3, 2026
26 of 27 checks passed
@pelikhan
pelikhan deleted the pelikhan/visual-checker-startup branch November 3, 2026 16:39
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer failed during the skills-based review.

🧠 Reviewed using Matt Pocock's skills by Matt Pocock Skills Reviewer

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR Code Quality Reviewer completed the code quality review.

🔎 Code quality review by PR Code Quality Reviewer

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Ponytail Reviewer

Outcome: reported_no_action

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.

Generated from Ponytail Reviewer · routed: gpt56 max · ~3 AIC · ⌖ ~1 AIC · ⊞ 118 · ◷

Generated by Ponytail Reviewer for #74566

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Test Quality Sentinel

Outcome: reported_no_action

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.

Generated from Test Quality Sentinel · sonnet50 · ~15 AIC · ⌖ ~21 AIC · ⊞ 12.9K · ◷

🧪 Test quality analysis by Test Quality Sentinel

@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

✅ 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: reported_no_action

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.

Generated from Design Decision Gate 🏗️ · routed: gpt56 max · ~1 AIC · ⌖ ~2 AIC · ⊞ 7.7K · ◷

🏗️ ADR gate enforced by Design Decision Gate 🏗️

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 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/agentics at main with credential persistence disabled.
  • Sets AGENTICS_WORKFLOWS_DIR for 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)

@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

🎉 This pull request is included in a new release.

Release: v1.2.0

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.

[aw] Visual Regression Checker: failed before agent execution started

2 participants