Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(core): Define SHELL env variable on docker images #8670

Merged
merged 1 commit into from
Feb 19, 2024
Merged

Conversation

netroy
Copy link
Member

@netroy netroy commented Feb 19, 2024

Since #8381, we have oclif code trying to determine the user's shell using require('os').userInfo().shell if process.env.SHELL isn't set.

This fails in scenarios where the user doesn't have the permissions to read /etc/passwd, and prevents the app from starting up.

Related tickets and issues

Fixes #8664

Review / Merge checklist

  • PR title and summary are descriptive

Copy link

cypress bot commented Feb 19, 2024

2 flaky tests on run #4139 ↗︎

0 329 12 0 Flakiness 2

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/*
Project: n8n Commit: 2d7c2458d4
Status: Passed Duration: 03:35 💡
Started: Feb 19, 2024 10:39 AM Ended: Feb 19, 2024 10:43 AM
Flakiness  5-ndv.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Test Replay Screenshots Video
Flakiness  24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > resolves expression with default item when input node is not parent, while still pairing items Test Replay Screenshots Video

Review all test suite changes for PR #8670 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit e1a4fde into master Feb 19, 2024
28 checks passed
@netroy netroy deleted the fix-8664 branch February 19, 2024 10:50
@github-actions github-actions bot mentioned this pull request Feb 21, 2024
@janober
Copy link
Member

janober commented Feb 21, 2024

Got released with n8n@1.30.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Versions > 1.25.1 throw uv_os_get_passwd returned ENOENT with a uid that does not resolve to a username
3 participants