chore: pin migration TODOs to v0.2.4
This commit is contained in:
@@ -21,7 +21,8 @@ if TYPE_CHECKING:
|
||||
|
||||
@cache
|
||||
def _warn_legacy_channel_entry_points() -> None:
|
||||
# TODO: Remove this legacy entry-point detection and warning after the migration window.
|
||||
# TODO(v0.2.4): Remove this detection and warning. v0.2.3 is the final
|
||||
# migration window for installed legacy channel entry points.
|
||||
names = sorted({entry_point.name for entry_point in entry_points(group="nanobot.channels")})
|
||||
if not names:
|
||||
return
|
||||
|
||||
@@ -209,8 +209,8 @@ def _migrate_config(data: dict) -> dict:
|
||||
defaults.pop("maxMessages", None)
|
||||
defaults.pop("max_messages", None)
|
||||
if had_legacy_max_messages:
|
||||
# TODO(next version): Remove this legacy cleanup branch; the schema
|
||||
# will silently ignore this field once the warning grace period ends.
|
||||
# TODO(v0.2.4): Remove this legacy cleanup branch. v0.2.3 is the
|
||||
# final release that warns before the schema silently ignores the field.
|
||||
logger.warning(
|
||||
"agents.defaults.maxMessages/max_messages is legacy and ignored; "
|
||||
"replay max messages is now an internal safety cap. Remove it from "
|
||||
|
||||
Reference in New Issue
Block a user