Skip to content

build(account): use two isolated Linux integration test forks - #3343

Merged
benhook1013 merged 4 commits into
developfrom
codex/gameplay-ci-performance-20261029
Oct 29, 2026
Merged

benhook1013 merged 4 commits into
developfrom
codex/gameplay-ci-performance-20261029

Conversation

@benhook1013

@benhook1013 benhook1013 commented Oct 29, 2026 •

Copy link
Copy Markdown
Owner

Account integration suites used one JVM fork even when Linux validation supplied two workers. This change permits two isolated JVM forks on Linux, bounded by Gradle’s worker limit. JUnit methods remain serial within each suite; other platforms and one-worker invocations retain their existing behavior.

Three CLI and two Hosted reviews completed with no findings; the configured review policy is satisfied. The original dd010f4 comparison against develop 83a13e8 passed all required checks and substantive Account/runtime/smoke/authenticated-cleanup proof. After #3341 and subsequent maintenance merges, current head 246017a incorporates develop 22a2c38; its unique change remains the same five-line build setting. Fresh CI is running for that new comparison. Review completion is retained, while the earlier green CI does not establish current merge readiness.

Comparable local runs used the canonical resource lock, the same three native integration classes and all 44 cases:

  • R989 before: integration task 8m58.44s, whole build 12m16.86s; 44 passed.
  • R1005 after: integration task 7m37.27s, whole build 10m53.45s; 44 passed, no skips or errors.

The 81.17-second task reduction (15.1%) is one local comparison. It does not establish hosted performance, peak memory or reliability. R991, the first two-fork sample, had 43 passing cases and one unexplained Redis startup timeout; the successful retry does not diagnose that failure.

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
Commits

Reviewing files that changed from the base of the PR and between 83a13e8 and dd010f4.

Files selected for processing: 1
  • services/account-service/build.gradle.kts

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Summary

Summary

  • Updated services/account-service integration tests to use up to two parallel JVM forks on Linux, bounded by Gradle’s configured worker limit. Test methods remain serial within each suite.
  • Other operating systems retain the existing fork behavior.
  • No shared modules, workflows, docs, contracts, schemas, migrations, or deployment settings changed.
  • The PR objectives report that required checks passed. Hosted performance, peak memory, and container concurrency were not measured. One local two-fork run had a Redis container startup timeout.

The integrationTest task now limits parallel forks on Linux to the smaller of two and Gradle’s configured maximum worker count. Other operating systems retain the existing fork behavior.

Changes: Integration Test Fork Limit

Layer / File(s) Summary
Linux fork limit
services/account-service/build.gradle.kts
On Linux, integrationTest uses no more than two forks or Gradle’s configured maximum worker count, whichever is lower. Other operating systems do not enter this branch.

Priority: Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Feature

Merge Risk: Minimal · up to dd010

