Skip to content

feat: add more tracing for java check fail - #8460

Merged
mergify[bot] merged 1 commit into
mainfrom
cal/modrinth-debug-investigation-e34efa
Nov 26, 2026
Merged

mergify[bot] merged 1 commit into
mainfrom
cal/modrinth-debug-investigation-e34efa

Conversation

@IMB11

@IMB11 IMB11 commented Nov 26, 2026

Copy link
Copy Markdown
Member

No description provided.

@IMB11
IMB11 requested a review from aecsocket November 26, 2026 14:48
@github-actions

github-actions Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Pull request changelog

App

Added

  • Added extra debug information when "Check java" action fails in java installation settings page.

Changed

Deprecated

Removed

Fixed

Security

Website

Added

Changed

Deprecated

Removed

Fixed

Security

Hosting

Added

Changed

Deprecated

Removed

Fixed

Security

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Queue requested — the merge queue status continues in this comment ↓.

@greptile-apps

greptile-apps Bot commented Nov 26, 2026

Copy link
Copy Markdown
Contributor

security Security Review

This PR appears safe to merge from a security standpoint.

What was checked
  • The change only adds a Java subprocess's exit status and stderr to a local error message; it does not change who can run what or take any new input.
  • The stderr truncation slices at a UTF-8 character boundary taken from char_indices, so it cannot panic on multi-byte text.
  • The captured stderr comes from a binary the local user already configured and ran, and the error is only shown to that same user.
  • The error text is capped at 500 characters, so logs and error strings stay bounded.
  • No dependencies, secrets, or network-facing code were touched.

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · This PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] This PR appears safe to merge.

Summary

Adds exit status and stderr to FailedJavaCheck errors.

  • Failed Java checks now show the process status and error output.

No actionable issues found. Review was based on source checks; no builds or tests were run.

Reviews (1) · Last reviewed commit: "feat: add more tracing for java check fa..." · Reviewed by Greptile

@mergify

mergify Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

✅ Merged into main as 0fc4aeb at 14:57 UTC

1 min in the queue, with no time running CI.

So far

  • ✅ Entered the queue Thu 26 Nov, 14:56 · rule default · triggered by @IMB11 with the merge queue checkbox
  • ✅ Checks skipped · PR is already up-to-date
  • ✅ Merged 14:57 · 0fc4aeb
2 merge conditions met
  • github-review-approved · required by GitHub branch protection
  • any of · required by GitHub branch protection:
    • check-success = Lint and Test
    • check-neutral = Lint and Test
    • check-skipped = Lint and Test

Times in UTC · dashboard · how the merge queue works

@mergify mergify Bot added the queued label Nov 26, 2026
@mergify
mergify Bot merged commit 0fc4aeb into main Nov 26, 2026
10 checks passed
@mergify
mergify Bot deleted the cal/modrinth-debug-investigation-e34efa branch November 26, 2026 14:57
@mergify mergify Bot removed the queued label Nov 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant