Draft
Add optional version field to global agents.config.yaml#14
version field to global agents.config.yaml#14Conversation
Agent-Logs-Url: https://github.com/Azure/azure-functions-agent-runtime/sessions/983206f7-098b-4b2f-b6d8-3062dc6a1337 Co-authored-by: larohra <41490930+larohra@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add a version to global config file for tracking changes
Add optional May 19, 2026
version field to global agents.config.yaml
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.
Allow tracking changes to the global configuration file by adding a
versionidentifier.Changes
config/schema.py): Added optionalversion: str | None = NonetoGlobalConfig. Amode="before"validator coerces numeric YAML literals (1,1.0) to strings and rejects booleans.extra="forbid"is preserved.test_config_loader.py): Updated the empty-dump assertion; added cases for explicit string and numeric-coerced versions.docs/front-matter-spec.md): Listedversionin the global optional-properties reference and described its purpose.version: "1.0"to the three sampleagents.config.yamlfiles.Example
The field is fully optional — existing configs without
versioncontinue to load unchanged. No semantics are attached to the value; it is informational metadata for users to track config evolution.