Repository navigation
fix: mirror forge-cli 0.39.0's alert default connection and core command name rules; release 0.12.1 - #29
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
forge-cli 0.39.0 changes two rules the SDK copies:
default_connectionis used when a route names none. A connection is required only whenrequires_connectionis true and the kind has no default.AlertNotifierTestHarnessnow resolves sample routes the same way, and the role docs say how the two attributes work together.fluid_build.commandsplugin may not register a core command's name or alias. forge refuses it with a typed error and skips that plugin.CommandPluginTestHarnessnow checks against the core names by default. They are vendored inroles/_forge_commands.pyfrom forge-cli's own parser, 67 names including aliases.reserved_command_namesadds a plugin author's own names, andcheck_core_command_names = Falseturns the core check off for an older forge-cli.Cuts 0.12.1. It has no runtime dependencies.
Checked: ruff, black, pytest (423 passed), each example's tests,
python -m buildandtwine check. The vendored list equals forge-cli main's top-level commands and aliases exactly.