Skip to content

fix: update Copilot CLI version to 1.0.6 via compiler constants#51

Merged
jamesadevine merged 3 commits intomainfrom
copilot/update-copilot-version
Mar 17, 2026
Merged

fix: update Copilot CLI version to 1.0.6 via compiler constants#51
jamesadevine merged 3 commits intomainfrom
copilot/update-copilot-version

Conversation

Copy link
Contributor

Copilot AI commented Mar 17, 2026

Generated pipelines were pinned to a stale Copilot CLI version (0.0.407). This moves the CLI version strings out of the static YAML templates and into named constants in common.rs, using template markers — the same approach used for AWF_VERSION and compiler_version.

Changes Made

  • src/compile/common.rs: Added two new version constants:
    • COPILOT_CLI_VERSION = "1.0.6" for Microsoft.Copilot.CLI.linux-x64 (standalone pipelines)
    • AGENCY_CLI_VERSION = "2026.1.22.4" for agency.linux-x64 (1ES pipelines)
  • templates/base.yml: Replaced hardcoded -Version 0.0.407 with {{ copilot_version }} template marker (both occurrences)
  • templates/1es-base.yml: Replaced hardcoded -Version 2026.1.22.4 with {{ agency_version }} template marker
  • src/compile/standalone.rs: Imported COPILOT_CLI_VERSION and wired up the {{ copilot_version }} replacement
  • src/compile/onees.rs: Imported AGENCY_CLI_VERSION and wired up the {{ agency_version }} replacement

Future version bumps only require updating the constant in common.rs.

Original prompt

This section details on the original issue you should resolve

<issue_title>update copilot version</issue_title>
<issue_description>The generated pipelines use a really old version of github copilot cli (0.0.407) - update to 1.0.6</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copilot AI changed the title [WIP] Update GitHub Copilot CLI version to 1.0.6 fix: update Copilot CLI version to 1.0.6 Mar 17, 2026
Copilot AI requested a review from jamesadevine March 17, 2026 17:23
@jamesadevine
Copy link
Collaborator

@copilot perhaps we should move this to a compiler replacement instead of statically defined in the base yaml. Probably also best to make this change for the 1es compiler and standardize on the same approach.

Co-authored-by: jamesadevine <4742697+jamesadevine@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 17, 2026

@copilot perhaps we should move this to a compiler replacement instead of statically defined in the base yaml. Probably also best to make this change for the 1es compiler and standar...

Done in e081061. I moved both version strings out of the static YAML templates and into named constants in common.rs:

  • COPILOT_CLI_VERSION = "1.0.6" → injected via {{ copilot_version }} in base.yml (standalone compiler)
  • AGENCY_CLI_VERSION = "2026.1.22.4" → injected via {{ agency_version }} in 1es-base.yml (1ES compiler)

