Conversation
|
WalkthroughThe pull request introduces build cache orchestration into the CI/CD workflow. Cache download, restore, and upload steps are added across multiple jobs (build-browser, build-desktop, build-sharing) to reuse stlite/react build artifacts. Job dependencies are updated to ensure build-react executes before dependent jobs. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (11)
🔇 Additional comments (7)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR optimizes the CI/CD workflow by building @stlite/react first and reusing its build artifacts in dependent jobs (build-browser, build-sharing, and build-desktop), avoiding redundant rebuilds and improving build efficiency.
- Added
build-reactas a dependency for jobs that build packages depending on@stlite/react - Implemented build cache archiving and artifact upload in the
build-reactjob - Added cache download and restoration steps in dependent jobs to reuse pre-built artifacts
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Package Stats on
|
Bundle visualizer reports for
|
|
Deployment completed successfully (log). Importable URLs:
import { StliteApp, createKernel } from "https://0b489f9e.stlite-react-preview.pages.dev/stlite.js";
import "https://0b489f9e.stlite-react-preview.pages.dev/stlite.css"; |
|
Deployment completed successfully (log).
|
|
Deployment completed successfully (log).
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Stlite Browser preview</title>
<link rel="stylesheet" href="https://21c68e4d.stlite-browser-preview.pages.dev/stlite.css" />
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module">
import { mount } from "https://21c68e4d.stlite-browser-preview.pages.dev/stlite.js"
mount(
{
entrypoint: "streamlit_app.py",
files: {
"streamlit_app.py": `
import streamlit as st
st.write("Hello world")
`,
},
requirements: [],
},
document.getElementById("root"),
);
</script>
</body>
</html> |
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.