Add per-workflow version override feature flags for Copilot, MCP gateway, AWF, and engine CLIs#27594
Add per-workflow version override feature flags for Copilot, MCP gateway, AWF, and engine CLIs#27594
Conversation
|
@copilot make all of the feature flags *-latest instead of just copilot |
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/9e5aa7a8-e769-4818-81d4-c0db5192182f Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/8f382246-ff49-4533-bf8d-dde4344bf6c0 Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
|
@copilot change feature flags to copilot-version, mcpg-version, firewall-version, codex-version, claude-version, opencode-version, and gemini-version and allow "latest" as a possible value as well as a specific version number. make sure that for the value is meaningful. for example, "latest" is a tag for the container version but not specificying a version will download the latest agent executable. "latest" may need to be a special value for the agent flags. |
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/a77776fd-69ce-451f-a672-9e755656680e Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/a77776fd-69ce-451f-a672-9e755656680e Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/a77776fd-69ce-451f-a672-9e755656680e Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/a77776fd-69ce-451f-a672-9e755656680e Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/a77776fd-69ce-451f-a672-9e755656680e Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Agent-Logs-Url: https://github.com/github/gh-aw/sessions/a77776fd-69ce-451f-a672-9e755656680e Co-authored-by: lpcox <15877973+lpcox@users.noreply.github.com>
Implemented in bfb80dc (plus preceding commits in the same change set): feature flags are now
|
|
@copilot why do we need this? |
It gives us a safe per-workflow rollout mechanism for engine/runtime upgrades without changing global defaults. We can pin stable defaults for everyone, then selectively test |
|
@copilot remove all feature flags from the pr but add |
This PR adds workflow-level version feature flags to smoke-test new runtime/CLI versions without changing global pinned defaults. The compiler now resolves these overrides at generation time across install steps and container image references.
Feature flag surface
pkg/constants/feature_constants.go:copilot-versionmcpg-versionfirewall-versioncodex-versionclaude-versionopencode-versiongemini-versionNoFeatureFlagsentinel for explicit non-override call sites.getFeatureValue(flag, workflowData) stringinpkg/workflow/features.goto read string-valued feature flags (case-insensitive, trimmed).Engine/installer version resolution
engine.versionbyok-copilotcontinues to forcelatestafter shared resolution.Copilot override
CopilotEngine.GetInstallationSteps()to usefeatures.copilot-version.latest.AWF/firewall override
getFirewallConfig) to applyfeatures.firewall-versionwhennetwork.firewall.versionis not explicitly set.--image-taggenerationagent,api-proxy,squid) in predownload flow.install_awf_binary.shsolatestis meaningful for executable installs (usesreleases/latest/download).MCP gateway override
getMCPGatewayVersion(workflowData, configuredVersion)now usesfeatures.mcpg-versionwhen explicitsandbox.mcp.versionis not set.Targeted coverage updates
engine.versionover feature override)latestand specific-version handling for Copilot/Codex/Claude/OpenCode/Gemini installersfirewall-versionin AWF install/image-tag/docker imagesmcpg-versiondefaulting + precedence with explicitsandbox.mcp.version