Skip to content

chore(client): test if upstream scap main builds#520

Closed
Detair wants to merge 1 commit into
mainfrom
chore/scap-upstream-recheck
Closed

chore(client): test if upstream scap main builds#520
Detair wants to merge 1 commit into
mainfrom
chore/scap-upstream-recheck

Conversation

@Detair
Copy link
Copy Markdown
Owner

@Detair Detair commented Apr 12, 2026

Summary

Tests whether upstream CapSoftware/scap main HEAD now compiles as a vc-client dependency. If CI passes, we can drop the Detair/scap fork permanently. If CI fails, the upstream fix is still missing and we'll need to open a narrow upstream PR.

Context

Detair/scap@fix/linux-frame-enum was created because scap 0.1.0-beta.1 shipped a Frame enum restructure (Frame::Video(VideoFrame::*)) without updating the Linux pipewire backend, breaking our build. The fork adapts linux/mod.rs + a Windows typo fix.

Upstream CapSoftware/scap main has had activity since then. This PR points our dep at upstream commit c03f15a4631f40cd8d2e36807befb83b314cfeb7 and lets CI verify across all four build targets.

Local verification status

Blocked by a pre-existing libspa v0.8.0 system header mismatch on the dev machine — spa_pod_builder has _address field where libspa-0.8.0 Rust bindings expect data/size. Reproduces on clean scap clones and does not touch scap's own code. CI's ubuntu-24.04 runners have a compatible libspa version.

Expected outcomes

CI result Next step
All 4 Builds + Tauri matrix pass Merge this PR. Drops the Detair/scap fork.
macOS/Windows pass but ubuntu fails Upstream still broken on Linux. Revert + open narrow upstream PR with our fix from commit 4d1304e9.
Any other failure Investigate, possibly revert

Test plan

  • CI Build (macos-latest)
  • CI Build (macos-15-intel)
  • CI Build (ubuntu-24.04) — the critical one
  • CI Build (windows-latest)
  • CI Tauri matrix (macos/ubuntu/windows)
  • CI Rust Tests (unrelated but should still pass)

Refs

🤖 Generated with Claude Code

The Linux pipewire backend regression that required our Detair/scap
fork may now be resolved upstream. Switch to upstream main HEAD
(c03f15a) and rely on CI to verify cross-platform builds.

Local verification is blocked by a pre-existing libspa-0.8.0 system
header mismatch on the dev machine (spa_pod_builder has _address field
instead of data/size). This is unrelated to scap and reproduces on
clean scap clones too.

CI's ubuntu-24.04 / macos-latest / macos-15-intel / windows-latest
jobs will be the real verification.

If all four build targets pass, this PR drops the Detair fork
permanently. If any fail, revert and file an upstream PR with Detair's
targeted fix.

Refs spec docs/superpowers/specs/2026-04-11-security-audit-followups-design.md (Topic 3)
@Detair
Copy link
Copy Markdown
Owner Author

Detair commented Apr 12, 2026

Finding: upstream still broken on Linux

CI result (https://github.com/Detair/kaiku/actions/runs/24294543682):

  • Build (ubuntu-24.04): fail
  • Build (macos-latest): pass
  • Build (macos-15-intel): pass (assumed, not yet completed)
  • Build (windows-latest): pass (assumed, not yet completed)

Upstream evidence:

The Frame enum regression that motivated Detair/scap@fix/linux-frame-enum is still present on upstream main.

Next step

Topic 3 Step 2b applies: open a narrow upstream PR against CapSoftware/scap with Detair's targeted Linux fix. Closing this PR without merging — no code change to main until upstream moves.

Our client/src-tauri/Cargo.toml stays pinned to Detair/scap@fix/linux-frame-enum as before.

@Detair Detair closed this Apr 12, 2026
@Detair Detair deleted the chore/scap-upstream-recheck branch April 12, 2026 00:20
Detair added a commit that referenced this pull request Apr 12, 2026
Replaces the placeholder "#TODO (or file an issue)" note with concrete
tracking state after the 2026-04-12 re-check:

- Upstream main HEAD (c03f15a) still fails Linux build — Frame enum
  regression unfixed (see closed PR #520 for the test run)
- Upstream CapSoftware/scap#178 still open, no updates since 2025-10-26
- Issue #521 tracks periodic re-checks with the procedure

No code change. When upstream publishes a release with the Linux fix,
follow the re-check procedure in #521 to drop the git dep.

Refs spec docs/superpowers/specs/2026-04-11-security-audit-followups-design.md (Topic 3)
Detair added a commit that referenced this pull request Apr 12, 2026
…#522)

Replaces the placeholder "#TODO (or file an issue)" note with concrete
tracking state after the 2026-04-12 re-check:

- Upstream main HEAD (c03f15a) still fails Linux build — Frame enum
  regression unfixed (see closed PR #520 for the test run)
- Upstream CapSoftware/scap#178 still open, no updates since 2025-10-26
- Issue #521 tracks periodic re-checks with the procedure

No code change. When upstream publishes a release with the Linux fix,
follow the re-check procedure in #521 to drop the git dep.

Refs spec docs/superpowers/specs/2026-04-11-security-audit-followups-design.md (Topic 3)
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.

1 participant