Column size narrow in CI
Expected result
Tabular output of sf commands should be readable
Actual result
Column size is resolved to 0, defaulting the column width to 3, making output unreadable in CI. sf seems to ignore COLUMNS=80.
The environment in question is CircleCI.
Relevant snippets are:
executors:
salesforce:
docker:
- image: cimg/node:22.12.0
jobs:
run-apex-unit-tests:
executor: salesforce
environment:
COLUMNS: 80
Additional information
System Information
CLI:
@salesforce/cli/2.91.6 darwin-arm64 node-v22.15.0
Plugin Version:
@oclif/plugin-autocomplete 3.2.29 (core)
@oclif/plugin-commands 4.1.25 (core)
@oclif/plugin-help 6.2.28 (core)
@oclif/plugin-not-found 3.2.53 (core)
@oclif/plugin-plugins 5.4.38 (core)
@oclif/plugin-search 1.2.24 (core)
@oclif/plugin-update 4.6.41 (core)
@oclif/plugin-version 2.2.28 (core)
@oclif/plugin-warn-if-update-available 3.1.40 (core)
@oclif/plugin-which 3.2.35 (core)
@salesforce/cli 2.91.6 (core)
apex 3.6.19 (core)
api 1.3.3 (core)
auth 3.6.124 (core)
code-analyzer 5.1.0 (user)
data 4.0.36 (core)
deploy-retrieve 3.22.17 (core)
devops-center 1.2.27 (user)
info 3.4.65 (core)
limits 3.3.55 (core)
marketplace 1.3.8 (core)
org 5.7.12 (core)
packaging 2.13.6 (core)
schema 3.3.64 (core)
settings 2.4.29 (core)
sobject 1.4.58 (core)
telemetry 3.6.42 (core)
templates 56.3.48 (core)
trust 3.7.96 (core)
user 3.6.24 (core)
SF ENV. VARS.
SF_BINPATH,/Users/myname/.local/share/sf/client/bin/sf
SF_AUTOUPDATE_DISABLE,true
SF_DISABLE_AUTOUPDATE,true
SF_UPDATE_INSTRUCTIONS,Use "npm update --global @salesforce/cli" to update npm-based installations.
Windows: false
Shell: zsh
Channel: stable
Diagnostics
:white_check_mark: pass - salesforcedx plugin isn’t installed :white_check_mark: pass - you don't have any linked plugins :white_check_mark: pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org :white_check_mark: pass - [@salesforce/plugin-trust] can ping: https://registry.yarnpkg.com :white_check_mark: pass - [@salesforce/plugin-trust] can ping: https://registry.npmjs.org/ :x: fail - using latest or latest-rc CLI version :white_check_mark: pass - can access: https://appexchange.salesforce.com/services/data :white_check_mark: pass - can access: https://test.salesforce.com :white_check_mark: pass - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches apiVersion :white_check_mark: pass - [@salesforce/plugin-deploy-retrieve] default target DevHub max apiVersion matches default target org max apiVersion :x: warn - [@salesforce/plugin-deploy-retrieve] sourceApiVersion matches default target org max apiVersion :white_check_mark: pass - can access: https://developer.salesforce.com/media/salesforce-cli/sf/channels/stable/sf-win32-x64-buildmanifest :white_check_mark: pass - [@salesforce/plugin-auth] CLI supports v2 crypto
This issue has been linked to a new work item: W-18763150
This is fixed in latest