Skip to content

Fix typos and grammar in runtime errors, enroll help and docs - #17296

Merged
swiatekm merged 3 commits into
elastic:mainfrom
Anshuman-Prakash:docs/text-auditor-16541
Oct 20, 2026
Merged

swiatekm merged 3 commits into
elastic:mainfrom
Anshuman-Prakash:docs/text-auditor-16541

Conversation

@Anshuman-Prakash

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

- 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 elastic#16541

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mergify

mergify Bot commented Oct 20, 2026

Copy link
Copy Markdown
Contributor

This pull request does not have a backport label. Could you fix it @Anshuman-Prakash? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label that automatically backports 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.

@swiatekm swiatekm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you for the contribution!

@swiatekm swiatekm added documentation Improvements or additions to documentation Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team skip-changelog backport-active-all Automated backport with mergify to all the active branches labels Oct 20, 2026
@infra-vault-gh-plugin-prod

Copy link
Copy Markdown

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

@swiatekm

Copy link
Copy Markdown
Member

buildkite test this

@swiatekm
swiatekm enabled auto-merge (squash) October 20, 2026 10:24

@vishaangelova vishaangelova left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM for the docs

@Anshuman-Prakash

Copy link
Copy Markdown
Contributor Author

Thanks for the reviews @swiatekm @vishaangelova!

The buildkite/elastic-agent failure on build 48088 looks unrelated to this change. The diff only edits five string literals (two docs lines, three Go messages), and git grep confirms nothing else in the repo — tests included — references any of the old or new strings.

The failing steps are all unit-test jobs (Ubuntu 22.04 requirefips, Ubuntu 22.04 ARM64, Windows 2016/10/11, fips140=only Windows 2022), and they're currently red repo-wide rather than specific to this PR:

Could someone re-trigger with buildkite test this when convenient, so this can go into the merge queue? I can't trigger it as an external contributor. Happy to rebase onto current main first if that would help.

@samuelvl

Copy link
Copy Markdown
Contributor

buildkite test this

@infra-vault-gh-plugin-prod

infra-vault-gh-plugin-prod Bot commented Oct 20, 2026 •

Copy link
Copy Markdown

💛 Build succeeded, but was flaky

Failed CI Steps

History

cc @Anshuman-Prakash

@mergify

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

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 aee9acf into elastic:main Oct 20, 2026
30 checks passed
@github-actions

Copy link
Copy Markdown
Contributor

@Mergifyio backport 9.6 9.5 9.4 8.19

@mergify

mergify Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

backport 9.6 9.5 9.4 8.19

❌ No backport have been created

Details
  • Backport to branch 9.6 failed

GitHub error: Branch not found

Cherry-pick of aee9acf has failed:

On branch mergify/bp/8.19/pr-17296
Your branch is up to date with 'origin/8.19'.

You are currently cherry-picking commit aee9acf.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   docs/pgp-sign-verify-artifact.md
	modified:   internal/pkg/agent/application/endpoint_component_modifier.go
	modified:   internal/pkg/agent/cmd/enroll.go
	modified:   pkg/component/runtime/runtime_comm.go

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	deleted by us:   docs/release-notes/known-issues.md

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

swiatekm added a commit that referenced this pull request Oct 20, 2026
…oll help and docs (#17344)

* Fix typos and grammar in runtime errors, enroll help and docs (#17296)

- 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)

# Conflicts:
#	docs/release-notes/known-issues.md

* Delete docs/release-notes/known-issues.md

---------

Co-authored-by: Anshuman Prakash <nakulsrivastava2004@gmail.com>
Co-authored-by: Mikołaj Świątek <mail@mikolajswiatek.com>
swiatekm pushed a commit that referenced this pull request Oct 20, 2026
#17343)

- 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



(cherry picked from commit aee9acf)

Co-authored-by: Anshuman Prakash <nakulsrivastava2004@gmail.com>
Co-authored-by: Anshuman-Prakash <199287261+Anshuman-Prakash@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
swiatekm pushed a commit that referenced this pull request Oct 21, 2026
#17342)

- 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



(cherry picked from commit aee9acf)

Co-authored-by: Anshuman Prakash <nakulsrivastava2004@gmail.com>
Co-authored-by: Anshuman-Prakash <199287261+Anshuman-Prakash@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-active-all Automated backport with mergify to all the active branches 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.

[text-auditor] Batch fix clear runtime/CLI/docs text errors

4 participants