We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72155f0 commit ce6af82Copy full SHA for ce6af82
agent/agent.go
@@ -884,7 +884,10 @@ func (a *agent) run(ctx context.Context) error {
884
885
// updateCommandEnv updates the provided command environment with the
886
// following set of environment variables:
887
-// -
+// - Predefined workspace environment variables
888
+// - Environment variables currently set (overriding predefined)
889
+// - Environment variables passed via the agent manifest (overriding predefined and current)
890
+// - Agent-level environment variables (overriding all)
891
func (a *agent) updateCommandEnv(current []string) (updated []string, err error) {
892
manifest := a.manifest.Load()
893
if manifest == nil {
0 commit comments