-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: implement admin/upload/inspect
and admin/store/inspect
capabilities
#918
Conversation
implementations of new capabilities proposed in storacha/specs#77
This will enable us to implement the invocation handlers for `root/get` and `shard/get`
including adding `/*` top level capabilities for both `root` and `shard`
This required a few more tweaks to the capabilities package types. I've added test suites for both new namespaces and added a new `getCID` method to each of the `{Upload|Store}Table` interfaces, and updated the in-memory implementations of each.
this is strange because they don't seem to be necessary (and they aren't in Visual Studio!) but a cheeky typecast fixes them for now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@travis I'm approving this as implementation of the spec looks good. That said I do think we need to iterate on the spec (sorry for not reviewing it sooner) to avoid taking up generic namespaces for system introspection capabilities.
Feel free to land as is and we can iterate on naming in followups, or we can align on naming and update this pr before landing.
root/get
and shard/get
capabilitiesadmin/upload/inspect
and admin/store/inspect
capabilities
No worries at all @Gozala! I've updated this for the latest version of the spec - I'll hold off on merging until I've spiked this out full-stack, so feel free to re-review or not - the latest updates are basically just name changes and restructuring the match, but couldn't hurt to have more eyes. |
admin/upload/inspect
and admin/store/inspect
capabilitiesadmin/upload/inspect
and admin/store/inspect
capabilities
it doesn't seem like we support Date types in Ucanto service return values?
🤖 I have created a release *beep* *boop* --- ## [9.3.0](capabilities-v9.2.1...capabilities-v9.3.0) (2023-09-13) ### Features * implement `admin/upload/inspect` and `admin/store/inspect` capabilities ([#918](#918)) ([5616a12](5616a12)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
🤖 I have created a release *beep* *boop* --- ## [5.4.0](upload-api-v5.3.1...upload-api-v5.4.0) (2023-09-13) ### Features * implement `admin/upload/inspect` and `admin/store/inspect` capabilities ([#918](#918)) ([5616a12](5616a12)) --- 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: Travis Vachon <travis.vachon@protocol.ai>
this enables the new capability invocation handlers in storacha/w3up#918
this enables the new capability invocation handlers in storacha/w3up#918
admin/upload/inspect
andadmin/store/inspect
capabilities specs#77getCID
method to each of the{Upload|Store}Table
interfaces, and updated the in-memory implementations of each.admin/upload/inspect
andadmin/store/inspect
invocation handlers