Skip to content

feat: use async files in webapp#346

Merged
henryiii merged 4 commits into
mainfrom
henryiii/feat/asyncwebapp
Apr 3, 2026
Merged

feat: use async files in webapp#346
henryiii merged 4 commits into
mainfrom
henryiii/feat/asyncwebapp

Conversation

@henryiii

@henryiii henryiii commented Apr 2, 2026

Copy link
Copy Markdown
Collaborator

Needs #345 in a released version.

@henryiii henryiii force-pushed the henryiii/feat/asyncwebapp branch from 5b79250 to 33f33c6 Compare April 3, 2026 05:04
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii force-pushed the henryiii/feat/asyncwebapp branch from 33f33c6 to 5dbbe61 Compare April 3, 2026 05:08
@henryiii henryiii marked this pull request as ready for review April 3, 2026 05:40
@henryiii henryiii requested a review from Copilot April 3, 2026 05:40

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the Pyodide-based live demo webapp to use the new async-prefetch flow (from #345) to preload key repository files before running repo-review checks, and updates demo dependency pins accordingly.

Changes:

  • Switch webapp compute flow to prefetch() + collect_checks() + run_process() instead of constructing GHPath synchronously in run_process.
  • Add new Pyodide helper functions for async prefetching and separating collection from processing.
  • Update docs/demo dependency pin to a repo-review 1.0.0 release-candidate that includes async support.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 6 comments.

File Description
src/repo-review-app/webapp.tsx Makes the compute path async and integrates prefetch + collection to support async file loading.
src/repo-review-app/utils/pyodide.ts Adds prefetch() / collect_checks() helpers and updates run_process() to accept collected state.
docs/live-demo.md Updates the demo dependency version to a 1.0.0rc that includes async support.
docs/_static/scripts/index.html Updates the embedded demo dependency version to a 1.0.0rc that includes async support.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/repo-review-app/webapp.tsx Outdated
Comment thread src/repo-review-app/webapp.tsx
Comment thread src/repo-review-app/utils/pyodide.ts Outdated
Comment thread src/repo-review-app/utils/pyodide.ts
Comment thread docs/live-demo.md
Comment thread docs/_static/scripts/index.html
@henryiii

henryiii commented Apr 3, 2026

Copy link
Copy Markdown
Collaborator Author

@copilot address the open review comments.

henryiii added 2 commits April 3, 2026 08:46
Signed-off-by: Henry Schreiner <[email protected]>
@henryiii henryiii merged commit 32fcd5b into main Apr 3, 2026
13 checks passed
@henryiii henryiii deleted the henryiii/feat/asyncwebapp branch April 3, 2026 14:07
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.

3 participants