Repository navigation
Conversation
…`libdrm`. That lets the openSUSE `libdrm2` package satisfy it, and Fedora/RHEL's `libdrm` still does. I built real RPMs for x64 and ARM64 and ran them through libsolv, the solver zypper uses. I did not run zypper itself or install anything on the openSUSE machine. The fix (`apps/desktop/src/rpm-maker.ts`). The `libdrm` requirement comes from `electron-installer-redhat` 3.4.0, which ProPR's RPM maker builds on. Its dependency list already uses "or" alternatives for gbm, notify, nss and xcb, but only has the Fedora name for DRM. ProPR passes its own requirements to that library as additions only, so they can't replace a default. Instead, ProPR's existing RPM maker class now swaps that one entry after the defaults are generated. No requirement is removed or loosened, and the custom spec with the `chrome-sandbox` 4755 fix is unchanged. Checked on real built packages. I extracted Debian's `rpm`, `rpmbuild` and `libsolv-tools` into `/tmp`, with no root and no host changes, then ran the normal `npm run make:rpm` for x64 and ARM64: - Only one line changed: compared with packages built from the unmodified code, each architecture differs only by `libdrm` → `(libdrm or libdrm2)`. Every other requirement is still there. - Architecture and sandbox: the packages are `x86_64` and `aarch64`, and `chrome-sandbox` is still `04755 root root` in both. - Solver results, both architectures: - The original package fails on a system with only `libdrm2`, with `nothing provides libdrm`, the same failure you saw. - The fixed package installs on an openSUSE-style system that has `libdrm2` (with the same provides as `rpm -q --provides libdrm2` on Leap 15.6) and on a Fedora/RHEL-style system that has `libdrm`. - It still fails when no DRM provider is present, so the dependency is still enforced. Regression test (`apps/desktop/src/rpm-maker.test.ts`). - Always runs: takes `electron-installer-redhat`'s actual list for the installed Electron 44.0.0, applies the change, and checks that only the DRM entry differs and that all nine runtime requirements are present. - Only where RPM tools are installed: the x64 and ARM64 tests build a real RPM through the maker, check its architecture, requirements and `chrome-sandbox` mode, and then run the three solver cases above. CI doesn't have these tools, so there they report as skipped with the missing tool names. All three tests fail if the change is turned off. Typecheck passes. The related release and packaging tests passed: 80 tests, 76 passed, 0 failed, 4 skipped. Not proven yet: - The solver checks use small solver test files describing installed packages. Nothing was installed anywhere, and this wasn't checked against live openSUSE repository data. - The real check is a normal `zypper install` of the new RPM on the openSUSE machine, done later by someone with root access. - I didn't touch PR #2944, the running Debian/Rocky tests, or any releases. This change isn't visible in the UI, so I made no previews.
|
/review |
|
/review |
|
✅ AI Code Review Complete requested by @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR correctly targets the requested dependency change with a small, localized override. It is merge-ready within scope, conditional on the remaining checks completing successfully. ✅ Narrow dependency change — ✅ Artifact-level coverage — The added tests exercise both RPM architectures, inspect dependency metadata and sandbox ownership/mode, and check solver acceptance with either DRM provider and rejection without one. This review is based on static inspection of the supplied code; no commands were run. The authoritative check summary reports no failures and four pending checks. Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S1: 🟢 Complete installed-machine acceptanceAs a release-validation follow-up, run the normal zypper installation and first-user acceptance on the selected openSUSE Leap 15.6 machine. The new tests verify generated metadata and synthetic solver scenarios, but their placeholder executable cannot establish installed application behavior. This is complementary validation, not a demonstrated defect or merge blocker for this dependency change. ScoreThe implementation satisfies the scoped objective and includes strong regression coverage without a verified code blocker. Remaining checks are pending, and installed-machine acceptance remains separate from the metadata validation. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
|
CI failed: Full Test Suite Shard 2/4 Please investigate and fix this CI failure.
Failure evidence
|
|
✅ Applied the requested follow-up changes in commit 6c10a6a Summary of ChangesI fixed the Shard 2/4 failure with a one-line Dockerfile change. The libdrm RPM change wasn't the cause. Cause: One test failed in that shard, in
Commit Fix: I added the same line The branch's Dockerfile now matches Verification: I re-ran the failing test file ( This change can't be seen in the UI, so I made no previews. 🤖 Implementation Details
Undo Changes • View Task Execution 💡 ProPR Slash Commands
🤖 Generated by ProPR |
|
CI failed: Run Full Test Suite Please investigate and fix this CI failure.
Failure evidence
|
Full Test Suite ResultsValidation failed during: Test shard (shard 2).
View shard 2/4 outputDetails truncated; see the uploaded artifacts for complete failure rows and logs. |
|
/merge |
…ange. The libdrm RPM change wasn't the cause. I fixed the Shard 2/4 failure with a one-line Dockerfile change. The libdrm RPM change wasn't the cause. **Cause:** One test failed in that shard, in `test/agentBundleContentFiles.test.ts`: > `docker/Dockerfile.app.prod runtime must copy patches/agent-tank-0.9.11.patch to ./patches/agent-tank-0.9.11.patch` Commit `5b81473e1` on `main` added that patch to the list of agent bundle files but didn't add a matching `COPY` line to the production Dockerfile. `main` has fixed this since, but this branch was cut before the fix, so its Dockerfile still lacked the line. **Fix:** I added the same line `main` has, right after the `agent-tank-runtime.mjs` copy in `docker/Dockerfile.app.prod`: ``` COPY patches/agent-tank-0.9.11.patch ./patches/agent-tank-0.9.11.patch ``` The branch's Dockerfile now matches `main`'s exactly, so it should merge without a conflict. **Verification:** I re-ran the failing test file (`npx tsx --test test/agentBundleContentFiles.test.ts`) and all 3 tests passed. I didn't re-run the rest of the shard. The other line in the failure output, the Node.js 20 deprecation notice, is only a warning and didn't fail the job. This change can't be seen in the UI, so I made no previews. PR: #2946 Comment by: @propr-dev[bot] (ID: 6100206821) Model: Claude Opus 5.5
|
🔀 Auto-merged No conflicts were found — the merge was verified by an AI agent. 🤖 Verification Details
System-triggered merge conflict resolution |
…ude-opus-5-5-accept-opensuse-libdrm2-i-20261010-1701-cut
|
CI failed: Run Full Test Suite Please investigate and fix this CI failure.
Failure evidence
|
|
/review |
|
✅ AI Code Review Complete requested by @propr-dev[bot], @github-actions[bot], @integry Posted 1 review: |
🔍 AI Code Review — codex:gpt-6-astraOverall EvaluationThe PR makes the requested dependency change at the installer-defaults stage, before options and RPM metadata are generated. It is merge-ready within the reviewed scope, conditional on required pending checks completing successfully. ✅ Targeted dependency change — ✅ Artifact-level coverage — The new tests exercise the production maker for both architectures, check dependency metadata and sandbox ownership/mode, and test solver acceptance with either provider and rejection without one. This was a static review of the supplied code; no commands or tests were run. The authoritative current-head summary reports no failures and 17 pending checks. The historical Merge blockersNo merge blockers. SuggestionsThese are optional follow-ups and are not sent to S2: 🟢 Check subprocess completion explicitlyIn ScoreThe implementation is narrowly scoped and backed by artifact and solver tests that directly address the objective. No merge-blocking defect is established by the supplied code; current required checks remain pending. Score: 9/10 🤖 Review Details
Copy and edit to choose records from this review: 🤖 Review by ProPR |
The desktop RPM requires Fedora/RHEL's
libdrmpackage name, while openSUSE Leap15.6 provides the same runtime throughlibdrm2. Accept(libdrm or libdrm2)in the maker's generated defaults so normal dependency resolution works with either provider. All other Electron requirements and sandbox ownership/mode remain enforced.Validation at
8696997b5e2ac5e12f8a59ee3556cdd603ba482b: independently ran the exact PR tests in a disposable Node22/Debian12 container against read-only source and matching locked dependencies: 3 passed,0 failed,0 skipped. The production maker generated actual x64 and ARM64 RPMs; their metadata preserved every other dependency andchrome-sandboxroot:root4755. libsolv accepted the SUSE libdrm2-only and Fedora libdrm-only provider sets for both architectures and rejected both when neither provider existed (six real solver cases).This is metadata/solver validation. A privileged zypper transaction and real installed first-user acceptance on the selected openSUSE host remain pending; noninteractive sudo on that host requires the user's password. No host dependency bypass, permissions change, publication or deployment was performed.
Resolves #2945.