Skip to content

fix(workspace): template sync recipe uses --all-extras --all-groups, breaking repos with platform-limited optional extras #892

Closed

Description

@c-vigo

Description

Found during 0.4.0 consumer field-validation (EXOMA/hyrr) and scoped out of #877 (see PR #891 discussion).

The 0.4.0 scaffold template changed the sync recipe semantics from plain uv sync to uv sync --all-extras --all-groups. Repos that deliberately quarantine platform-limited dependencies in optional extras now fail just sync: hyrr's geometry extra ships cp312/313-only wheels (cadquery-ocp/vtk), so forcing --all-extras on the cp314 image makes an otherwise-healthy sync hard-fail.

Note the interaction with #877/#891: the upgrade-time repair appends the current template recipe verbatim, so upgraded consumers inherit these semantics too.

Possible Solution

Pick one: (a) revert the template default to plain uv sync and let teams opt into extras locally; (b) keep the default but document an override pattern in the template comments (consumer redefines sync in justfile.project — customized recipes win); (c) parameterize (sync *ARGS) with conservative defaults.

Changelog Category

Fixed

Refs: #877

Activity

  1. added this to the Backlog milestone on Jul 7, 2026
  2. added
    bug
    priority:medium
    area:workspace
    on Jul 7, 2026
  3. modified the milestones: Backlog, 0.5 on Jul 8, 2026
  4. c-vigo commented on Jul 8, 2026

    @c-vigo
    ContributorAuthor

    Closed by #924

  5. added a commit that references this issue on Jul 9, 2026
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

    area:workspacebugpriority:medium

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions