-
Notifications
You must be signed in to change notification settings - Fork 0
perf: efficient IPC layer, bundle split, monaco workers offload #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
7a3d1d1
9d73547
b0dea16
ac64372
b951901
e88cac7
294d596
f489633
491ebcd
4875ba1
521749c
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,133 @@ | ||
| name: Release | ||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
|
|
||
| jobs: | ||
| release-linux: | ||
| permissions: | ||
| contents: write | ||
| runs-on: ubuntu-22.04 | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: setup node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
|
|
||
| - name: setup bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: install rust stable | ||
| uses: dtolnay/rust-toolchain@stable | ||
|
|
||
| - name: install dependencies (ubuntu) | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.0-dev libappindicator3-dev librsvg2-dev patchelf | ||
|
|
||
| - name: install frontend dependencies | ||
| run: bun install | ||
| working-directory: ./apps/desktop | ||
|
|
||
| - name: build frontend | ||
| run: bun run build | ||
| working-directory: ./apps/desktop | ||
|
|
||
| - uses: tauri-apps/tauri-action@v0 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| projectPath: ./apps/desktop | ||
| tagName: ${{ github.ref_name }} | ||
| releaseName: 'App v__VERSION__' | ||
| releaseBody: 'See the assets to download this version and install.' | ||
| releaseDraft: true | ||
| prerelease: false | ||
|
Comment on lines
+41
to
+50
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: Latest stable release of You can pin it as: - uses: tauri-apps/tauri-action@v0.6.1Source: GitHub Releases page. [1] [1] https://github.com/tauri-apps/tauri-action/releases 🏁 Script executed: # Let's examine the release.yml workflow to understand the job structure
cat -n .github/workflows/release.ymlRepository: remcostoeten/dora Length of output: 4572 Pin tauri-action to v0.6.1 and serialize release jobs to prevent race conditions.
♻️ Proposed fix for job dependencies release-windows:
+ needs: release-linux
permissions:
contents: write
runs-on: windows-latest release-macos:
+ needs: release-linux
permissions:
contents: write
runs-on: macos-latest🤖 Prompt for AI Agents |
||
|
|
||
| release-windows: | ||
| permissions: | ||
| contents: write | ||
| runs-on: windows-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: setup node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
|
|
||
| - name: setup bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: install rust stable | ||
| uses: dtolnay/rust-toolchain@stable | ||
|
|
||
| - name: install frontend dependencies | ||
| run: bun install | ||
| working-directory: ./apps/desktop | ||
|
|
||
| - name: build frontend | ||
| run: bun run build | ||
| working-directory: ./apps/desktop | ||
|
|
||
| - uses: tauri-apps/tauri-action@v0 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| with: | ||
| projectPath: ./apps/desktop | ||
| tagName: ${{ github.ref_name }} | ||
| releaseName: 'App v__VERSION__' | ||
| releaseBody: 'See the assets to download this version and install.' | ||
| releaseDraft: true | ||
| prerelease: false | ||
|
|
||
| release-macos: | ||
| permissions: | ||
| contents: write | ||
| runs-on: macos-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
|
|
||
| - name: setup node | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: 20 | ||
|
|
||
| - name: setup bun | ||
| uses: oven-sh/setup-bun@v2 | ||
| with: | ||
| bun-version: latest | ||
|
|
||
| - name: install rust stable | ||
| uses: dtolnay/rust-toolchain@stable | ||
|
|
||
| - name: install frontend dependencies | ||
| run: bun install | ||
| working-directory: ./apps/desktop | ||
|
|
||
| - name: build frontend | ||
| run: bun run build | ||
| working-directory: ./apps/desktop | ||
|
|
||
| - uses: tauri-apps/tauri-action@v0 | ||
| env: | ||
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
| APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }} | ||
| APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }} | ||
| APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }} | ||
| APPLE_ID: ${{ secrets.APPLE_ID }} | ||
| APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }} | ||
| with: | ||
| projectPath: ./apps/desktop | ||
| tagName: ${{ github.ref_name }} | ||
| releaseName: 'App v__VERSION__' | ||
| releaseBody: 'See the assets to download this version and install.' | ||
| releaseDraft: true | ||
| prerelease: false | ||
|
Comment on lines
+119
to
+133
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chain🌐 Web query:
💡 Result: For
Example (as used with - uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}Sources: Tauri v1 signing guide (shows References Add missing The workflow is missing APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}to the environment variables alongside the existing 🤖 Prompt for AI Agents |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: remcostoeten/dora
Length of output: 478
🌐 Web query:
Tauri v2 Linux dependencies libwebkit2gtk libappindicator official documentation💡 Result:
In Tauri v2, the official docs list these Linux packages relevant to your question:
Development (build) dependencies (Debian/Ubuntu example):
libwebkit2gtk-4.1-dev(WebView / WebKit2GTK)libayatana-appindicator3-dev(AppIndicator/system tray support; Tauri v2 uses Ayatana on many distros) (v2.tauri.app)Runtime (shipping) dependencies for Debian-based .deb packages:
libwebkit2gtk-4.1-0libgtk-3-0libappindicator3-1only if your app uses the system tray (v2.tauri.app)If you specifically meant
libappindicatorvslibayatana-appindicator: Tauri v2’s prerequisites page uses Ayatana (libayatana-appindicator3-dev) for the Linux dev setup example. (v2.tauri.app)Citations:
Update Linux dependencies for Tauri v2.
The workflow is using Tauri v2.8.0 but has outdated dependencies. For Tauri v2, replace:
libwebkit2gtk-4.0-dev→libwebkit2gtk-4.1-devlibappindicator3-dev→libayatana-appindicator3-devThis aligns with the official Tauri v2 prerequisites.
🤖 Prompt for AI Agents