Make reuse trigger cli args public#3402
Conversation
Signed-off-by: Brian Hardock <brian.hardock@fermyon.com>
kate-goldenring
left a comment
There was a problem hiding this comment.
@fibonacci1729 thank you. I am concerned we could run into this again if another field is added to CliArgs. One way to avoid this is by creating a public constructor -- it feels a little strange for other executors to be consuming a CliArgs struct, but this may just be a naming nit.
@fibonacci1729 what were your thoughts on this point. Its a non-blocking comment but potentially an enhancement |
|
Sorry @kate-goldenring I closed this tab earlier before hitting comment. 🤦 I agree that a constructor would prevent this in a future addition to the struct. Technically it's a breaking change to add any non-pub fields to |
- Bumps the dependencies to use a git reference just past Spin 3.6 to contain these two patches to Spin that enable continued consumption of the Spin crates by the shim: spinframework/spin#3402 and spinframework/spin#3403 - Updates the shim to support packages pushed with wkg, a change introduced in Spin here spinframework/spin#3361 - Adds a wkg integration test - Adds extensive unit tests for the Source struct (with the help of Claude). These tests point out some gaps in the implementation to better handle edge cases (most are edge cases are ignored) Signed-off-by: Kate Goldenring <kate.goldenring@gmail.com>
- Bumps the dependencies to use a git reference just past Spin 3.6 to contain these two patches to Spin that enable continued consumption of the Spin crates by the shim: spinframework/spin#3402 and spinframework/spin#3403 - Updates the shim to support packages pushed with wkg, a change introduced in Spin here spinframework/spin#3361 - Adds a wkg integration test - Adds extensive unit tests for the Source struct (with the help of Claude). These tests point out some gaps in the implementation to better handle edge cases (most are edge cases are ignored) Signed-off-by: Kate Goldenring <kate.goldenring@gmail.com>
- Bumps the dependencies to use a git reference just past Spin 3.6 to contain these two patches to Spin that enable continued consumption of the Spin crates by the shim: spinframework/spin#3402 and spinframework/spin#3403 - Updates the shim to support packages pushed with wkg, a change introduced in Spin here spinframework/spin#3361 - Adds a wkg integration test - Adds extensive unit tests for the Source struct (with the help of Claude). These tests point out some gaps in the implementation to better handle edge cases (most are edge cases are ignored) Signed-off-by: Kate Goldenring <kate.goldenring@gmail.com>
- Bumps the dependencies to use a git reference just past Spin 3.6 to contain these two patches to Spin that enable continued consumption of the Spin crates by the shim: spinframework/spin#3402 and spinframework/spin#3403 - Updates the shim to support packages pushed with wkg, a change introduced in Spin here spinframework/spin#3361 - Adds a wkg integration test - Adds extensive unit tests for the Source struct (with the help of Claude). These tests point out some gaps in the implementation to better handle edge cases (most are edge cases are ignored) Signed-off-by: Kate Goldenring <kate.goldenring@gmail.com>
- Bumps the dependencies to use a git reference just past Spin 3.6 to contain these two patches to Spin that enable continued consumption of the Spin crates by the shim: spinframework/spin#3402 and spinframework/spin#3403 - Updates the shim to support packages pushed with wkg, a change introduced in Spin here spinframework/spin#3361 - Adds a wkg integration test - Adds extensive unit tests for the Source struct (with the help of Claude). These tests point out some gaps in the implementation to better handle edge cases (most are edge cases are ignored) Signed-off-by: Kate Goldenring <kate.goldenring@gmail.com>
Downstream crates that might want to expose instance reuse arguments to operators currently can't because these fields are private. This PR makes the fields of
CliArgspublic as well as theRangetype.