Linux integration tests can use two forks. No actionable merge-blocking risk is established.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description states the purpose (allow two isolated JVM forks on Linux, bounded by Gradle's worker limit, with serial JUnit methods and unchanged behavior elsewhere) and gives local timing comparis… Add a What Changed section that names the build.gradle.kts integrationTest change (maxParallelForks set to the smaller of 2 and the worker count on Linux). Add related issue or tracker references, such as #3341 or #3343, and the relevant de…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly identifies the Account build change and the use of two isolated Linux integration test forks.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files.

Full details: Description check

Explanation

The description states the purpose (allow two isolated JVM forks on Linux, bounded by Gradle's worker limit, with serial JUnit methods and unchanged behavior elsewhere) and gives local timing comparisons, a note on one unexplained Redis startup timeout, and CI/review status. It mostly follows the template, but the Summary omits related issue or tracker references, the What Changed section is missing, and the Validation section does not list the required ./gradlew spotlessApply or ./gradlew check commands. The Checklist is not visibly ticked, and the Notes section is only partly covered by the timing and flake remarks.

Resolution

Add a What Changed section that names the build.gradle.kts integrationTest change (maxParallelForks set to the smaller of 2 and the worker count on Linux). Add related issue or tracker references, such as #3341 or #3343, and the relevant design docs if applicable. In Validation, list the commands actually run, including ./gradlew spotlessApply and ./gradlew check, or state why they were not run. Tick the Checklist items that apply, and confirm the CLA and review-checklist items where relevant.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Smoke Summary

✅ Full-stack smoke completed with Smoke Gate: success

  • ✅ Changes detection: success
  • ✅ Smoke Gate: success
  • ✅ PR Full-Stack Smoke: success

@github-actions

Copy link
Copy Markdown
Contributor

Security Summary

✅ Security checks passed or were intentionally skipped

  • ✅ Security gate: success
  • ✅ Trivy filesystem scan: success
  • ✅ Secret compliance validation: success

@codecov

codecov Bot commented Oct 29, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Static Analysis Summary

✅ Static analysis checks passed

  • ✅ CodeQL gate: success
  • ✅ License gate: success

CodeQL breakdown

  • ⏭️ CodeQL analysis (java): skipped
  • ⏭️ CodeQL analysis (javascript-typescript): skipped

@github-actions

github-actions Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Validation Summary

✅ All validation checks passed

  • ✅ Validation gate: success
  • ✅ Buf generation: success
  • ✅ Dockerfile lint: success
  • ✅ ShellCheck: success
  • ✅ Python script validation: success
  • ✅ Dev tool contract checks: success
  • ⏭️ Dev Tools README contract: skipped
  • ✅ YAML lint: success
  • ✅ Metrics cardinality policy check: success
  • ✅ Flyway migration sanity checks: success
  • ✅ gRPC transport configuration sanity checks: success
  • ✅ GitHub workflow lint: success
  • ✅ Helm chart lint: success
  • ✅ Helm render validation: success
  • ✅ Helm transaction proof: success
  • ⏭️ Validate Documentation: skipped
  • ⏭️ Frontend checks: skipped
  • ✅ Service build/test matrix: success

Coverage reports and failure logs are available in the workflow artifacts.

@benhook1013
benhook1013 marked this pull request as ready for review October 29, 2026 09:08
@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai rate limit

@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Your plan includes PR reviews subject to rate limits. More reviews will be available in 10 minutes.

@greptile-apps

greptile-apps Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The change appears safe to merge based on the code reviewed, subject to the required checks already marked pending.

Reviews (1) · Last reviewed commit: "Merge remote-tracking branch 'origin/dev..." · Reviewed by Greptile

@benhook1013

Copy link
Copy Markdown
Owner Author

CodeRabbit CLI — 0 Found, 0/0/0 Accepted (Major/Minor/Trivial), 0 Routed
1 files · 1m 36s · dd010f4

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai rate limit

@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Your plan includes PR reviews subject to rate limits. Reviews are available now.

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
✅ Action performed

Full review finished.

@benhook1013

Copy link
Copy Markdown
Owner Author

CodeRabbit Hosted — 0 Found, 0/0/0 Accepted (Major/Minor/Trivial), 0 Routed
6m 38s · dd010f4

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai rate limit

@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Your plan includes PR reviews subject to rate limits. More reviews will be available in 40 minutes.

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai rate limit

@coderabbitai

coderabbitai Bot commented Oct 29, 2026

Copy link
Copy Markdown

Your plan includes PR reviews subject to rate limits. Reviews are available now.

@benhook1013

Copy link
Copy Markdown
Owner Author

@coderabbitai full review

@coderabbitai

coderabbitai Bot commented Oct 29, 2026 •

Copy link
Copy Markdown
✅ Action performed

Full review finished.

@benhook1013

Copy link
Copy Markdown
Owner Author

CodeRabbit Hosted — 0 Found, 0/0/0 Accepted (Major/Minor/Trivial), 0 Routed
5m 05s · dd010f4

@benhook1013

Copy link
Copy Markdown
Owner Author

CodeRabbit CLI — 0 Found, 0/0/0 Accepted (Major/Minor/Trivial), 0 Routed
1 files · 50s · dd010f4

@benhook1013

Copy link
Copy Markdown
Owner Author

CodeRabbit CLI — 0 Found, 0/0/0 Accepted (Major/Minor/Trivial), 0 Routed
1 files · 34s · dd010f4

@benhook1013
benhook1013 enabled auto-merge October 29, 2026 10:59
@benhook1013
benhook1013 merged commit 918d8d2 into develop Oct 29, 2026
114 checks passed
@benhook1013
benhook1013 deleted the codex/gameplay-ci-performance-20261029 branch October 29, 2026 11:49
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.

1 participant