-
Notifications
You must be signed in to change notification settings - Fork 96
⚠️ DO NOT MERGE ⚠️ — 🤖 Store execution outputs in Outputs
#1903
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
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 56d0d49 The changes in this PR will be included in the next version bump. This PR includes changesets to release 13 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
cec055e
to
6870f57
Compare
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.
A few comments as I am looking now.
Thoughts on a testing plan for this:
|
const outputsNode = select('outputs', block) as GenericNode | undefined; | ||
if (outputsNode !== undefined && !outputsNode.identifier) { | ||
// Label outputs node | ||
outputsNode.identifier = `${block.identifier}-output`; |
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.
I think that these ID changes may need to be taken into account in the upgrade/downgrade script for thebe to continue working.
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.
Let's keep an eye on that
d8a8684
to
6f0d05b
Compare
@@ -270,12 +273,14 @@ describe('propagateBlockDataToCode', () => { | |||
result = mdast.children[0].children[0].visibility; | |||
break; | |||
case 'output': | |||
if (!has_output && target == 'output') { |
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.
target
is known to be output
here.
2060521
to
5857844
Compare
We don't need to delete nodes without children: they will simply vanish when lifted
Outputs
Outputs
826b957
to
455e0d8
Compare
Outputs
Outputs
Outputs
Outputs
This PR changes our internal representation of cell outputs so that they are children of the
Outputs
node.It accompanies #1900, and closes #1674
Notable Changes
outputs-${N}
outputs
node with identifier${block.identifier}-outputs
Outputs
parent nodeTasks
.docx
exports still export matplotlib figuresJATS
exports still export matplotlib figures