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

1.2.0 Feature: Realtime: Channel State #34

Merged
merged 10 commits into from
Sep 9, 2022
Merged

Conversation

QuintinWillison
Copy link
Contributor

One of a family of pull requests addressing #3.

Continues the naming style established in #21 for contexts where state has a synchronous getter as well as an asynchronous event path (e.g. EventEmitter).

… via options for a channel within a Realtime client instance.

I could see no evidence that the Ruby SDK supports this.
…nel state changes from Realtime client instances.
@QuintinWillison QuintinWillison self-assigned this Aug 16, 2022
@github-actions github-actions bot temporarily deployed to staging/pull/34/matrix August 16, 2022 06:59 Inactive
@QuintinWillison QuintinWillison marked this pull request as ready for review August 16, 2022 07:00
@QuintinWillison QuintinWillison marked this pull request as draft August 16, 2022 07:03
@QuintinWillison
Copy link
Contributor Author

Oops, sorry, converting this back to Draft as I've noticed I had forgotten to include errorReason from RealtimeChannel.

@github-actions github-actions bot temporarily deployed to staging/pull/34/matrix August 16, 2022 07:11 Inactive
@QuintinWillison
Copy link
Contributor Author

Hmm, this is ridiculous. Prettier is not failing on my local host. Investigating... 😞

@QuintinWillison
Copy link
Contributor Author

Locally:

features % npx prettier --version && git rev-parse --short HEAD && npm run format:data && git diff
2.7.1
e7d3d00

> @ably/features@1.2.0-alpha.1 format:data
> prettier --write **/{*.json,*.yaml,.*.yaml}

package-lock.json 179ms
package.json 6ms
sdk-manifests/ably-java.yaml 40ms
sdk-manifests/ably-ruby.yaml 12ms
.markdownlint-cli2.yaml 2ms

sdk.yaml Outdated Show resolved Hide resolved
We were only using it for YAML, in fact.
Fighting this tool has taken up too much time. We shall find a replacement.
see: #35
@QuintinWillison QuintinWillison changed the base branch from realtime-channel-modes to remove-prettier August 16, 2022 08:52
@github-actions github-actions bot temporarily deployed to staging/pull/34/matrix August 16, 2022 08:52 Inactive
@QuintinWillison QuintinWillison marked this pull request as ready for review August 16, 2022 08:53
@QuintinWillison QuintinWillison requested a review from a user August 16, 2022 08:54
@github-actions github-actions bot temporarily deployed to staging/pull/34/matrix August 17, 2022 08:06 Inactive
sdk.yaml Show resolved Hide resolved
Base automatically changed from remove-prettier to realtime-channel-modes September 9, 2022 08:34
@QuintinWillison QuintinWillison force-pushed the realtime-channel-modes branch 2 times, most recently from 462b59b to 266d754 Compare September 9, 2022 08:39
Base automatically changed from realtime-channel-modes to main September 9, 2022 08:50
@github-actions github-actions bot temporarily deployed to staging/pull/34/matrix September 9, 2022 08:58 Inactive
@QuintinWillison
Copy link
Contributor Author

Having addressed @lmars' and @paddybyers' comments, I'm going to merge this pull request without waiting for approval. It has been open for a while and there is a stack of pull requests ahead of it. We are likely to have another look at the entire work at the end, to double check that it congeals holistically, so the risk of merge without approval is low.

@QuintinWillison QuintinWillison merged commit a78f82b into main Sep 9, 2022
@QuintinWillison QuintinWillison deleted the realtime-channel-state branch September 9, 2022 10:10
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.

3 participants