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

ci: Fix vulnerable dev dependencies (no-changelog) #9545

Merged
merged 3 commits into from
May 30, 2024

Conversation

netroy
Copy link
Member

@netroy netroy commented May 30, 2024

This should help close all the open dependabot alerts

Review / Merge checklist

  • PR title and summary are descriptive

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels May 30, 2024
@@ -23,6 +23,7 @@ beforeAll(async () => {
mockInstance(InternalHooks);
mockInstance(LoadNodesAndCredentials);
await testDb.init();
await oclifConfig.load();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried it out and saw that it failed without that now. So I guess this was called implicitly before.

For educational purposes: How did you find out that this was the missing piece? I couldn't find anything in the docs or the changelog about this, nor in the issues.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Their docs recommend executing commands like Command.run(argv), which in the code does await config.load(), await command.init(), and await command.run(). I just copied that bit over.

Copy link

cypress bot commented May 30, 2024

3 flaky tests on run #5179 ↗︎

0 359 0 0 Flakiness 3

Details:

🌳 🖥️ browsers:node18.12.0-chrome107 🤖 netroy 🗃️ e2e/*
Project: n8n Commit: b04aa74de2
Status: Passed Duration: 04:59 💡
Started: May 30, 2024 11:42 AM Ended: May 30, 2024 11:47 AM
Flakiness  5-ndv.cy.ts • 2 flaky tests

View Output Video

Test Artifacts
NDV > should not retrieve remote options when required params throw errors Screenshots Video
NDV > Stop listening for trigger event from NDV Screenshots Video
Flakiness  20-workflow-executions.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Current Workflow Executions > should auto load more items if there is space and auto scroll Test Replay Screenshots Video

Review all test suite changes for PR #9545 ↗︎

Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit 596990b into master May 30, 2024
30 checks passed
@netroy netroy deleted the fix-vulnerable-dev-dependencies branch May 30, 2024 11:54
@janober
Copy link
Member

janober commented May 30, 2024

Got released with n8n@1.44.0

MiloradFilipovic added a commit that referenced this pull request May 31, 2024
* master:
  fix(editor): Fix ts errors across the board (no-changelog) (#9561)
  refactor(core): Extract all Auth-related User columns into a separate entity (#9557)
  refactor(core): Update supertest, and fix some typing errors (no-changelog) (#9527)
  fix(editor): Render checkboxes in markdown (#9549)
  test(core): Rename and combine all credential api tests (no-changelog) (#9550)
  🚀 Release 1.44.0 (#9553)
  feat(editor): Node Creator AI nodes improvements  (#9484)
  fix(editor): Show workflow data in header when execution page is hard reloaded (#9529)
  refactor(core): Stop reporting to Sentry `NodeApiError` with 5xx status codes (no-changelog) (#9552)
  feat: HighLevel oauth2 api credentials (#9542)
  fix(editor): Fix empty node name handling (#9548)
  ci: Fix vulnerable dev dependencies (no-changelog) (#9545)
  fix: Don't throw errors for NaN in number operators in the filter component  (#9506)
  fix(core): Try setting postgres search_path on the database (#9530)
  fix(editor): Redirect to workflows list after deleting a workflow (#9546)

# Conflicts:
#	packages/editor-ui/src/views/NodeView.vue
#	pnpm-lock.yaml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants