Skip to content

/.cache not writeable when using PVC as developement area #1108

Closed

Description

@DiamondJoseph

Due to helm best practices of setting root filesystem as read only, cannot install pre-commit tools into a container when using the PVC as a development area. We could mount this area, when in either debug or with PVC mounted scratch. Or we can disable read-only filesystem again.

Acceptance Criteria

  • Specific criteria that will be used to judge if the issue is fixed

Activity

  1. callumforrester commented on Jul 7, 2025

    @callumforrester
    Contributor

    The other thought I had was to have a separate container for development, rather than try to sequeeze dev and prod environments into the same box

  2. DiamondJoseph commented on Jul 7, 2025

    @DiamondJoseph
    ContributorAuthor

    I'm actually not sure what was causing issues seen on b01-1- as discussed in #1096 that change never actually got added to the default Helm chart.

  3. abbiemery commented on Feb 25, 2026

    @abbiemery
    Contributor

    @dan-fernandes, is this fixed now with the cache location changes?

  4. dan-fernandes commented on Mar 2, 2026

    @dan-fernandes
    Contributor

    I'm struggling to work out the exact issue here, and how / whether it's been fixed.

    From #1290 it looks like the virtual environment is now stored under /app/.venv which is --chown 1000 (default user ubuntu). I think this resolves part of the issue.

    The UV cache is also moved from .cache to a writeable directory through #1308, meaning that the root filesystem being non-writeable shouldn't be an issue.

    When I run uv add pre-commit in the P49 BlueAPI with debug: true, it installs successfully. As this seems like the goal, I am going to close the ticket.

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

    deploymentStuff related to running in production containerneeds confirmationDoes this bug still exist?

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions