Skip to content

Make Control configuration operations responsive - #1591

Merged
BenCodez merged 2 commits into
masterfrom
codex/faster-control-operations
Aug 30, 2026
Merged

Make Control configuration operations responsive#1591
BenCodez merged 2 commits into
masterfrom
codex/faster-control-operations

Conversation

@BenCodez

Copy link
Copy Markdown
Owner

Summary

  • claim Control configuration operations every second without coupling them to the slower presence heartbeat
  • let guided setups read the installed non-secret values for proxy backends, vote sites, common settings, and vote parties
  • append quick reward commands without replacing existing reward configuration
  • return the bounded underlying reload error while preserving the existing atomic rollback behavior
  • recover operation polling through the normal failure-isolated connector backoff path

Control polling remains optional and isolated from vote processing.

Testing

  • mvn -B -f VotingPlugin/pom.xml -DargLine=-javaagent:.../byte-buddy-agent-1.17.7.jar test — 462 tests passed
  • git diff --check

AI assistance

Implemented and verified with OpenAI Codex.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for security reviews. Please try again later.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Aug 30, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-08-30T04:13:34.370974Z 35838a6 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c247554f16

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. You're on a roll.

Reviewed commit: 35838a6ede

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@BenCodez
BenCodez merged commit 46cabd3 into master Aug 30, 2026
4 checks passed
@BenCodez
BenCodez deleted the codex/faster-control-operations branch August 30, 2026 04:01

BenCodez commented Aug 30, 2026

Copy link
Copy Markdown
Owner Author

Follow-up fix moved to #1592 because this PR was already merged and its branch was deleted.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 46cabd306f

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +253 to +254
} else {
throw new IllegalArgumentException("quick setup preset cannot be read");

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Support reads for the advertised proxy-method preset

When Control sends a READ operation for proxy-method, executeQuick() now routes it here, but this method rejects the preset even though quickSetupFile()/quickProposal() support it and the backend advertises config.proxy-method.v1. As a result, the guided transport-method UI cannot load the backend's current method and receives VALIDATION_ERROR; handle proxy-method by returning the installed BungeeMethod, as the proxy connector already does.

Useful? React with 👍 / 👎.

String.valueOf(yaml.getBoolean("DisableNoServiceSiteMessage", false)));
values.put("disableUpdateChecking", String.valueOf(yaml.getBoolean("DisableUpdateChecking", false)));
} else if ("vote-party".equals(preset)) {
values.put("enabled", String.valueOf(yaml.getBoolean("VoteParty.Enabled", false)));

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve the returned vote-party enabled state

When a disabled vote party is read and the returned options are submitted unchanged while editing another field, this reports enabled=false, but quickProposal() ignores that option and unconditionally writes VoteParty.Enabled: true. Thus an apparently round-trip edit silently enables vote-party processing; either honor the returned enabled option during preview/apply or omit it if this preset is intentionally enable-only.

Useful? React with 👍 / 👎.

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