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: git branch protection fixes #28667

Merged
merged 16 commits into from
Nov 7, 2023
Merged

Conversation

brayn003
Copy link
Contributor

@brayn003 brayn003 commented Nov 6, 2023

Description

  • Adds license flag for branch protection
  • Disables omni-bar and keyboard shortcuts for protected branches
  • Adds navigation for multiple pages
  • Hides preview on protected views
  • Adds feature flag for Git Connection Success

PR fixes following issue(s)

Fixes #28056

Media

image

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Testing

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration.
Delete anything that is not relevant

  • Manual
  • JUnit
  • Jest
  • Cypress

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:

Dev activity

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • PR is being merged under a feature flag

QA activity:

  • Speedbreak features have been covered
  • Test plan covers all impacted features and areas of interest
  • Test plan has been peer reviewed by project stakeholders and other QA members
  • Manually tested functionality on DP
  • We had an implementation alignment call with stakeholders post QA Round 2
  • Cypress test cases have been added and approved by SDET/manual QA
  • Added Test Plan Approved label after Cypress tests were reviewed
  • Added Test Plan Approved label after JUnit tests were reviewed

@github-actions github-actions bot added Git Pod Anything related to git sync Git Version Control Issues related to version control labels Nov 6, 2023
@brayn003 brayn003 added skip-changelog Adding this label to a PR prevents it from being listed in the changelog skip-testPlan Does not require QA intervention or approval process and removed Git Version Control Issues related to version control Git Pod Anything related to git sync labels Nov 6, 2023
@brayn003 brayn003 self-assigned this Nov 6, 2023
@github-actions github-actions bot added Bug Something isn't working Git Pod Anything related to git sync Git Version Control Issues related to version control and removed skip-changelog Adding this label to a PR prevents it from being listed in the changelog labels Nov 6, 2023
@brayn003 brayn003 marked this pull request as ready for review November 6, 2023 14:38
@brayn003 brayn003 requested review from hetunandu and a team as code owners November 6, 2023 14:38
@brayn003 brayn003 requested review from jsartisan and removed request for a team November 6, 2023 14:38
@brayn003
Copy link
Contributor Author

brayn003 commented Nov 6, 2023

/ok-to-test

Copy link

github-actions bot commented Nov 6, 2023

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6772934419.
Workflow: Appsmith External Integration Test Workflow.
Commit: ``.
PR: 28667.

Copy link

github-actions bot commented Nov 6, 2023

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6772934419.
Commit: ``.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/BugTests/AbortAction_Spec.ts

  2. cypress/e2e/Regression/ClientSide/Widgets/Modal/Modal_spec.ts
  3. cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Numeric_Spec.ts
To know the list of identified flaky tests - Refer here

@brayn003
Copy link
Contributor Author

brayn003 commented Nov 7, 2023

/build-deploy-preview

Copy link

github-actions bot commented Nov 7, 2023

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6780402356.
Workflow: On demand build Docker image and deploy preview.
skip-tests: . env: .
PR: 28667.
recreate: .

Copy link

github-actions bot commented Nov 7, 2023

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6781213048.
Commit: 9ba40d2.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Git/GitSync/SwitchBranches_spec.js

  2. cypress/e2e/Regression/ClientSide/Widgets/JSONForm/JSONForm_RadioGroupField_spec.js
  3. cypress/e2e/Regression/ServerSide/Postgres_DataTypes/Numeric_Spec.ts
To know the list of identified flaky tests - Refer here

@Parthvi12
Copy link
Contributor

/build-deploy-preview skip-tests=true recreate=true

Copy link

github-actions bot commented Nov 7, 2023

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6782159149.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 28667.
recreate: true.

Copy link

github-actions bot commented Nov 7, 2023

Deploy-Preview-URL: https://ce-28667.dp.appsmith.com

@Parthvi12
Copy link
Contributor

Parthvi12 commented Nov 7, 2023

@brayn003 Can you fix following bugs on the DP:

  • On creating new branch, the commit input box is disabled for the first time
Screen.Recording.2023-11-07.at.2.52.19.PM.mov
  • Able to import template in protected branch, in protected mode
Screen.Recording.2023-11-07.at.2.53.58.PM.mov

Copy link

github-actions bot commented Nov 7, 2023

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6781213048.
Commit: 9ba40d2.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Git/GitSync/SwitchBranches_spec.js

To know the list of identified flaky tests - Refer here

@brayn003
Copy link
Contributor Author

brayn003 commented Nov 7, 2023

/build-deploy-preview skip-tests=true recreate=true

Copy link

github-actions bot commented Nov 7, 2023

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6783518013.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 28667.
recreate: true.

Copy link

github-actions bot commented Nov 7, 2023

Deploy-Preview-URL: https://ce-28667.dp.appsmith.com

Copy link
Contributor

@dipyamanbiswas07 dipyamanbiswas07 left a comment

