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: Restore expression completions #6566

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Jun 29, 2023

Expression completions do not work on v1.0 because we are now surfacing all expression errors. This PR ensures expression completions utils that evaluate expressions do not throw when receiving unresolvable inputs.

@github-actions
Copy link
Contributor

Great PR! Please pay attention to the following items before merging:

Files matching packages/**:

  • If fixing bug, added test to cover scenario.
  • If addressing forum or Github issue, added link to description.

Files matching packages/**/*.ts:

  • Added unit tests to cover new or updated functionality.

Make sure to check off this list before asking for review.

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels Jun 29, 2023
@netroy netroy added the v1 Issues related to the release of n8n version 1.x.x label Jun 29, 2023
@codecov
Copy link

codecov bot commented Jun 29, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release/1.0.0@f217e1f). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@               Coverage Diff                @@
##             release/1.0.0    #6566   +/-   ##
================================================
  Coverage                 ?   28.66%           
================================================
  Files                    ?     2998           
  Lines                    ?   186256           
  Branches                 ?    20601           
================================================
  Hits                     ?    53384           
  Misses                   ?   132063           
  Partials                 ?      809           

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2023

⚠️ Some Cypress E2E specs are failing, please fix them before merging

@cypress
Copy link

cypress bot commented Jul 4, 2023

1 failed and 1 flaky tests on run #1377 ↗︎

1 161 0 0 Flakiness 1

Details:

🌳 restore-expression-completions 🖥️ browsers:node18.12.0-chrome107 🤖 ivov 🗃️...
Project: n8n Commit: 15d7598661
Status: Failed Duration: 06:04 💡
Started: Jul 4, 2023 7:22 PM Ended: Jul 4, 2023 7:28 PM
Failed  2-credentials.cy.ts • 1 failed test

View Output Video

Test Artifacts
Credentials > should sort credentials Output Screenshots Video
Failed  11-inline-expression-editor.cy.ts • 0 failed tests

View Output Video

Test Artifacts
Failed  24-ndv-paired-item.cy.ts • 0 failed tests

View Output Video

Test Artifacts
Failed  1-workflows.cy.ts • 0 failed tests

View Output Video

Test Artifacts
Failed  17-workflow-tags.cy.ts • 0 failed tests

View Output Video

Test Artifacts

The first 5 failed specs are shown, see all 16 specs in Cypress Cloud.

Flakiness  cypress/e2e/25-stickies.cy.ts • 1 flaky test

View Output Video

Test Artifacts
Canvas Actions > expands/shrinks sticky from the right edge Output Screenshots Video

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@netroy netroy merged commit 516e572 into release/1.0.0 Jul 4, 2023
@netroy netroy deleted the restore-expression-completions branch July 4, 2023 20:02
This was referenced Jul 5, 2023
MiloradFilipovic added a commit that referenced this pull request Jul 6, 2023
* master: (50 commits)
  fix(Google Drive Node): Fix regex in file RLC (#6607)
  feat(HTML Node): 'Convert to table operation (#6540)
  ci: e2e tests don't need to enable saving manual executions
  🚀 Release 1.0.1 (#6606)
  fix(core): Make node execution order configurable, and backward-compatible (#6507)
  🚀 Release 0.236.0 (#6602)
  fix: Fix migrations for postgres and mysql (no-changelog) (#6600)
  fix(core): Improve the performance of last 2 sqlite migrations (#6522)
  refactor: Switch cloud plan retrieval endpoint (no-changelog) (#6529)
  fix(Salesforce Node): Fix typo for adding a contact to a campaign (#6598)
  ci: Hide v1 banner in e2e tests to fix 2-credentials.cy.ts (no-changelog)
  fix(editor): Restore expression completions (#6566)
  refactor: Remove basic auth env vars from docker compose stacks (#6570)
  fix(core): Fix migrations for MySQL/MariaDB (#6591)
  fix(editor): Show retry information in execution list only when it exists (#6587)
  fix(Strapi Node): Fix issue with pagination (#4991)
  fix(core): Route `/rest/workflows/new` correctly (no-changelog) (#6572)
  fix(XML Node): Fix issue with not returning valid data (#6565)
  fix(core): Fix credentials test (#6569)
  fix(core): Ensure valid `logger` is passed to every migration (no-changelog) (#6563)
  ...

# Conflicts:
#	packages/design-system/src/components/N8nCallout/Callout.vue
#	packages/editor-ui/src/App.vue
#	packages/editor-ui/src/plugins/i18n/locales/en.json
#	packages/editor-ui/src/stores/ui.store.ts
MiloradFilipovic added a commit that referenced this pull request Jul 7, 2023
* ADO-814-trial-banner: (58 commits)
  ⚡ Updating permanent dismiss logic to work with all banners
  fix(editor): Make Source control branch select required (#6619)
  ⚡ Minor refactoring of banner logic
  refactor(core): Load `cookieParser` middleware only once (no-changelog) (#6614)
  fix(editor): Prevent keyboard shortcuts to edit workflows in readonly mode (#6613)
  fix(editor): Show appropriate empty workflow list content when instance environment is readonly (#6610)
  ✨ Implemented permanent/temporary dismiss logic for v1 flag
  ci: Fix linting issues (no-changelog)
  fix(Google Drive Node): Fix regex in file RLC (#6607)
  feat(HTML Node): 'Convert to table operation (#6540)
  ci: e2e tests don't need to enable saving manual executions
  🚀 Release 1.0.1 (#6606)
  fix(core): Make node execution order configurable, and backward-compatible (#6507)
  🚀 Release 0.236.0 (#6602)
  fix: Fix migrations for postgres and mysql (no-changelog) (#6600)
  fix(core): Improve the performance of last 2 sqlite migrations (#6522)
  refactor: Switch cloud plan retrieval endpoint (no-changelog) (#6529)
  fix(Salesforce Node): Fix typo for adding a contact to a campaign (#6598)
  ci: Hide v1 banner in e2e tests to fix 2-credentials.cy.ts (no-changelog)
  fix(editor): Restore expression completions (#6566)
  ...
@janober
Copy link
Member

janober commented Jul 13, 2023

Got released with [email protected]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
n8n team Authored by the n8n team Released ui Enhancement in /editor-ui or /design-system v1 Issues related to the release of n8n version 1.x.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants