Repository navigation
Migrate show_output_when_hidden from PlutoRunner.embed_display to AbstractPlutoDingetjes.@embed - #56
Merged
Merged
Conversation
Copilot
AI
changed the title
Fix show_output_when_hidden for Pluto 1.0 by using @embed
Migrate Jun 25, 2026
show_output_when_hidden from PlutoRunner.embed_display to AbstractPlutoDingetjes.@embed
Test notebooks regenerate their environment in a fresh notebook on open, so the embedded project/manifest is pure churn in git history. Strip it from the four test notebooks and add a git clean filter (.gitattributes + .githooks/strip-pluto-env) that keeps the committed blob stripped while leaving the working copy untouched, so Pluto still loads the local env. A new check-notebook-env CI job fails (with a hint pointing at the filter) if any test notebook re-embeds a project/manifest. Also drop the redundant lts entry from the test matrix.
Owner
|
On top of the
Verified the full suite passes on Julia 1.12 (notebook items 66/66, |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #56 +/- ##
==========================================
- Coverage 98.98% 97.57% -1.42%
==========================================
Files 16 15 -1
Lines 791 782 -9
==========================================
- Hits 783 763 -20
- Misses 8 19 +11 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
CI: checkout v4->v7, setup-julia v2->v3, cache v2->v3, codecov-action v4->v7. Docs: checkout v2->v7, setup-julia v1->v3, add cache v3. The Julia helper actions (buildpkg, runtest, processcoverage) already track the current v1 major tag.
disberd
marked this pull request as ready for review
June 26, 2026 14:50
disberd
approved these changes
Jun 26, 2026
disberd
left a comment
Owner
There was a problem hiding this comment.
Reviewed — changes build on the @embed migration as described above and the full suite passes on Julia 1.12. Good to merge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
show_output_when_hiddendepended onPlutoRunner.embed_display, which was deprecated and removed in Pluto 1.0, breaking hidden-cell output embedding. This change updates the embedding path to the supported AbstractPlutoDingetjes API while preserving current behavior contracts.Embedding path update
PlutoRunner.embed_displayusage withAbstractPlutoDingetjes.Display.@embedfor non-HTML values passed toshow_output_when_hidden.Runtime guard alignment
is_inside_pluto()instead ofMain.PlutoRunnerchecks.Documentation sync
show_output_when_hiddendocstring note to reflect the new embedding mechanism.