Skip to content

Improve Makefile documentation and add caching for notebooks repository#150

Merged
juliusvonkohout merged 3 commits intokserve:masterfrom
LogicalGuy77:cleanup-makefile
Feb 4, 2026
Merged

Improve Makefile documentation and add caching for notebooks repository#150
juliusvonkohout merged 3 commits intokserve:masterfrom
LogicalGuy77:cleanup-makefile

Conversation

@LogicalGuy77
Copy link
Contributor

  • Use shorter commit hash (7 chars) in frontend/COMMIT for consistency
  • Add consistent annotations across all Makefiles about kubeflow/notebooks repo
  • Add intelligent caching to frontend Makefile setup:
    • Skip git fetch/checkout if already at target commit
    • Skip library rebuild if already built
    • Skip npm install if dependencies exist
    • Skip symlink recreation if already correct
    • Skip asset copying if already present
  • Add automatic CSS and assets copying during setup
  • Add fallback for short hash resolution with git rev-parse

Resolves issues with fresh setup and improves developer experience with faster repeated setup runs.

- Use shorter commit hash (7 chars) in frontend/COMMIT for consistency
- Add consistent annotations across all Makefiles about kubeflow/notebooks repo
- Add intelligent caching to frontend Makefile setup:
  * Skip git fetch/checkout if already at target commit
  * Skip library rebuild if already built
  * Skip npm install if dependencies exist
  * Skip symlink recreation if already correct
  * Skip asset copying if already present
- Add automatic CSS and assets copying during setup
- Add fallback for short hash resolution with git rev-parse

Resolves issues with fresh setup and improves developer experience
with faster repeated setup runs.

Signed-off-by: Harshit Nayan <[email protected]>
Signed-off-by: Julius von Kohout <[email protected]>
@juliusvonkohout juliusvonkohout changed the title Improve Makefile documentation and add caching for notebooks repo Improve Makefile documentation and add caching for notebooks repository Feb 4, 2026
@juliusvonkohout juliusvonkohout merged commit 32891c6 into kserve:master Feb 4, 2026
9 checks passed
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