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

refactor: add cause as a param to deregister #136

Merged
merged 1 commit into from
Jan 29, 2025

Conversation

BravoNatalie
Copy link

@BravoNatalie BravoNatalie commented Jan 29, 2025

The new blob/remove flow introduced in storacha/w3infra#458 removes the ucan-stream (storacha/project-tracking#304) and updates the space-diff table directly from the blob-registry.

To properly create a space-diff entry in deregister, the invocation CID is required. However, unlike register, it is not currently passed as a parameter. This update ensures the necessary data is available for consistent and accurate tracking of space usage.

@BravoNatalie BravoNatalie self-assigned this Jan 29, 2025
Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

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

LGTM

@BravoNatalie BravoNatalie merged commit 632348d into main Jan 29, 2025
4 checks passed
@BravoNatalie BravoNatalie deleted the refactor/deregister-add-cause-param branch January 29, 2025 18:19
fforbeck pushed a commit that referenced this pull request Feb 5, 2025
Reverts storacha/console#134 (which reverted
storacha/console#132)

Last night, this was still failing locally. This morning it's working
again. I've done nothing but investigate.

I now think the Blob protocol was a red herring. I think something else
caused us to send a receipt that the client chokes on, and that that'll
happen regardless of this change. If it comes back, we should
investigate further, but I don't think this is what did it.
fforbeck pushed a commit that referenced this pull request Feb 5, 2025
🤖 I have created a release *beep* *boop*
---


##
[1.14.0](storacha/console@w3console-v1.13.1...w3console-v1.14.0)
(2024-10-21)


### Features

* Actually put error in console, as promised
([#131](storacha/console#131))
([c194463](storacha/console@c194463))


### Bug Fixes

* Revert "fix: Revert "feat: Use Blob protocol"" (😩)
([#136](storacha/console#136))
([c75f3db](storacha/console@c75f3db))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

2 participants