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: Prevent e2e failure on commented type review (no-changelog) #6452

Merged
merged 4 commits into from
Jun 16, 2023

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Jun 16, 2023

No description provided.

Copy link
Contributor

@OlegIvaniv OlegIvaniv left a comment

Choose a reason for hiding this comment

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

Testing comment

Copy link
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

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

test

@netroy
Copy link
Member

netroy commented Jun 16, 2023

could we instead have the CI workflow not even start until the PR is approved, instead of starting, and then skipping it.

@codecov
Copy link

codecov bot commented Jun 16, 2023

Codecov Report

Patch coverage: 81.13% and project coverage change: -0.01 ⚠️

Comparison is base (ae56ac9) 28.37% compared to head (fce0d8d) 28.37%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6452      +/-   ##
==========================================
- Coverage   28.37%   28.37%   -0.01%     
==========================================
  Files        2991     2991              
  Lines      185889   185952      +63     
  Branches    20474    20504      +30     
==========================================
+ Hits        52742    52757      +15     
- Misses     132355   132401      +46     
- Partials      792      794       +2     
Impacted Files Coverage Δ
...kages/nodes-base/nodes/ItemLists/ItemLists.node.ts 100.00% <ø> (ø)
.../nodes-base/nodes/ItemLists/V2/ItemListsV2.node.ts 33.84% <81.13%> (+2.73%) ⬆️

... and 29 files with indirect coverage changes

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

@n8n-assistant n8n-assistant bot added the n8n team Authored by the n8n team label Jun 16, 2023
@ivov
Copy link
Contributor Author

ivov commented Jun 16, 2023

could we instead have the CI workflow not even start until the PR is approved, instead of starting, and then skipping it.

I also found it odd why we do this, but seeing the below PRs, this might be needed. Maybe @OlegIvaniv knows better?

@OlegIvaniv
Copy link
Contributor

OlegIvaniv commented Jun 16, 2023

could we instead have the CI workflow not even start until the PR is approved, instead of starting, and then skipping it.

I also found it odd why we do this, but seeing the below PRs, this might be needed. Maybe @OlegIvaniv knows better?

GH actions do not support approved as activity type for pull_request_review, there's only submitted, dismissed and edited

Copy link
Member

@netroy netroy left a comment

Choose a reason for hiding this comment

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

This should be good enough for now. Thanks 🙏🏽

@cypress
Copy link

cypress bot commented Jun 16, 2023

1 flaky tests on run #1220 ↗︎

0 227 0 0 Flakiness 1

Details:

🌳 ci-prevent-e2e-failure-on-commented-type-pr-review 🖥️ browsers:node18.12.0-c...
Project: n8n Commit: fce0d8df1e
Status: Passed Duration: 06:43 💡
Started: Jun 16, 2023 10:08 AM Ended: Jun 16, 2023 10:15 AM
Flakiness  cypress/e2e/24-ndv-paired-item.cy.ts • 1 flaky test

View Output Video

Test Artifacts
NDV > can pair items between input and output across branches and runs Output Screenshots Video

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

@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@netroy netroy merged commit 6a7d1ae into master Jun 16, 2023
@netroy netroy deleted the ci-prevent-e2e-failure-on-commented-type-pr-review branch June 16, 2023 10:17
MiloradFilipovic added a commit that referenced this pull request Jun 20, 2023
* master: (34 commits)
  feat(editor): Replace root events with event bus events (no-changelog) (#6454)
  feat(DebugHelper Node): Fix and include in main app (#6406)
  feat(Webhook Node): Stream binary response in `lastNode.firstEntryBinary` mode (#6463)
  fix(editor): Update git repo URL validation to prevent using https protocol (#6475)
  fix(editor): Remove tooltip about SMTP being required to invite user (no-changelog) (#6474)
  feat: Add support for large files with declarative nodes (#6461)
  fix(core): Fix the url sent in the password-reset emails (#6466)
  fix(HTML Node): Prevent XSS in execution-data preview (#6432)
  fix(Snowflake Node): Upgrade snowflake-sdk to address CVE-2023-34232 (no-changelog) (#6458)
  refactor(core): Replace lodash's "soft-deprecated" individual packages with `lodash` to resolve CVE (no-changelog) (#6450)
  fix(editor): Remove `$if`, `$min` and `$max` from code node autocomplete (#6460)
  fix(editor): Fix DNV header disappearing when scrolling the code editor content (#6459)
  feat: Remove vue-fragment (no-changelog) (#6456)
  ci: Prevent e2e failure on `commented` type review (no-changelog) (#6452)
  fix(LinkedIn Node): Remove unsupported description from image posts (#6446)
  fix(Split In Batches Node): Add "done" context to allow simple reset (#6437)
  feat(Gmail Node): Add reply to email (#6453)
  fix: Remove Vue.component usage and refactor plugins into Vue Plugins (no-changelog) (#6445)
  fix(editor): Show confirm on pull only when http response status is 409 (#6451)
  fix(editor): Update data pinning tooltip to match current behaviour (#6436)
  ...

# Conflicts:
#	packages/nodes-base/nodes/CompareDatasets/GenericFunctions.ts
#	packages/nodes-base/nodes/Merge/v2/GenericFunctions.ts
@janober
Copy link
Member

janober commented Jun 22, 2023

Got released with n8n@0.234.0

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants