Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 6, 2026

Per review feedback on #4178, the feature flag was Node.js-specific but should apply to all action types.

Changes

  • Renamed feature flag: SetOrchestrationIdEnvForNodeActionsSetOrchestrationIdEnvForActions
    • String constant: actions_set_orchestration_id_env_for_node_actionsactions_set_orchestration_id_env_for_actions
  • Extended to all action handler types: Added ACTIONS_ORCHESTRATION_ID environment variable to:
    • ContainerActionHandler (container/Docker actions)
    • ScriptHandler (script actions with run:)

All three action handler types (Node.js, container, and script) now set the orchestration ID when the feature flag is enabled:

if (ExecutionContext.Global.Variables.GetBoolean(Constants.Runner.Features.SetOrchestrationIdEnvForActions) ?? false)
{
    if (ExecutionContext.Global.Variables.TryGetValue(Constants.Variables.System.OrchestrationId, out var orchestrationId) && !string.IsNullOrEmpty(orchestrationId))
    {
        Environment["ACTIONS_ORCHESTRATION_ID"] = orchestrationId;
    }
}

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…tainerActionHandler

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

Copilot AI commented Jan 6, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

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:

  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/CompositeBasic
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/CompositeContainerNested
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/CompositeLimit
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/CompositePrestep
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/RepositoryActionWithActionYamlFile_DockerHubImage
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/RepositoryActionWithActionfile_DockerHubImage
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/RepositoryActionWithActionfile_DockerfileRelativePath
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/RepositoryActionWithInvalidWrapperActionfile_Node
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/RepositoryActionWithWrapperActionfile_Node
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/notpullorbuildimagesmultipletimes1
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/repositoryactionwithactionfileanddockerfile
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/repositoryactionwithdockerfile
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/TingluoHuang/REDACTED_L0/tarball/repositoryactionwithdockerfileinrelativepath
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/actions/download-artifact/tarball/master
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • https://api.github.com/repos/actions/setup-node/tarball/v1
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (http block)
  • www.bing.com
    • Triggering command: /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet /home/REDACTED/work/REDACTED/REDACTED/_dotnetsdk/8.0.416/dotnet exec --runtimeconfig /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.runtimeconfig.json --depsfile /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/Test.deps.json /home/REDACTED/work/REDACTED/REDACTED/src/Test/bin/Debug/net8.0/testhost.dll --port 36511 --endpoint 127.0.0.1:036511 --role client --parentprocessid 4457 --telemetryoptedin false (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 [WIP] WIP address feedback on setting ACTIONS_ORCHESTRATION_ID Generalize ACTIONS_ORCHESTRATION_ID feature flag for all action types Jan 6, 2026
Copilot AI requested a review from TingluoHuang January 6, 2026 18:36
Co-authored-by: TingluoHuang <1750815+TingluoHuang@users.noreply.github.com>
Copilot AI requested a review from TingluoHuang January 6, 2026 18:55
@TingluoHuang TingluoHuang marked this pull request as ready for review January 6, 2026 18:59
@TingluoHuang TingluoHuang requested a review from a team as a code owner January 6, 2026 18:59
@TingluoHuang TingluoHuang merged commit b26d856 into users/tihuang/setorchidenv Jan 6, 2026
1 check passed
@TingluoHuang TingluoHuang deleted the copilot/sub-pr-4178 branch January 6, 2026 18:59
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.

2 participants