Skip to content

[ECO-4687]Feature/resume recover - #402

Closed
sacOO7 wants to merge 36 commits into
feature/no-connection-serialfrom
feature/resume-recover
Closed

[ECO-4687]Feature/resume recover#402
sacOO7 wants to merge 36 commits into
feature/no-connection-serialfrom
feature/resume-recover

Conversation

@sacOO7

@sacOO7sacOO7 commented May 3, 2024

Copy link
Copy Markdown
Contributor

@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 3, 2024 12:16 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 3, 2024 12:17 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 7, 2024 11:35 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 7, 2024 11:36 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 7, 2024 12:15 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 7, 2024 12:15 Inactive
@sacOO7
sacOO7force-pushed the feature/resume-recover branch from 297b3fa to 631b1f8CompareMay 7, 2024 12:18
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 7, 2024 12:18 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 7, 2024 12:19 Inactive
@sacOO7sacOO7 changed the title Feature/resume recover[WIP][ECO-ECO-4687]Feature/resume recoverMay 9, 2024
@sacOO7sacOO7 changed the title [WIP][ECO-ECO-4687]Feature/resume recover[WIP][ECO-4687]Feature/resume recoverMay 9, 2024
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 10, 2024 10:47 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 10, 2024 10:47 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 10, 2024 11:59 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 10, 2024 12:00 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 10, 2024 12:23 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 10, 2024 12:23 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 13, 2024 17:59 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 13, 2024 18:00 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 15, 2024 11:23 Inactive
@lawrence-forooghian

Copy link
Copy Markdown
Contributor

And, as stated in the linked commit guidance, "the history is the deliverable, not the code".

@lawrence-forooghianlawrence-forooghian left a comment

Copy link
Copy Markdown
Contributor

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?

# 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
Copy Markdown
Contributor

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
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

updated at #409

Comment threadlib/ably/realtime/connection.rb Outdated
# 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
Copy Markdown
Contributor

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
Copy Markdown
ContributorAuthor

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 mainMay 30, 2024 08:27
@sacOO7
sacOO7 changed the base branch from main to feature/no-connection-serialMay 30, 2024 08:51
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 31, 2024 06:58 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 31, 2024 06:58 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features May 31, 2024 13:19 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs May 31, 2024 13:20 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features June 1, 2024 12:02 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs June 1, 2024 12:02 Inactive
@sacOO7
sacOO7 changed the base branch from feature/no-connection-serial to mainJune 1, 2024 12:05
@sacOO7
sacOO7 changed the base branch from main to feature/no-connection-serialJune 1, 2024 12:05
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features June 1, 2024 13:28 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs June 1, 2024 13:29 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features June 3, 2024 18:51 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs June 3, 2024 18:52 Inactive
@sacOO7
sacOO7force-pushed the feature/resume-recover branch from 2588b9f to 9b25716CompareJune 3, 2024 18:53
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/features June 3, 2024 18:54 Inactive
@github-actions
github-actionsBottemporarily deployed to staging/pull/402/docs June 3, 2024 18:54 Inactive
@sacOO7

Copy link
Copy Markdown
ContributorAuthor

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

@sacOO7@lawrence-forooghian