GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pm-git-sync: projector redeploy restarts without ensuring node_modules — catch-up pull crash-looped pm-projector on missing @libsql/client · Issue #8171 · developing-today/code

pm-git-sync: projector redeploy restarts without ensuring node_modules — catch-up pull crash-looped pm-projector on missing @libsql/client #8171

New issue
Copy link
New issue
Copy link
Closed
#8344
Closed
pm-git-sync: projector redeploy restarts without ensuring node_modules — catch-up pull crash-looped pm-projector on missing @libsql/client#8171
#8344
Copy link
Labels
kind/bugSomething isn't working (prefixed form of the classic bug label)status:done

Description

@dezren39
dezren39
opened on Nov 10, 2026
Issue body actions

Found 2026-11-10 during the pm-git-sync repair (see #8170). When the sync finally pulled 436 commits and restarted pm-projector.service, the projector crash-looped:

error: Cannot find module @libsql/client from /home/user/git/code/pm-stack/projector/src/store.ts

Cause: the checkout had NO pm-stack/projector/node_modules at all, and the sync only runs the projector dependency step (scripts/setup-deps.sh) when pm-stack/projector/package.json changed in the pulled range. It had not changed, so the restart went ahead with deps absent. Same shape exists for the aggregator: bun install only runs when its package.json/bun.lock changed.

Manual recovery done at the time: ran setup-deps.sh (exit 0), then moved the generated node_modules OUT of the tree (to ~/git/code-dirt-rescue-2026-11-10/projector-node_modules-generated-2026-11-10/) because an untracked node_modules in the primary clone makes the sync fail its own clean-tree check — the two designs currently fight each other, which is presumably how the deps went missing in the first place.

Fix direction: before restarting a PM service, ensure its dependency tree exists (run the dep step when node_modules is missing, not only when inputs changed); and decide where generated deps live so the sync clean-tree check tolerates them (gitignore the node_modules paths, or provision deps outside the checkout). Acceptance: from a checkout with projector node_modules deleted, one sync run leaves pm-projector active and the tree still passes the sync clean check.

Activity

  1. dezren39
    added
    kind/bugSomething isn't working (prefixed form of the classic bug label)
    on Nov 10, 2026
  2. developing-today commented on Nov 10, 2026

    @developing-today
    developing-todayBot
    on Nov 10, 2026 – with developing.today
    Contributor
    More actions

    CODE-2414

  3. developing-today
    added
    status:in-review
    on Nov 10, 2026
  4. dezren39
    added a commit that references this issue on Nov 10, 2026

    Merge pull request #8344 from developing-today/fix/8171-pm-stack-nix-…

    8b3b5f3
  5. dezren39
    closed this as completedin #8344on Nov 10, 2026
  6. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 10, 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

    kind/bugSomething isn't working (prefixed form of the classic bug label)status:done

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.