Choose a reason for hiding this comment

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

LGTM

@Parthvi12
Copy link
Contributor

/build-deploy-preview skip-tests=true

Copy link

github-actions bot commented Nov 7, 2023

Deploying Your Preview: https://github.com/appsmithorg/appsmith/actions/runs/6784108427.
Workflow: On demand build Docker image and deploy preview.
skip-tests: true.
env: ``.
PR: 28667.
recreate: .

Copy link

github-actions bot commented Nov 7, 2023

Deploy-Preview-URL: https://ce-28667.dp.appsmith.com

@Parthvi12 Parthvi12 added Test Plan Approved Manual/Cypress tests covers changes made on the PR. Else, add skip-testPlan label if not applicable and removed skip-testPlan Does not require QA intervention or approval process labels Nov 7, 2023
@brayn003
Copy link
Contributor Author

brayn003 commented Nov 7, 2023

/ok-to-test sha=d6e49aa

Copy link

github-actions bot commented Nov 7, 2023

Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/6784417883.
Workflow: Appsmith External Integration Test Workflow.
Commit: d6e49aa.
PR: 28667.

Copy link

github-actions bot commented Nov 7, 2023

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6784417883.
Commit: d6e49aa.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Git/ExistingApps/v1.9.24/DSCrudAndBindings_Spec.ts

  2. cypress/e2e/Regression/ClientSide/Git/GitSync/SwitchBranches_spec.js
  3. cypress/e2e/Regression/ClientSide/Widgets/Checkbox/CheckBoxGroupTest.ts
To know the list of identified flaky tests - Refer here

Copy link

github-actions bot commented Nov 7, 2023

Workflow run: https://github.com/appsmithorg/appsmith/actions/runs/6784417883.
Commit: d6e49aa.
Cypress dashboard: Click here!
The following are new failures, please fix them before merging the PR:

  1. cypress/e2e/Regression/ClientSide/Git/GitSync/SwitchBranches_spec.js

To know the list of identified flaky tests - Refer here

Copy link
Contributor

@dipyamanbiswas07 dipyamanbiswas07 left a comment

Choose a reason for hiding this comment

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

LGTM

@trishaanand trishaanand merged commit b061ce1 into release Nov 7, 2023
14 of 15 checks passed
@trishaanand trishaanand deleted the fix/git-branch-protection-fixes branch November 7, 2023 14:55
brayn003 added a commit that referenced this pull request Nov 7, 2023
## Description
- Adds license flag for branch protection
- Disables omni-bar and keyboard shortcuts for protected branches
- Adds navigation for multiple pages
- Hides preview on protected views
- Adds feature flag for Git Connection Success

#### PR fixes following issue(s)
Fixes #28056 

#### Media
<img width="1728" alt="image"
src="https://github.com/appsmithorg/appsmith/assets/8724051/ddbad4d8-9852-439f-b46d-fd5d58dd883b">

#### Type of change
- Bug fix (non-breaking change which fixes an issue)

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [x] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
nayan-rafiq pushed a commit that referenced this pull request Nov 14, 2023
## Description
- Adds license flag for branch protection
- Disables omni-bar and keyboard shortcuts for protected branches
- Adds navigation for multiple pages
- Hides preview on protected views
- Adds feature flag for Git Connection Success

#### PR fixes following issue(s)
Fixes #28056 

#### Media
<img width="1728" alt="image"
src="https://github.com/appsmithorg/appsmith/assets/8724051/ddbad4d8-9852-439f-b46d-fd5d58dd883b">

#### Type of change
- Bug fix (non-breaking change which fixes an issue)

## Testing
>
#### How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Also
list any relevant details for your test configuration.
> Delete anything that is not relevant
- [x] Manual
- [ ] JUnit
- [ ] Jest
- [x] Cypress
>
>
#### Test Plan
> Add Testsmith test cases links that relate to this PR
>
>
#### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)
>
>
>
## Checklist:
#### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


#### QA activity:
- [ ] [Speedbreak
features](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#speedbreakers-)
have been covered
- [ ] Test plan covers all impacted features and [areas of
interest](https://github.com/appsmithorg/TestSmith/wiki/Guidelines-for-test-plans#areas-of-interest-)
- [ ] Test plan has been peer reviewed by project stakeholders and other
QA members
- [ ] Manually tested functionality on DP
- [ ] We had an implementation alignment call with stakeholders post QA
Round 2
- [ ] Cypress test cases have been added and approved by SDET/manual QA
- [ ] Added `Test Plan Approved` label after Cypress tests were reviewed
- [ ] Added `Test Plan Approved` label after JUnit tests were reviewed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Git Pod Anything related to git sync Git Version Control Issues related to version control Test Plan Approved Manual/Cypress tests covers changes made on the PR. Else, add skip-testPlan label if not applicable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Task] Frontend changes for branch protection
4 participants