Skip to content

Add CI test diagnostics: memory monitoring and crash dump capture#110

Merged
bernardladenthin merged 1 commit into
mainfrom
claude/intelligent-cray-9tfnxv
Jun 17, 2026
Merged

Add CI test diagnostics: memory monitoring and crash dump capture#110
bernardladenthin merged 1 commit into
mainfrom
claude/intelligent-cray-9tfnxv

Conversation

@bernardladenthin

Copy link
Copy Markdown
Owner

Summary

  • Add memory monitoring (free -h) before and after test execution in the jcstress CI workflow to track resource usage
  • Capture JVM crash diagnostics (heap dumps, hs_err logs, surefire reports) on test failure for post-mortem analysis
  • Configure Maven Surefire with heap limits (-Xmx2g) and diagnostic flags to generate crash artifacts in the working directory
  • Document CI test diagnostics policy in CLAUDE.md

Test plan

  • CI is green on this branch (workflow changes are syntactically valid and artifact upload paths are correct)
  • Existing tests pass (no code logic changes, only CI configuration and JVM flags)

Related issues / PRs

Checklist

  • I have read CONTRIBUTING.md and CODE_OF_CONDUCT.md
  • My commits follow Conventional Commits
  • No security-sensitive changes

https://claude.ai/code/session_01JBzF5wtCjRu5t4FMzphryM

…ss-repo sync)

New surefire <argLine>@{argLine} -Xmx2g -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=. -XX:ErrorFile=hs_err_pid%p.log (the @{argLine} prefix preserves the JaCoCo agent). CI test job: 'free -h' before/after, 'mvn -e', and on-failure crash+surefire dump upload. Implements workspace/policies/ci-test-diagnostics.md.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JBzF5wtCjRu5t4FMzphryM
@bernardladenthin bernardladenthin merged commit 6402154 into main Jun 17, 2026
11 of 12 checks passed
@bernardladenthin bernardladenthin deleted the claude/intelligent-cray-9tfnxv branch June 17, 2026 13:01
@sonarqubecloud

Copy link
Copy Markdown

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants