Skip to content

[9.5] (backport #17296) Fix typos and grammar in runtime errors, enroll help and docs - #17342

Merged
swiatekm merged 1 commit into
9.5from
mergify/bp/9.5/pr-17296
Oct 21, 2026
Merged

swiatekm merged 1 commit into
9.5from
mergify/bp/9.5/pr-17296

Conversation

@mergify

@mergify mergify Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • EndpointTLSComponentModifier error: could not covert modified config → could not convert modified config
  • pkg/component/runtime/runtime_comm.go: component cannot connect being destroyed / application cannot connect being destroyed → cannot connect while being destroyed
  • enroll --replace-token help: Replace token that that allows the Agent to be replace with → Replace token that allows the Agent to be replaced with
  • docs/pgp-sign-verify-artifact.md: keyring to use, as the file do not exist, it'll create it → keyring to use; if the file does not exist, it will be created
  • docs/release-notes/known-issues.md: Users will see error failing with an error containing → Users will see an error containing, and agent logs files → agent log files

Fixes #16541

Test plan

  • git grep finds none of the flagged text in the repository
  • No tests assert on the changed messages; only string literals changed

🤖 Generated with Claude Code


This is an automatic backport of pull request #17296 done by [Mergify](https://mergify.com).

- EndpointTLSComponentModifier error: "could not covert" -> "convert"
- runtime_comm: "component/application cannot connect being destroyed"
  -> "cannot connect while being destroyed"
- enroll --replace-token help: "token that that allows the Agent to be
  replace" -> "token that allows the Agent to be replaced"
- pgp-sign-verify-artifact.md: fix the --keyring description
- known-issues.md: "Users will see error failing with an error containing"
  -> "Users will see an error containing", "agent logs files" -> "log files"

Fixes #16541

Co-authored-by: Anshuman-Prakash <199287261+Anshuman-Prakash@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit aee9acf)
@mergify mergify Bot added the backport label Oct 20, 2026
@mergify
mergify Bot requested review from a team as code owners October 20, 2026 17:21
@mergify mergify Bot added the backport label Oct 20, 2026
@mergify
mergify Bot requested review from blakerouse and removed request for a team October 20, 2026 17:21
@github-actions github-actions Bot added documentation Improvements or additions to documentation Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team skip-changelog labels Oct 20, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@github-actions

Copy link
Copy Markdown
Contributor

Dependency review finished without posting an analysis comment.

If you expected a review, push a new commit to this pull request (or close and reopen it) to try again.

Workflow run: https://github.com/elastic/elastic-agent/actions/runs/39465323973

@swiatekm
swiatekm enabled auto-merge (squash) October 20, 2026 17:38
@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

The failing Buildkite step is an infrastructure/network fetch error while downloading a Go module (github.com/dlclark/regexp2@v1.11.0) from proxy.golang.org, not a code regression from this PR. Immediate action: retry the failed Buildkite package job.

Remediation

  • Retry :package: FIPS=true Cross Building and package elastic-agent (pipeline elastic-agent-package).
  • If it recurs, harden the packaging step by adding module-download retry/fallback (go mod download retry logic and/or GOPROXY=https://proxy.golang.org,direct) before packaging.
Investigation details

Root Cause

go failed to read a dependency zip from the Go proxy during packaging:

  • dependency fetch failed with HTTP/2 stream INTERNAL_ERROR
  • this occurred in module download, before any PR-touched runtime/docs strings could affect build behavior

PR #17342 only changes typos/grammar in:

  • internal/pkg/agent/application/endpoint_component_modifier.go
  • pkg/component/runtime/runtime_comm.go
  • internal/pkg/agent/cmd/enroll.go
  • docs files

No dependency/version/file-path changes were introduced by this PR.

Evidence

go: github.com/elastic/elastic-agent imports
  helm.sh/helm/v3/pkg/chartutil imports
  github.com/santhosh-tekuri/jsonschema/v6 tested by
  github.com/santhosh-tekuri/jsonschema/v6.test imports
  github.com/dlclark/regexp2: github.com/dlclark/regexp2@v1.11.0: read "https://proxy.golang.org/github.com/dlclark/regexp2/@v/v1.11.0.zip": stream error: stream ID 83; INTERNAL_ERROR; received from peer
  • Local pre-fetched log: /tmp/gh-aw/buildkite-logs/elastic-agent-package-package-fipstrue-cross-building-and-package-elastic-agent.txt

Verification

  • Code inspection only (no local repro run): failure signature is transient upstream download/network class, and does not map to changed PR logic.

Follow-up

  • If retries continue failing with the same module/proxy error, treat as infra/dependency-fetch reliability issue in CI and capture multiple failing attempts for Buildkite/go proxy incident tracking.

What is this? | From workflow: Observability Agentic Workflow — Status

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

@vishaangelova

Copy link
Copy Markdown
Member

buildkite test this

@mergify

mergify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request does not currently match the merge queue conditions, so it cannot be queued from here. The box comes back if it matches again.

@swiatekm
swiatekm merged commit 5225088 into 9.5 Oct 21, 2026
52 checks passed
@swiatekm
swiatekm deleted the mergify/bp/9.5/pr-17296 branch October 21, 2026 08:09
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

💚 Build Succeeded

History

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

Labels

backport documentation Improvements or additions to documentation skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants