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 couchdbsearchfolder and allow clocky reports #6770

Merged
merged 10 commits into from Jul 13, 2023

Conversation

shefalijoshi
Copy link
Contributor

@shefalijoshi shefalijoshi commented Jun 30, 2023

Closes VIPEROMCT-62 and #6794

Describe your changes:

Adds unique identifiers for couchdbsearchfolder since multiple instances of the folders was overwriting the original with a hardcoded name

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?
  • Is this change backwards compatible? For example, developers won't need to change how they are calling the API or how they've extended core plugins such as Tables or Plots.

Author Checklist

  • Changes address original issue?
  • Tests included and/or updated with changes?
  • Command line build passes?
  • Has this been smoke tested?
  • Testing instructions included in associated issue OR is this a dependency/testcase change?

Reviewer Checklist

  • Changes appear to address issue?
  • Reviewer has tested changes by following the provided instructions?
  • Changes appear not to be breaking changes?
  • Appropriate automated tests included?
  • Code style and in-line documentation are appropriate?
  • Has associated issue been labelled unverified? (only applicable if this PR closes the issue)
  • Has associated issue been labelled bug? (only applicable if this PR is for a bug fix)

@deploysentinel
Copy link

deploysentinel bot commented Jun 30, 2023

Current Playwright Test Results Summary

✅ 13 Passing - ⚠️ 1 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 07/13/2023 07:50:35pm UTC)

Run Details

Running Workflow e2e-couchdb on Github Actions

Commit: 22ea533

Started: 07/13/2023 07:45:39pm UTC

⚠️ Flakes

📄   functional/plugins/displayLayout/displayLayout.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Display Layout When multiple plots are contained in a layout, we only ask for annotations once @couchdb
Retry 1Initial Attempt
2.86% (1) 1 / 35 run
failed over last 7 days
14.29% (5) 5 / 35 runs
flaked over last 7 days

View Detailed Build Results


Current Playwright Test Results Summary

✅ 123 Passing - ⚠️ 2 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 07/13/2023 07:50:35pm UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: 22ea533

Started: 07/13/2023 07:45:02pm UTC

⚠️ Flakes

📄   functional/plugins/plot/tagging.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Plot Tagging Tags work with Plot View of telemetry items
Retry 1Initial Attempt
0% (0) 0 / 72 runs
failed over last 7 days
25% (18) 18 / 72 runs
flaked over last 7 days

📄   functional/plugins/imagery/exampleImagery.e2e.spec.js • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Example Imagery Object Can use Mouse Wheel to zoom in and out of latest image
Retry 1Initial Attempt
1.69% (2) 2 / 118 runs
failed over last 7 days
77.12% (91) 91 / 118 runs
flaked over last 7 days

View Detailed Build Results


@codecov
Copy link

codecov bot commented Jun 30, 2023

Codecov Report

Merging #6770 (682a452) into master (ac22beb) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #6770      +/-   ##
==========================================
+ Coverage   53.73%   53.78%   +0.05%     
==========================================
  Files         624      624              
  Lines       24898    24901       +3     
  Branches     2498     2498              
==========================================
+ Hits        13378    13394      +16     
+ Misses      10848    10836      -12     
+ Partials      672      671       -1     
Flag Coverage Δ *Carryforward flag
e2e-full 42.16% <ø> (+<0.01%) ⬆️ Carriedforward from ac22beb
e2e-stable 55.43% <0.00%> (+0.27%) ⬆️
unit 48.52% <100.00%> (+0.05%) ⬆️

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
src/plugins/viewLargeAction/viewLargeAction.js 88.88% <ø> (ø)
src/plugins/CouchDBSearchFolder/plugin.js 92.85% <100.00%> (+1.94%) ⬆️

... and 5 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ac22beb...682a452. Read the comment docs.

@unlikelyzero unlikelyzero self-requested a review July 3, 2023 15:33
@unlikelyzero unlikelyzero added the type:feature Feature. Required intentional design label Jul 3, 2023
Copy link
Collaborator

@unlikelyzero unlikelyzero left a comment

Choose a reason for hiding this comment

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

Let's deploy this to dev on Wednesday

@unlikelyzero unlikelyzero added the pr:e2e:couchdb npm run test:e2e:couchdb label Jul 7, 2023
@@ -54,7 +54,7 @@ export default class ViewLargeAction {

return (
childElement &&
!childElement.classList.contains('js-main-container') &&
!childElement?.classList.contains('js-main-container') &&
Copy link
Collaborator

Choose a reason for hiding this comment

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

is there an issue for this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No there isn't an issue. I'm unsure why this issue happened or how to reproduce it too.

@unlikelyzero
Copy link
Collaborator

unlikelyzero commented Jul 7, 2023

To test:

  • Verify countdown and timelist continues to work when referencing a plan on our dev environment
  • Verify couchdb e2e tests pass
  • Update unit tests

@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jul 7, 2023
@akhenry
Copy link
Contributor

akhenry commented Jul 10, 2023

@unlikelyzero to regression test plans

@unlikelyzero unlikelyzero added the pr:e2e:couchdb npm run test:e2e:couchdb label Jul 11, 2023
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jul 11, 2023
@unlikelyzero
Copy link
Collaborator

unlikelyzero commented Jul 11, 2023

@shefalijoshi I see the following error on dev after deploying the latest and attempting to access an existing plan

Screenshot 2023-07-11 at 2 57 49 PM

@shefalijoshi
Copy link
Contributor Author

@shefalijoshi I see the following error on dev after deploying the latest and attempting to access an existing plan
Screenshot 2023-07-11 at 2 57 49 PM

OK this should be fixed now. Good find!

@unlikelyzero unlikelyzero added this to the Target:2.2.6 milestone Jul 12, 2023
Copy link
Collaborator

@unlikelyzero unlikelyzero left a comment

Choose a reason for hiding this comment

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

Can you file an issue to test for the viewLargeAction.js change for testathon?

Copy link
Contributor

@jvigliotta jvigliotta left a comment

Choose a reason for hiding this comment

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

Just have a question!

return function install(openmct) {
const couchProvider = couchPlugin.couchProvider;
//replace any non-letter/non-number with a hyphen
const couchSearchId = (folderName || DEFAULT_NAME).replace(/[^a-zA-Z0-9]/g, '-');
Copy link
Contributor

Choose a reason for hiding this comment

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

Would there ever be a situation where folderName isn't passed in? seems unlikely if couchPlugin and searchFilter are expected?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct. But this was in case someone put in empty string or something.

@shefalijoshi
Copy link
Contributor Author

Can you file an issue to test for the viewLargeAction.js change for testathon?

#6794

@jvigliotta jvigliotta enabled auto-merge (squash) July 12, 2023 19:04
Copy link
Contributor

@jvigliotta jvigliotta left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@jvigliotta jvigliotta added the pr:e2e:couchdb npm run test:e2e:couchdb label Jul 12, 2023
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jul 12, 2023
@unlikelyzero unlikelyzero added the pr:e2e:couchdb npm run test:e2e:couchdb label Jul 13, 2023
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Jul 13, 2023
@jvigliotta jvigliotta merged commit 795d7a7 into master Jul 13, 2023
11 of 13 checks passed
@jvigliotta jvigliotta deleted the fix-couchdbsearchfolder-and-allow-clocky-reports branch July 13, 2023 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature Feature. Required intentional design
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants