Skip to content

feat: Use Environment variables for secrets capabilities #1702 #2218

feat: Use Environment variables for secrets capabilities #1702

feat: Use Environment variables for secrets capabilities #1702 #2218

Triggered via pull request January 6, 2025 11:16
Status Failure
Total duration 2m 27s
Artifacts

pr-validation.yml

on: pull_request
Lint & Format
38s
Lint & Format
Matrix: Build & Test
Fit to window
Zoom out
Zoom in

Annotations

24 errors and 3 warnings
Lint & Format: app/common/renderer/actions/Session.js#L244
Trailing spaces not allowed
Lint & Format: app/common/renderer/components/Session/EnvironmentVariables.jsx#L4
'/home/runner/work/appium-inspector/appium-inspector/app/common/renderer/components/Session/Session.module.css' imported multiple times
Lint & Format: app/common/renderer/components/Session/EnvironmentVariables.jsx#L5
'/home/runner/work/appium-inspector/appium-inspector/app/common/renderer/components/Session/Session.module.css' imported multiple times
Lint & Format: app/common/renderer/components/Session/Session.jsx#L1
Run autofix to sort these imports!
Lint & Format: app/common/renderer/reducers/Inspector.js#L1
Run autofix to sort these imports!
Lint & Format: app/common/renderer/reducers/Session.js#L1
Run autofix to sort these imports!
Lint & Format: app/common/renderer/reducers/Session.js#L101
Unexpected lexical declaration in case block
Lint & Format
Process completed with exit code 1.
unit/utils-env.spec.js > interpolateEnvironmentVariables > should interpolate environment variables in strings: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ unit/utils-env.spec.js:15:12
unit/utils-env.spec.js > interpolateEnvironmentVariables > should leave unmatched variables unchanged: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ unit/utils-env.spec.js:20:12
unit/utils-env.spec.js > interpolateEnvironmentVariables > should interpolate variables in arrays: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ ../app/common/renderer/utils/env-utils.js:28:30 ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:28:16 ❯ unit/utils-env.spec.js:26:12
unit/utils-env.spec.js > interpolateEnvironmentVariables > should interpolate variables in nested objects: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:35:21 ❯ unit/utils-env.spec.js:46:12
unit/utils-env.spec.js > interpolateEnvironmentVariables > should handle multiple variables in single string: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ unit/utils-env.spec.js:77:12
Build & Test (macos-latest)
Process completed with exit code 1.
Build & Test (ubuntu-latest)
The job was canceled because "macos-latest" failed.
Build & Test (ubuntu-latest)
The operation was canceled.
Build & Test (windows-latest)
The job was canceled because "macos-latest" failed.
unit/utils-env.spec.js > interpolateEnvironmentVariables > should interpolate environment variables in strings: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ unit/utils-env.spec.js:15:12
unit/utils-env.spec.js > interpolateEnvironmentVariables > should leave unmatched variables unchanged: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ unit/utils-env.spec.js:20:12
unit/utils-env.spec.js > interpolateEnvironmentVariables > should interpolate variables in arrays: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ ../app/common/renderer/utils/env-utils.js:28:30 ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:28:16 ❯ unit/utils-env.spec.js:26:12
unit/utils-env.spec.js > interpolateEnvironmentVariables > should interpolate variables in nested objects: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:35:21 ❯ unit/utils-env.spec.js:46:12
unit/utils-env.spec.js > interpolateEnvironmentVariables > should handle multiple variables in single string: app/common/renderer/utils/env-utils.js#L20
TypeError: .for is not iterable ❯ Module.interpolateEnvironmentVariables ../app/common/renderer/utils/env-utils.js:20:27 ❯ unit/utils-env.spec.js:77:12
Build & Test (windows-latest)
Process completed with exit code 1.
Lint & Format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint & Format: app/common/renderer/components/Session/Session.jsx#L1
'SettingOutlined' is defined but never used
Lint & Format: app/common/renderer/components/Session/Session.jsx#L2
'Card' is defined but never used