Skip to content

[Release] Update docs for the 9.4.0 release - #48158

Closed
elastic-vault-github-plugin-prod[bot] wants to merge 3 commits into
mainfrom
update-dev-docs-9.4.0
Closed

elastic-vault-github-plugin-prod[bot] wants to merge 3 commits into
mainfrom
update-dev-docs-9.4.0

Conversation

@elastic-vault-github-plugin-prod

Copy link
Copy Markdown
Contributor

Update the docs for next minor 9.4.0.

Merge after the release branch for 9.2.2 is created.

@github-actions

Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@mergify

mergify Bot commented Dec 17, 2025

Copy link
Copy Markdown
Contributor

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @elastic-vault-github-plugin-prod[bot]? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@ebeahan ebeahan added backport-skip Skip notification from the automated backport with mergify skip-changelog labels Dec 17, 2025
@ebeahan
ebeahan requested a review from a team as a code owner December 17, 2025 20:18
@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

check-docs failed in the check job at Run check because generated Filebeat module config files are out of date. Regenerate and commit the updated filebeat/modules.d/*.yml.disabled files (run make update, or at minimum the filebeat update target), then rerun CI.

Remediation

  • Regenerate generated assets from repo root (make update) or from filebeat/ (mage update) and commit the resulting changes.
  • Confirm CI no longer reports modified generated files in make check.
Investigation details

Root Cause

The workflow reached the source consistency check and detected generated files that differ from committed versions. The check fails intentionally when generated artifacts are stale.

Evidence

  • Workflow: https://github.com/elastic/beats/actions/runs/25183030683
  • Job/step: check → Run check
  • Key log excerpt:
    Error: some files are not up-to-date. Run 'make update' then review and commit the changes. Modified: [filebeat/modules.d/apache.yml.disabled ... filebeat/modules.d/traefik.yml.disabled]
    make[1]: *** [../libbeat/scripts/Makefile:141: check] Error 1
    make: *** [Makefile:84: check] Error 1
    ##[error]Process completed with exit code 2.
    

Validation

  • Not run locally in this workflow context (read-only investigation of CI logs only).

Follow-up

  • If these files were intentionally changed by tooling/version updates, include the generated diffs in this PR so the check can pass.

What is this? | From workflow: PR Actions Detective

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@ebeahan ebeahan closed this Apr 30, 2026
@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

Buildkite is failing for two reasons: (1) generated module config headers were edited away from the generated value and check is reverting them, and (2) one Windows x-pack/auditbeat unit test (TestLeak) failed on temp-dir cleanup (beat.db file still open). The immediate unblock is to regenerate and commit module files, then rerun the Windows unit-test job.

Remediation

  • Regenerate and commit the generated module files so they match mage output (make -C filebeat update, make -C metricbeat update, make -C x-pack/filebeat update, make -C x-pack/metricbeat update, or repo-root make update).
  • Specifically revert module header doc links to the generated .../current/... form (not .../main/...) where they were changed.
  • Re-run :windows: x-pack/auditbeat: Win 2016 Unit Tests; if TestLeak repeats, investigate receiver shutdown/file handle release in x-pack/auditbeat/abreceiver.
Investigation details

Root Cause

  1. Configuration/generated-file drift (deterministic):
    check fails in 4 jobs because generated files are modified during the check step:

    • Filebeat: Run check/update
    • x-pack/filebeat: Run check/update
    • Metricbeat: Run check/update
    • x-pack/metricbeat: Run check/update

    Logs show: Error: some files are not up-to-date. Run 'make update' then review and commit the changes. with long modules.d/*.yml.disabled lists.

    The PR diff includes module header edits from .../current/... to .../main/... (example patch from this PR):

    • x-pack/filebeat/modules.d/sophos.yml.disabled line 2:
      -# Docs: https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-module-sophos.html
      +# Docs: https://www.elastic.co/guide/en/beats/filebeat/main/filebeat-module-sophos.html

    But generator templates still emit \{\{ beat_doc_branch }} from libbeat/docs/version.asciidoc, and this PR keeps :doc-branch: current:

    • dev-tools/mage/modules.go:32
    • dev-tools/mage/settings.go:449
    • libbeat/docs/version.asciidoc:2
  2. Test failure (likely flaky/non-PR logic change):
    Windows auditbeat job failed at:

    • x-pack/auditbeat/abreceiver TestLeak
    • TempDir RemoveAll cleanup: unlinkat ...\data\beat.db: The process cannot access the file because it is being used by another process.

    This points to a file-handle cleanup race on Windows after shutdown. I did not find abreceiver source changes in this PR diff.

Evidence

Verification

  • Not run locally in this workflow (read-only log/code investigation).

Follow-up

  • After committing regenerated module files, the 4 check/update failures should clear.
  • If Windows TestLeak is still red on rerun, treat it as a test-stability issue in x-pack/auditbeat/abreceiver rather than release-doc generation.

What is this? | From workflow: PR Buildkite Detective

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation backport-skip Skip notification from the automated backport with mergify docs in progress Pull request is currently in progress. release skip-changelog Team:Automation Label for the Observability productivity team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants