You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[TEST] Preview link comment shows a stale commit after a force-push #9248
Test issue for the gh-aw v1.0.1 rollout (elastic/docs-actions#447). Safe to ignore; it will be closed shortly.
What needs to change
The docs preview comment on a pull request keeps showing the commit SHA from before a force-push, so reviewers open a preview that does not match the branch head.
Why this matters
Two reviewers last week commented on text that was already rewritten, because the comment still linked the old build.
What done looks like
The preview comment is updated with the new head SHA after every force-push, and a short note in the docs-builder contributor guide explains the behavior.
The issue asks for two outcomes: refresh the pull-request docs preview comment to the new head SHA after every force-push, and document that behavior for contributors. The published Contribute locally guide covers docs-builder setup and local previews but has no guidance for pull-request preview comments or force-pushes. The referenced elastic/docs-actions#447 is a merged gh-aw v1.0.1 version update; its description and changed files do not show an implementation of this preview-comment behavior.
Request accuracy
Unsupported by linked changes: the referenced PR updates workflow tooling and does not address the stale preview comment or add contributor documentation.
This is the existing contributor guide for installing and using docs-builder, with sections for building and previewing docs locally. Add the short pull-request preview note near Push your changes or Preview locally if this repository owns the requested guidance.
How to tackle this
Confirm whether the canonical contributor guidance belongs in docs-content/contribute-docs/locally.md or in the separate docs-builder repository; the published docs page is the smallest viable target in this repository.
After the preview-comment implementation is available, add a short note to Contribute locally describing that the PR preview comment follows the current branch head and is refreshed after a force-push.
Link the note to the relevant preview workflow or troubleshooting guidance if one exists, then run the docs build and link checks.
Scope boundary
No product documentation, release-note, or unrelated contributor-guide changes appear necessary; the stale-comment implementation itself belongs in the workflow/action codebase rather than this content repository.
Questions to go deeper
Should the contributor-facing note be maintained in this repository’s Contribute locally page, or in the docs-builder repository’s guide?
Is a separate implementation change planned for the preview workflow/action, or should this issue be documentation-only after that fix lands?
What exact preview-comment wording or link should the documentation describe so it remains accurate when the workflow changes?
This scope reflects the issue as of this run. Comment /scope to run it again after the issue changes.
Activity
github-actions commentedon Nov 6, 2026
Elastic Docs AI Menu
Check one box to run an AI workflow for this issue.
docs-scope). Status: not started.Powered by GitHub Agentic Workflows and docs-actions. For more information, reach out to the docs team.
theletterf commentedon Nov 6, 2026
/scope
github-actions commentedon Nov 6, 2026
✅ ScopeBot finished. https://github.com/elastic/docs-content/actions/runs/42200713144
github-actions commentedon Nov 6, 2026
🟢 ScopeBot Results: Full assessment
Summary
The issue asks for two outcomes: refresh the pull-request docs preview comment to the new head SHA after every force-push, and document that behavior for contributors. The published Contribute locally guide covers
docs-buildersetup and local previews but has no guidance for pull-request preview comments or force-pushes. The referenced elastic/docs-actions#447 is a merged gh-aw v1.0.1 version update; its description and changed files do not show an implementation of this preview-comment behavior.Request accuracy
Unsupported by linked changes: the referenced PR updates workflow tooling and does not address the stale preview comment or add contributor documentation.
Recommended docs targets
docs-builder, with sections for building and previewing docs locally. Add the short pull-request preview note near Push your changes or Preview locally if this repository owns the requested guidance.How to tackle this
docs-content/contribute-docs/locally.mdor in the separate docs-builder repository; the published docs page is the smallest viable target in this repository.Scope boundary
No product documentation, release-note, or unrelated contributor-guide changes appear necessary; the stale-comment implementation itself belongs in the workflow/action codebase rather than this content repository.
Questions to go deeper
This scope reflects the issue as of this run. Comment
/scopeto run it again after the issue changes.theletterf commentedon Nov 6, 2026
Test issue for the gh-aw v1.0.1 rollout (elastic/docs-actions#447, merged). Closing.