Skip to content

Fix malformed Heartbeat port, synthetics and timestamp error strings - #54119

Closed
Anshuman-Prakash wants to merge 1 commit into
elastic:mainfrom
Anshuman-Prakash:fix/text-auditor-53316
Closed

Anshuman-Prakash wants to merge 1 commit into
elastic:mainfrom
Anshuman-Prakash:fix/text-auditor-53316

Conversation

@Anshuman-Prakash

Copy link
Copy Markdown
Contributor

Relates to #53316.

  • heartbeat/monitors/active/http/task.go — '%v' is no valid port number in '%v' → is not a valid port number.
  • heartbeat/ecserr/ecserr.go — could not start command not found: %s → could not start command: %s. The "not found" was conflating two failures; the error already carries the SYNTHETICS_CMD_COULD_NOT_START code, and reason describes the actual cause.
  • libbeat/common/transform/typeconv/typeconv.go — %v is no valid encoded timestamp length → is not a valid. Not in the issue; found by grepping the is no valid family.

Two of the issue's five items are already handled elsewhere, so they're not here:

The one other is no valid left is a doc comment at filebeat/input/journald/pkg/journalctl/mode.go:43; the error it describes is fine, so I left it alone.

go build/go vet clean. heartbeat/monitors/active/http has one failing test, TestNoGzipDecodeWithoutHeader, but it fails the same way on a clean main — unrelated to this change. No changelog fragment: wording only, no behaviour change.

🤖 Generated with Claude Code

Relates to elastic#53316.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@Anshuman-Prakash
Anshuman-Prakash requested a review from a team as a code owner October 27, 2026 14:08
@botelastic botelastic Bot added the needs_team Indicates that the issue/PR needs a Team:* label label Oct 27, 2026
@botelastic

botelastic Bot commented Oct 27, 2026

Copy link
Copy Markdown

This pull request doesn't have a Team:<team> label.

@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!)
  • /test : Run the Buildkite pipeline.

@mergify

mergify Bot commented Oct 27, 2026

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 @Anshuman-Prakash? 🙏.
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.

@bmorelli25

Copy link
Copy Markdown
Member

Please see my comment here: #54301 (comment).

@bmorelli25 bmorelli25 closed this Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants