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

[ECO-4687]Feature/resume recover #402

Closed
wants to merge 36 commits into from

Conversation

sacOO7
Copy link
Contributor

@sacOO7 sacOO7 commented May 3, 2024

@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 3, 2024 12:16 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 3, 2024 12:17 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 7, 2024 11:35 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 7, 2024 11:36 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 7, 2024 12:15 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 7, 2024 12:15 Inactive
@sacOO7 sacOO7 force-pushed the feature/resume-recover branch from 297b3fa to 631b1f8 Compare May 7, 2024 12:18
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 7, 2024 12:18 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 7, 2024 12:19 Inactive
@sacOO7 sacOO7 changed the title Feature/resume recover [WIP][ECO-ECO-4687]Feature/resume recover May 9, 2024
@sacOO7 sacOO7 changed the title [WIP][ECO-ECO-4687]Feature/resume recover [WIP][ECO-4687]Feature/resume recover May 9, 2024
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 10, 2024 10:47 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 10, 2024 10:47 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 10, 2024 11:59 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 10, 2024 12:00 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 10, 2024 12:23 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 10, 2024 12:23 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 13, 2024 17:59 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 13, 2024 18:00 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 15, 2024 11:23 Inactive
Copy link
Collaborator

@lawrence-forooghian lawrence-forooghian left a comment

Choose a reason for hiding this comment

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

I had a cursory look at this PR. A few comments:

  • if you're going to split the work across multiple PRs, then I think you're going to have to be the one responsible for making sure that all of the required spec points end up being implemented, because I don't know what the scope of this PR is meant to be
  • there seems to be new code added, does this new code not need tests?

@@ -62,7 +62,7 @@ class Client

# When a recover option is specified a connection inherits the state of a previous connection that may have existed under a different instance of the Realtime library, please refer to the API documentation for further information on connection state recovery
# @return [String,Nil]
attr_reader :recover
attr_accessor :recover
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why was this changed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated at #409

# of pairs of channel @name@ and current @channelSerial@ for every currently attached channel
def create_recovery_key
if key.nil? || key.empty? || state == :closing || state == :closed || state == :failed || state == :suspended
return "" #RTN16h
Copy link
Collaborator

Choose a reason for hiding this comment

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

this spec point doesn't exist?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated at #409

Base automatically changed from fix/tests to main May 30, 2024 08:27
@sacOO7 sacOO7 changed the base branch from main to feature/no-connection-serial May 30, 2024 08:51
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 31, 2024 06:58 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 31, 2024 06:58 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/features May 31, 2024 13:19 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs May 31, 2024 13:20 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/features June 1, 2024 12:02 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs June 1, 2024 12:02 Inactive
@sacOO7 sacOO7 changed the base branch from feature/no-connection-serial to main June 1, 2024 12:05
@sacOO7 sacOO7 changed the base branch from main to feature/no-connection-serial June 1, 2024 12:05
@github-actions github-actions bot temporarily deployed to staging/pull/402/features June 1, 2024 13:28 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs June 1, 2024 13:29 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/features June 3, 2024 18:51 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs June 3, 2024 18:52 Inactive
@sacOO7 sacOO7 force-pushed the feature/resume-recover branch from 2588b9f to 9b25716 Compare June 3, 2024 18:53
@github-actions github-actions bot temporarily deployed to staging/pull/402/features June 3, 2024 18:54 Inactive
@github-actions github-actions bot temporarily deployed to staging/pull/402/docs June 3, 2024 18:54 Inactive
@sacOO7
Copy link
Contributor Author

sacOO7 commented Jun 6, 2024

@lawrence-forooghian I have created a separate PR with proper commit history -> #409
I have tried to keep changes atomic and code easy to understand. I will also add PR summary, so it will be easy to review the code. That said, I will close this PR and discussion can be continued on #409

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants