Skip to content

desktop: Release build fails, TutorialArt.still is DEBUG-only #3390

Closed

Description

@janicduplessis

Problem

The Desktop Release build fails: apps/desktop/Sources/StimDesktop/Design/TutorialIllustration.swift:25:30: error: value of type 'TutorialArt' has no member 'still'. This blocks the Desktop release (run 38085693199).

Evidence

Release run 38085693199. Desktop CI (.github/workflows/desktop.yml) only runs swift build in Debug, so it did not catch this.

Cause

TutorialArt.still(_:) is declared inside #if DEBUG (from #3383), but TutorialIllustration.body calls it unconditionally when rendersStatic is true. In Release rendersStatic is always false, but the call still has to compile.

Fix idea

Declare still in all builds (Reduce Motion and hidden windows use still frames), and add a swift build -c release -Xswiftc -warnings-as-errors step to the existing Desktop CI job.

Activity

  1. janicduplessis commented on Oct 10, 2026

    @janicduplessis
    CollaboratorAuthor

    Claimed: fix/3390-release-tutorial-still

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions