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

Prepare to release daphne_worker 0.1.1 #108

Merged
merged 2 commits into from
Aug 31, 2022

Conversation

cjpatton
Copy link
Contributor

Closes #107.

The main change is upgrading to worker version 0.0.11, which is necessary in order to publish a new version of the daphne_worker crate. The new version of worker includes a bugfix for DO alarams, which allows us to also close #107.

In order to get daphne_worker to compile to WASM, we need to ensure we depend on a single version of the worker crate. But since daphne_worker uses daphne version 0.1.0, which still has the worker dependency, we end up building two version of the worker. To resolve this, a new version of daphne was cut with the worker dependency removed. This has already been published: https://crates.io/crates/daphne/0.1.1/dependencies

Next steps after merging this change:

  • publish daphne_worker version 0.1.1 (try cargo publish --dry-run to make sure this will work)
  • Yank daphne version 0.1.0 and daphne_worker version 0.1.0 from crates.io so that no one tries to use them.

In order to upgrade `daphne_worker` to `worker` version 0.0.11, we need
a published version of `daphne` without the `worker` dependency.
@cjpatton cjpatton force-pushed the cjpatton/ops/15/daphne-worker-0.1.1-publish branch from 0fc80db to 2b596d9 Compare August 31, 2022 22:18
This version includes various features we need, including a bugfix for
DO alarm. Accordingly, fix the computation of the duration passed to
`set_alarm()` in `HelperStateStore`.
@cjpatton cjpatton force-pushed the cjpatton/ops/15/daphne-worker-0.1.1-publish branch from 2b596d9 to 059469f Compare August 31, 2022 22:19
@cjpatton cjpatton merged commit f094caf into main Aug 31, 2022
@cjpatton cjpatton deleted the cjpatton/ops/15/daphne-worker-0.1.1-publish branch August 31, 2022 23:04
@cjpatton
Copy link
Contributor Author

New crate published: https://crates.io/crates/daphne_worker/0.1.1
Old versions of daphne and daphne_worker yanked.

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.

Compute DO alarm offset properly
2 participants