add support for pushing sandboxes#72
add support for pushing sandboxes#72Nathan Selvidge (nselvidge) wants to merge 3 commits intomainfrom
Conversation
|
Latest downloadable build artifacts for this PR commit
Available artifact names
|
a6b375c to
5f7d51f
Compare
1ff2094 to
309441c
Compare
309441c to
8de1749
Compare
Parker Henderson (parkerhendo)
left a comment
There was a problem hiding this comment.
Not blocking I don't think but one small note related to eval parameters
scripts/functions-runner.ts
Outdated
| const serialized = toJsonValue(rawParams as JsonValue); | ||
| if (serialized !== undefined) { | ||
| evaluatorDefinition.parameters = serialized; | ||
| } | ||
| } |
There was a problem hiding this comment.
Can we reuse the existing evaluator-parameter serialization flow from eval-runner.ts here, instead of the direct toJsonValue(rawParams) path? I think using the shared serializer covers some cases with Zod->JSON Schema conversion that help avoid malformed evaluator_definition.parameters for parameterized evals.
There was a problem hiding this comment.
I tried extracting this into a new file, but the eval-runner doesn't play nice with local exports since it needs to run with multiple runner types in a way the functions-runner doesn't. I'm going to just copy the logic over from eval-runner. I'm a bit hesitant to move to a complex local file structure for these runners since they need to work in so many situations, but let me know if you think that's the wrong approach
There was a problem hiding this comment.
I'm a bit hesitant to move to a complex local file structure for these runners since they need to work in so many situations, but let me know if you think that's the wrong approach
Nope, totally agree with this.
3be1c58 to
52e6f9c
Compare
92bb115 to
ba3ddf0
Compare
Adds the ability to push sandboxes using the
bt function pushcommand. pushes lambda sandboxes for each language.