Skip to content

P3 conversion#75

Open
itowlson wants to merge 5 commits into
spinframework:mainfrom
itowlson:p3-conversion
Open

P3 conversion#75
itowlson wants to merge 5 commits into
spinframework:mainfrom
itowlson:p3-conversion

Conversation

@itowlson

Copy link
Copy Markdown
Contributor

WIP because I am not sure what to do about the composition samples. They should probably be modified to use the middleware API. But it looks like our SDKs don't surface that yet. There is a WIT directory of mystick things which I think is being manually bindgened somewhere so I guess I could copy the middleware world in there? And then shift things over to use Spin composition instead of manual wac. But I am not really sold on the value of this.

(Also the build commands in those samples use cargo component but I'm guessing those should switch over to wasm32-wasip2 fairly easily - just noting it as something to do once we make a decision on what to do with them. In the meantime I expect this will cause CI to fail!)

itowlson added 4 commits June 19, 2026 15:35
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@itowlson

Copy link
Copy Markdown
Contributor Author

I tested it on a 1GB file and one thing that worries me is that calculating the ETag takes a while, which delays the start of download. But I don't think this is a regression so we can set it aside to ponder or document later.

Signed-off-by: itowlson <ivan.towlson@fermyon.com>
@itowlson

itowlson commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

I purged the composition examples because they all relied on cargo component, wac, and a P2 API. We can restore the Python and Rust ones if folks feel there is value there, but I'd recast them in terms of Spin composition perhaps.

@itowlson
itowlson marked this pull request as ready for review July 3, 2026 02:05
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.

1 participant