Skip to content

Rebuilding binder and refreshing cache - #7

Merged
ShaivanBhagat merged 1 commit into
mainfrom
test/binder-cache-refresh
Nov 5, 2026
Merged

ShaivanBhagat merged 1 commit into
mainfrom
test/binder-cache-refresh

Conversation

@ShaivanBhagat

Copy link
Copy Markdown
Contributor

Binder (using postBuild) was using outdated tutorial notebooks, even after virtualship/main had updated changes. Cached built images were being reused.

Adding a new commit apparently forces binder to rebuild the image and refetch the updated tutorials. (files and path remain same)

Tested with: https://mybinder.org/v2/gh/Parcels-code/virtualship-workspace/460d4011cc996342d2d6779c3a40d96db50d747f?urlpath=lab/tree/welcome.md

(This works for now, but not the most efficient for repeating changes to post-processing tutorial files)

@erikvansebille erikvansebille left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not ideal to have to make these superfluous commits just to retriever binder build - but if there's no other way then let's do it

@ShaivanBhagat

Copy link
Copy Markdown
Contributor Author

@erikvansebille agreed. However, considering binder will be used for course tutorials soon, this seems a quick fix. But i will open an issue and explore options to perhaps automate a new build.

@ShaivanBhagat
ShaivanBhagat merged commit 030f42f into main Nov 5, 2026
1 check passed
@ShaivanBhagat
ShaivanBhagat deleted the test/binder-cache-refresh branch November 5, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants