Skip to content

CI: fix workflows to pass on first activation; make release spec actually build#30

Merged
Cuuper22 merged 1 commit into
mainfrom
claude/batch-ci
Jun 10, 2026
Merged

CI: fix workflows to pass on first activation; make release spec actually build#30
Cuuper22 merged 1 commit into
mainfrom
claude/batch-ci

Conversation

@Cuuper22

Copy link
Copy Markdown
Owner

What

Repairs both workflows so they pass the first time Actions is enabled, and fixes the PyInstaller spec so the release pipeline produces a working binary.

  • ci.yml: rust-tests pinned to ubuntu-22.04 (Tauri v1 needs webkit2gtk-4.0, gone on 24.04); stubs gui/dist and the target-triple sidecar so tauri-build can compile without frontend artifacts; adds rustfmt/clippy components and ayatana-appindicator dev libs.
  • build.yml: renames the PyInstaller sidecar to Tauri's required <name>-<target-triple>[.exe] form before bundling (it would not have been found otherwise); Linux sidecar built on ubuntu-22.04 to match the bundle's glibc baseline; installs all provider SDKs into the sidecar; grants contents: write for tauri-action's draft release.
  • erdos-solver.spec: generated launcher entry point so package-relative imports work frozen; missing hidden imports added (src.llm.mock, src.llm.chatgpt_provider).

Verification

  • All workflow YAML parses.
  • pyinstaller erdos-solver.spec run locally: build succeeds and dist/erdos-solver --help works in mock mode.

⚠️ Owner action still required: GitHub Actions has zero runs ever on this repo — enable it under Settings → Actions so these workflows (and the README badge) come alive.

Part of the project-wide polish batch.

https://claude.ai/code/session_01KAKnLjpFZ9oF74GNW9QNtN


Generated by Claude Code

ci.yml:
- Pin rust-tests to ubuntu-22.04: Tauri v1 needs webkit2gtk-4.0,
  which Ubuntu 24.04 (ubuntu-latest) no longer ships.
- Stub gui/dist and the target-triple sidecar binary so tauri-build
  can compile without frontend/PyInstaller artifacts.
- Add rustfmt/clippy components and ayatana-appindicator dev libs.

build.yml:
- Rename the PyInstaller sidecar to Tauri's required
  <name>-<target-triple>[.exe] form before bundling.
- Build the Linux sidecar on ubuntu-22.04 to match the Tauri
  bundle's glibc baseline; install all provider SDKs into it.
- Grant contents:write for tauri-action's draft release.

erdos-solver.spec:
- Use a generated launcher entry point so package-relative imports
  work when frozen; add missing hidden imports (mock, chatgpt).
- Verified locally: pyinstaller build succeeds and the binary runs
  (--help, mock mode). YAML validated. NOTE: repo owner must enable
  GitHub Actions in Settings — zero workflow runs to date.

https://claude.ai/code/session_01KAKnLjpFZ9oF74GNW9QNtN
@Cuuper22 Cuuper22 merged commit d11cbcd into main Jun 10, 2026
0 of 5 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