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

cherry-pick(#6919): Fix remote clock subscription #6934

Merged
merged 2 commits into from
Aug 16, 2023

Conversation

ozyx
Copy link
Contributor

@ozyx ozyx commented Aug 14, 2023

  • If there are no listeners for this clock then don't bother subscribing after getting the domain object details

  • Comment explaining the fix

VIPEROMCT-394

* If there are no listeners for this clock then don't bother subscribing after getting the domain object details

* Comment explaining the fix
@ozyx ozyx added this to the Target:3.0.1 milestone Aug 14, 2023
@ozyx ozyx requested a review from shefalijoshi August 14, 2023 21:55
@deploysentinel
Copy link

deploysentinel bot commented Aug 14, 2023

Current Playwright Test Results Summary

✅ 14 Passing

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

(Last updated on 08/16/2023 10:41:15pm UTC)

Run Details

Running Workflow e2e-couchdb on Github Actions

Commit: c89f0db

Started: 08/16/2023 10:37:26pm UTC

View Detailed Build Results


Current Playwright Test Results Summary

✅ 135 Passing

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

(Last updated on 08/16/2023 10:41:15pm UTC)

Run Details

Running Job e2e-stable on CircleCI

Commit: c89f0db

Started: 08/16/2023 10:35:30pm UTC

View Detailed Build Results


// The start method is called when at least one listener registers with the clock.
// When the clock is changed, listeners are unregistered from the clock and the stop method is called.
// Sometimes, the objects.get call above does not resolve before the stop method is called.
// So when we proceed with the clock subscription below, we first need to ensure that there is at least one listener for our clock.
Copy link
Collaborator

Choose a reason for hiding this comment

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

<3

@unlikelyzero unlikelyzero enabled auto-merge (squash) August 16, 2023 18:22
@unlikelyzero unlikelyzero self-requested a review August 16, 2023 18:22
@unlikelyzero unlikelyzero added the pr:e2e:couchdb npm run test:e2e:couchdb label Aug 16, 2023
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Aug 16, 2023
@codecov
Copy link

codecov bot commented Aug 16, 2023

Codecov Report

❗ No coverage uploaded for pull request base (release/3.0.1@5619994). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head bdd85f1 differs from pull request most recent head c89f0db. Consider uploading reports for the commit c89f0db to get more accurate results

@@               Coverage Diff                @@
##             release/3.0.1    #6934   +/-   ##
================================================
  Coverage                 ?   42.00%           
================================================
  Files                    ?      409           
  Lines                    ?    12664           
  Branches                 ?        0           
================================================
  Hits                     ?     5320           
  Misses                   ?     7344           
  Partials                 ?        0           
Flag Coverage Δ *Carryforward flag
e2e-full 42.00% <0.00%> (?) Carriedforward from 15f9954

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


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 5619994...c89f0db. Read the comment docs.

@unlikelyzero unlikelyzero added the pr:e2e:couchdb npm run test:e2e:couchdb label Aug 16, 2023
@github-actions github-actions bot removed the pr:e2e:couchdb npm run test:e2e:couchdb label Aug 16, 2023
@unlikelyzero unlikelyzero merged commit f5433c0 into release/3.0.1 Aug 16, 2023
6 of 7 checks passed
@unlikelyzero unlikelyzero deleted the cherry-pick-6919 branch August 16, 2023 22:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants