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: Debug e2e pipeline (no-changelog) #6240

Merged
merged 3 commits into from
May 12, 2023
Merged

ci: Debug e2e pipeline (no-changelog) #6240

merged 3 commits into from
May 12, 2023

Conversation

OlegIvaniv
Copy link
Contributor

@OlegIvaniv OlegIvaniv commented May 12, 2023

We have observed instances where the post-e2e-tests workflow was passing even when the run-e2e-tests job did not execute. This anomaly allowed PRs to be merged without a successful e2e pipeline, which is not the intended behavior. The problem was due to the if: always() condition in the post-e2e-tests job, which executed it following any pull_request_review event (for example, when changes were requested).

To rectify this issue, we have implemented an additional condition, github.event.review.state != 'approved' to the fail job. This condition ensures that the required checks will consistently fail if the PR is not approved, thus preventing untested merges.

@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.

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

@OlegIvaniv OlegIvaniv changed the title chore: Debug e2e pipeline ci: Debug e2e pipeline May 12, 2023
Copy link
Contributor

@mutdmour mutdmour left a comment

Choose a reason for hiding this comment

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

what is this

@n8n-assistant n8n-assistant bot added n8n team Authored by the n8n team ui Enhancement in /editor-ui or /design-system labels May 12, 2023
Copy link
Contributor

@mutdmour mutdmour left a comment

Choose a reason for hiding this comment

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

I disapprove

@OlegIvaniv OlegIvaniv requested a review from mutdmour May 12, 2023 12:02
@codecov
Copy link

codecov bot commented May 12, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (13bcec1) 27.62% compared to head (1e004ba) 27.62%.

❗ Current head 1e004ba differs from pull request most recent head 8e9486d. Consider uploading reports for the commit 8e9486d to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6240   +/-   ##
=======================================
  Coverage   27.62%   27.62%           
=======================================
  Files        2937     2937           
  Lines      180136   180136           
  Branches    19549    19549           
=======================================
  Hits        49764    49764           
  Misses     129641   129641           
  Partials      731      731           

☔ 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

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

@OlegIvaniv OlegIvaniv changed the title ci: Debug e2e pipeline ci: Debug e2e pipeline (no-changelog) May 12, 2023
@github-actions
Copy link
Contributor

✅ All Cypress E2E specs passed

@OlegIvaniv OlegIvaniv merged commit 1626782 into master May 12, 2023
@OlegIvaniv OlegIvaniv deleted the e2e_pipeline_pr branch May 12, 2023 15:00
MiloradFilipovic added a commit that referenced this pull request May 16, 2023
* master: (22 commits)
  fix: Remove workflow execution credential error message when instance owner (#6116)
  refactor(editor): Drop vue-typed-mixins (no-changelog) (#6257)
  feat(core): Return OAuth2 error body if available (#5794)
  fix: Add itemSize config to workflows view recycle scroller (no-changelog) (#6238)
  fix(editor): Fix close and cancel operations on useMessage (no-changelog) (#6260)
  feat(editor): Add cloud ExecutionsUsage and API blocking using licenses (#6159)
  refactor(editor): Turn showMessage mixin to composable (#6081) (#6244)
  feat(core): Add experimental proxy support to License-SDK (no-changelog) (#6253)
  feat(core): Reduce the number of events sent to Sentry (#6235)
  feat(editor): Drop support for legacy browsers that do not have native ESM support (#6239)
  refactor(editor): Add missing interface IUserListAction (no-changelog) (#6241)
  ci: Debug e2e pipeline (no-changelog) (#6240)
  Revert "refactor(editor): Turn showMessage mixin to composable" (#6243)
  feat(editor): Updating node reference pattern in expression editor (#6228)
  refactor(editor): Remove unused dependencies (no-changelog) (#6223)
  refactor(editor): Turn showMessage mixin to composable (#6081)
  feat(editor): Version Control settings update (WIP) (#6233)
  ci: Fix linting issue on master (no-changelog) (#6232)
  fix: Prevent type error messages for manual executions (no-changelog) (#6229)
  fix(Code Node): Restore help text (#6231)
  ...
@janober
Copy link
Member

janober commented May 25, 2023

Got released with n8n@0.230.1

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

Successfully merging this pull request may close these issues.

4 participants