glab ci view does not show masked variables
Checklist
-
I'm using the latest version of the extension (Run glab --version
)- Extension version: 1.72.0
-
Operating system and version: - zsh 5.8.1
-
Gitlab.com or self-managed instance? - self-managed
-
GitLab version (if self-managed) - 18.5.0-pre
-
I have performed glab auth status
to check for authentication issues -
Run the command in debug mode (like DEBUG=true glab mr list
) and attach any useful output.- Not relevant
Summary
When viewing the logs of a job through glab ci view
it does not print anything when there's MASKED variable. It causes confusion a bit. It shows something like this when looking at the logs from browser rsync <sourcedir> USER@HOST:"/srv/www/htdocs/[MASKED]/$TARGETDIR/"
but it shows nothing through glab ci view
rsync <sourcedir> USER@HOST:"/srv/www/htdocs//$TARGETDIR/"
Environment
bash or zsh. Doesn't really affect this
Steps to reproduce
run glab ci view
when there's MASKED variables involved
What is the current bug behavior?
Nothing printed when MASKED variable is used
What is the expected correct behavior?
Show similar data to what shows on web browser
Relevant logs and/or screenshots
Possible fixes
Print [MASKED]
when masked variable is used.