Skip to content

Conversation

@funkyrailroad
Copy link

The super easy fix for this:

#1426

@auvipy auvipy requested review from auvipy and Copilot August 9, 2025 13:27
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a missing f-string prefix in an error message format string. The change ensures that variable interpolation works correctly when displaying autoscaling configuration for workers.

  • Adds missing f prefix to the second line of a multi-line f-string

Comment on lines 262 to +263
self.write(dict(message=f"Autoscaling '{workername}' worker "
"(min={min}, max={max})"))
f"(min={min}, max={max})"))
Copy link

Copilot AI Aug 9, 2025

Choose a reason for hiding this comment

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

[nitpick] The f-string fix is correct, but this creates an inconsistent string concatenation pattern. Consider combining both lines into a single f-string for better readability: f"Autoscaling '{workername}' worker (min={min}, max={max})"

Copilot uses AI. Check for mistakes.
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you please check this?

Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think Copilot's comment matters here. The changed version keeps the original styling/new line.

Comment on lines 262 to +263
self.write(dict(message=f"Autoscaling '{workername}' worker "
"(min={min}, max={max})"))
f"(min={min}, max={max})"))
Copy link
Collaborator

Choose a reason for hiding this comment

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

can you please check this?

@ulgens
Copy link
Contributor

ulgens commented Nov 9, 2025

@auvipy I think this can be merged.

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