feat: add experimental Wayland desktop env#152
Conversation
|
Codex review: needs real behavior proof before merge. Latest ClawSweeper review: 2026-05-24 06:03 UTC / May 24, 2026, 2:03 AM ET. Workflow note: Future ClawSweeper reviews update this same comment in place. How this review workflow works
Summary Reproducibility: not applicable. for the feature request; this is a new opt-in desktop environment, not a bug report. The capability-mismatch findings are source-reproducible from the guarded comparisons in PR rating Rank-up moves:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. Real behavior proof Mantis proof suggestion Risk before merge
Maintainer options:
Next step before merge Security Review findings
Review detailsBest possible solution: Keep the opt-in Wayland profile, fix the desktop environment compatibility checks, require observable runtime proof, and merge only after maintainers are comfortable with Worker deployment sequencing. Do we have a high-confidence way to reproduce the issue? Not applicable for the feature request; this is a new opt-in desktop environment, not a bug report. The capability-mismatch findings are source-reproducible from the guarded comparisons in Is this the best way to solve the issue? Not yet; the overall shape is reasonable because Wayland is explicit and XFCE remains the default, but the mismatch checks and real behavior proof need to be addressed before this is the best mergeable solution. Label changes:
Label justifications:
Full review comments:
Overall correctness: patch is incorrect What I checked:
Likely related people:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 46887c69350a. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 00bd8cc53c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| } | ||
| if cfg.Desktop { | ||
| requestedDesktopEnv := normalizedDesktopEnv(cfg.DesktopEnv) | ||
| if requestedDesktopEnv != desktopEnvXFCE && normalizedDesktopEnv(lease.DesktopEnv) != requestedDesktopEnv { |
There was a problem hiding this comment.
Enforce XFCE/Wayland match for coordinator leases
Remove the requestedDesktopEnv != desktopEnvXFCE guard so this capability check runs for explicit/default XFCE requests too. As written, a lease provisioned with desktopEnv=wayland is accepted when the client requests XFCE (the default), which lets an environment mismatch slip through and later desktop flows can fail with confusing runtime errors instead of an immediate capability mismatch.
Useful? React with 👍 / 👎.
| } | ||
| if cfg.Desktop { | ||
| requestedDesktopEnv := normalizedDesktopEnv(cfg.DesktopEnv) | ||
| if requestedDesktopEnv != desktopEnvXFCE && normalizedDesktopEnv(server.Labels["desktop_env"]) != requestedDesktopEnv { |
There was a problem hiding this comment.
Enforce XFCE/Wayland match for managed lease labels
This guard has the same blind spot as the coordinator path: it skips validation whenever the requested env is XFCE, so a managed lease labeled desktop_env=wayland is still treated as compatible with an XFCE request. Because missing labels already normalize to XFCE, comparing unconditionally would preserve backward compatibility while correctly rejecting true mismatches.
Useful? React with 👍 / 👎.
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
00bd8cc to
baec269
Compare
Summary:
Validation:
Review note: