jlewi / foyle

Foyle is a copilot to help developers deploy and operate their applications.
https://foyle.io
Apache License 2.0
111 stars 10 forks source link

Log Cell Execution Status #310

Open jlewi opened 1 month ago

jlewi commented 1 month ago

We currently don't log cell execution status. This is useful signal for learning.

The vscode extension has a boolean measuring success https://github.com/stateful/vscode-runme/blob/90fcc5b60322b4fe34be714ac120a5794004f837/src/extension/kernel.ts#L819 (I suspect this boolean corresponds to the green/red icon that gets attached to a cell execution).

We report cellExecution here https://github.com/stateful/vscode-runme/blob/90fcc5b60322b4fe34be714ac120a5794004f837/src/extension/kernel.ts#L777 At the start of the execution. If we moved the report to after the cell finished executing we could attach the status of the cell execution.