Skip to content

[bug] /api/user-index is 503 on a fresh install: nothing loads the module #2806

Open

Description

@fish5421

What happened

/api/user-index is 503 on a fresh install: nothing loads the module

Summary

LifeOS 8.761.0. DOCUMENTATION/Pulse/PulseSystem.md describes the user index with "fs.watch live refresh", and modules/user-index.ts has start() and stop(). But pulse.ts loadModules() never imports that module, and no job, workflow or service runs its CLI.

Seen on a fresh install: GET /api/user-index answers 503 ("user-index.json not generated") for ever, and the Life page hides its "System Context" drawer with no message, because the page returns null on that error.

Workaround in use: a user job in PULSE.user.toml that runs bun run modules/user-index.ts each hour (0.13 s).
Suggested fix: load the module in loadModules(), or ship a scheduled job, or correct the document.

Details

  • Kind: bug
  • LifeOS version: 8.761.0

Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions