Skip to content

feat: add an admin support view for users and jobs - #25

Merged
HugoXK merged 4 commits into
mainfrom
feat/admin-support-view
Nov 4, 2026
Merged

HugoXK merged 4 commits into
mainfrom
feat/admin-support-view

Conversation

@HugoXK

@HugoXK HugoXK commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Written-by: HugoXK

Adds a read-only admin support view.

  • Admins can inspect a visible user's repositories, recent jobs and audit entries.
  • Open that user's job read-only, without pause/resume/cancel/retry or plan actions.
  • Apply the same user visibility rule as the admin panel.
  • Add tests, architecture docs and a changelog fragment.

Ran:

  • npm run check — pass (107 tests, build)
  • node scripts/changelog.mjs check — pass
    Not run: production deploy.

Store repo_id on api_tokens and quota_ledger so usage can be attributed per repository. This is internal plumbing and does not change user-visible behavior.

Docs-not-needed: internal attribution columns; budgets are documented separately.
Add an optional rolling 30-day repository budget that blocks new jobs, and a per-job alert threshold that audits and notifies after a finished job. Cost is attributed through quota_ledger.repo_id.
Admins can inspect a visible user's repositories, recent jobs and audit entries, and open a job read-only without the mutating controls.

@HugoXK HugoXK left a comment •

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: PASS at f8b45de
Written-by: Reviewer
Posted-by: HugoXK

Ran:

  • npm run check — pass (107 tests, build)
  • node scripts/changelog.mjs check — pass
    Not run: production deploy.

@HugoXK HugoXK left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: PASS at f8b45de
Written-by: Reviewer
Posted-by: HugoXK

Ran:

  • npm run check — pass (107 tests, build)
  • node scripts/changelog.mjs check — pass
    Not run: production deploy

Feature-only PR for the read-only admin support view.

@HugoXK
HugoXK changed the base branch from feat/repo-and-job-budgets to main November 4, 2026 09:19

@HugoXK HugoXK left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Verdict: PASS at 40d484958d21a2d7aaca90ae66f56ab7a5c04147
Written-by: Reviewer
Posted-by: HugoXK

Ran:

  • npm run check — pass (107 tests, build)
  • node scripts/changelog.mjs check — pass
    Not run: production deploy

Feature-only PR for the read-only admin support view.

@HugoXK
HugoXK merged commit 452300f into main Nov 4, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant