Skip to content

Commit

Permalink
worker: use command with resolved obfuscation as command_id
Browse files Browse the repository at this point in the history
  • Loading branch information
tdesveaux committed Aug 28, 2024
1 parent 59c3ccd commit a8212bb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions worker/buildbot_worker/runprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,6 @@ def __init__(
@param useProcGroup: (default True) use a process group for non-PTY
process invocations
"""
self.command_id = command

if logfiles is None:
logfiles = {}

Expand All @@ -321,6 +319,9 @@ def obfus(w):
return w

command = [obfus(w) for w in command]

self.command_id = command

# We need to take unicode commands and arguments and encode them using
# the appropriate encoding for the worker. This is mostly platform
# specific, but can be overridden in the worker's buildbot.tac file.
Expand Down

0 comments on commit a8212bb

Please sign in to comment.