Both follow the same pattern already used for AWF_VERSION / {{ firewall_version }} and compiler_version / {{ compiler_version }}.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • api.github.com (HTTP Only)
    • Triggering command: /home/REDACTED/work/ado-aw/ado-aw/target/debug/ado-aw /home/REDACTED/work/ado-aw/ado-aw/target/debug/ado-aw proxy --allow api.github.com --as-needed -shared 282f9.04ys10cas81d8l5zktauyxl6k.0f8sihv.rcgu.o 282f9.0f7osk7u4kohtd36hmj1ckb8i.0f8sihv.rcgu.o 282f9.0o5rfzu380rlxqqbz17syrsqf.0f8sihv.rcgu.o 282f9.0yxhou4h03rc34xfgwb3ycjol.0f8sihv.rcgu.o 282f9.1kguf4195hs9940mk1dm0ggzz.0f8sihv.rcgu.o 282f9.1mpyvdv7pyxf3ng8yipyk525t.0f8sihv.rcgu.o 282f9.1nhqb1ozrjlvfoy7fjlhcb73n.0f8sihv.rcgu.o 282f9.1vv2t69d0488go0yafes2x70i.0f8sihv.rcgu.o 282f9.1y9ifn86zes848os8kg1vriyy.0f8sihv.rcgu.o 282f9.35ht4wuid56kfcqz3us8mrudk.0f8sihv.rcgu.o 282f9.37d5q5eh66ez0d8t579jzdj7r.0f8sihv.rcgu.o 282f9.3chzns1ewigd37fx2u2u3i0yy.0f8sihv.rcgu.o 282f9.3gooohxjhqsvqsv72zcoin4pf.0f8sihv.rcgu.o 282f9.3gysfdn2shg5iuu7drfrw41jg.0f8sihv.rcgu.o (packet block)
  • dev.azure.com
    • Triggering command: /home/REDACTED/work/ado-aw/ado-aw/target/debug/ado-aw /home/REDACTED/work/ado-aw/ado-aw/target/debug/ado-aw proxy --allow api.github.com --allow dev.azure.com --allow *.visualstudio.com 282f9.0o5rfzu380rlxqqbz17syrsqf.0f8sihv.rcgu.o 282f9.0yxhou4h03rc34xfgwb3ycjol.0f8sihv.rcgu.o 282f9.1kguf4195hs9940mk1dm0ggzz.0f8sihv.rcgu.o 282f9.1mpyvdv7pyxf3ng8yipyk525t.0f8sihv.rcgu.o 282f9.1nhqb1ozrjlvfoy7fjlhcb73n.0f8sihv.rcgu.o 282f9.1vv2t69d0488go0yafes2x70i.0f8sihv.rcgu.o 282f9.1y9ifn86zes848os8kg1vriyy.0f8sihv.rcgu.o 282f9.35ht4wuid56kfcqz3us8mrudk.0f8sihv.rcgu.o 282f9.37d5q5eh66ez0d8t579jzdj7r.0f8sihv.rcgu.o 282f9.3chzns1ewigd37fx2u2u3i0yy.0f8sihv.rcgu.o 282f9.3gooohxjhqsvqsv72zcoin4pf.0f8sihv.rcgu.o 282f9.3gysfdn2shg5iuu7drfrw41jg.0f8sihv.rcgu.o (dns block)
  • msazuresphere.visualstudio.com
    • Triggering command: /home/REDACTED/work/ado-aw/ado-aw/target/debug/ado-aw /home/REDACTED/work/ado-aw/ado-aw/target/debug/ado-aw proxy --allow api.github.com --allow dev.azure.com --allow *.visualstudio.com 282f9.0o5rfzu380rlxqqbz17syrsqf.0f8sihv.rcgu.o 282f9.0yxhou4h03rc34xfgwb3ycjol.0f8sihv.rcgu.o 282f9.1kguf4195hs9940mk1dm0ggzz.0f8sihv.rcgu.o 282f9.1mpyvdv7pyxf3ng8yipyk525t.0f8sihv.rcgu.o 282f9.1nhqb1ozrjlvfoy7fjlhcb73n.0f8sihv.rcgu.o 282f9.1vv2t69d0488go0yafes2x70i.0f8sihv.rcgu.o 282f9.1y9ifn86zes848os8kg1vriyy.0f8sihv.rcgu.o 282f9.35ht4wuid56kfcqz3us8mrudk.0f8sihv.rcgu.o 282f9.37d5q5eh66ez0d8t579jzdj7r.0f8sihv.rcgu.o 282f9.3chzns1ewigd37fx2u2u3i0yy.0f8sihv.rcgu.o 282f9.3gooohxjhqsvqsv72zcoin4pf.0f8sihv.rcgu.o 282f9.3gysfdn2shg5iuu7drfrw41jg.0f8sihv.rcgu.o (dns block)
  • raw.github.com
    • Triggering command: /home/REDACTED/work/ado-aw/ado-aw/target/debug/ado-aw /home/REDACTED/work/ado-aw/ado-aw/target/debug/ado-aw proxy --allow *.github.com /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/async_trait-0d9946b44b5e2a43.a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/proxy_tests-bdf3f3fa375db968.277xkoqd5bwrczxu1godtun7e.05y067w.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/async_trait-0d9946b44b5e2a43.a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/proxy_tests-bdf3f3fa375db968.2ggbp88eaerqa2hprceyhcpyc.05y067w.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/async_trait-0d9946b44b5e2a43.a/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/proxy_tests-bdf3f3fa375db968.2malcecjl3lh16hk21yl11fu1.05y067w.rcgu.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/rustctzrzyL/rmeta.o /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/async_trait-0d9946b44b5e2a43.6/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/proxy_tests-bdf3f3fa375db968.2pc4wthksdfytzgyf7ah1yy5q.05y067w.rcgu.o -Wl,--as-needed -Wl,-Bstatic /home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/libsyn-726c914ac9df4b69.rlib lib/�� lib/rustlib/x86_/home/REDACTED/work/ado-aw/ado-aw/target/debug/build/anyhow-bf0932fe1da15ffd/buildcc lib/rustlib/x86_-Wl,--as-needed bin/rustc lib/rustlib/x86_cc lib/rustlib/x86_-Wl,--version-script=/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/rustctzrz/home/REDACTED/work/ado-aw/ado-aw/target/debug/deps/proxy_tests-bdf3f3fa375db968.0f983stzxmcqm183e5fj80tdk.05y067w.rcgu.o lib/rustlib/x86_-Wl,--no-undefined-version bin/rustc (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI changed the title fix: update Copilot CLI version to 1.0.6 fix: update Copilot CLI version to 1.0.6 via compiler constants Mar 17, 2026
@jamesadevine jamesadevine marked this pull request as ready for review March 17, 2026 18:06
@jamesadevine jamesadevine merged commit b8d8ece into main Mar 17, 2026
2 checks passed
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.

update copilot version

2 participants