Skip to content

Conversation

@adamlogic
Copy link
Contributor

@adamlogic adamlogic commented Feb 2, 2026

New JUDOSCALE_CONTAINER support:


Note

Medium Risk
Changes the report payload schema and touches runtime/environment detection logic, which could affect downstream API expectations and container ID parsing across hosts.

Overview
Metrics reports now include runtime metadata by adding container and pid fields to the JSON payload, and updating Spring Boot API clients to pass through the detected container identifier.

ConfigBase now detects a runtime container ID from JUDOSCALE_CONTAINER (or platform-specific env vars like Heroku/Render/ECS/Fly/Railway) and exposes it via getRuntimeContainer(). Builds for judoscale-core and judoscale-spring-boot-2-starter also enforce Java 8 API compatibility via javac --release 8, and tests are updated/added to cover the new fields and null/empty handling.

Written by Cursor Bugbot for commit b2ae21c. This will update automatically on new commits. Configure here.

@adamlogic adamlogic marked this pull request as ready for review February 3, 2026 12:53
Copy link
Member

@carlosantoniodasilva carlosantoniodasilva left a comment

Choose a reason for hiding this comment

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

Logic looks right to me 👍, thanks for handling it!

carlosantoniodasilva added a commit to judoscale/judoscale-python that referenced this pull request Feb 3, 2026
#122)

With this, it will be possible to provide a `JUDOSCALE_CONTAINER` env
var to setup the runtime container when using custom setups, or to
override the default logic for a platform in case it's necessary.

- Ruby: judoscale/judoscale-ruby#261
- Python: #122
- Node: judoscale/judoscale-node#88
- Java: judoscale/judoscale-java#7
carlosantoniodasilva added a commit to judoscale/judoscale-node that referenced this pull request Feb 3, 2026
#88)

With this, it will be possible to provide a `JUDOSCALE_CONTAINER` env
var to setup the runtime container when using custom setups, or to
override the default logic for a platform in case it's necessary.

- Ruby: judoscale/judoscale-ruby#261
- Python: judoscale/judoscale-python#122
- Node: #88
- Java: judoscale/judoscale-java#7
Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@adamlogic adamlogic changed the base branch from am-extract-to-core to main February 3, 2026 16:34
@adamlogic adamlogic merged commit 58c5224 into main Feb 3, 2026
3 checks passed
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.

3 participants