Skip to content

xSubstrate inventory - #167

Closed
yashmehrotra wants to merge 8 commits into
mainfrom
substrate-inventory
Closed

yashmehrotra wants to merge 8 commits into
mainfrom
substrate-inventory

Conversation

@yashmehrotra

Copy link
Copy Markdown
Member

No description provided.

…nd the workers

ListActors and ListWorkers report what a substrate holds, so a dashboard
can show worker capacity against allocation and actors by state. Sweep
lists through ListActors. The SPIFFE ID helper is SPIFFEID, freeing Actor
for the listed type.
…e and budgets total

An embedding application that breaks usage down by day, tenant or model
prices each call the way captain does without copying the formula.
Model usage and budget spend both total it. Budget spend gains specs:
a group's calls since a time, and refusing calls outside USD.
So an embedding application reporting spend reads a rule's window as captain
enforces it.
…n one statement

Two statements let a non-USD call complete between the count and the total,
which priced it at zero instead of failing closed.
…me, order

Sorting the joined atespace/name put atespace a-b before a.
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 251d66e1-5a5c-4456-9d6b-c1243442d1b0
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions

Copy link
Copy Markdown

Gavel summary

Source Pass Fail Skip Duration

Totals: 0 passed · 0 failed · 0 skipped · -

View full results

@yashmehrotra
yashmehrotra deleted the substrate-inventory branch November 17, 2026 11:55
@github-actions

Copy link
Copy Markdown

Gavel summary

Source Pass Fail Skip Duration
adapters 20 0 0 1.7s
agent 11 0 0 1ms
agentbrowser 38 0 0 27ms
agentcreds 11 0 0 860.378µs
agentsandbox 5 0 0 3ms
ai 130 0 0 42ms
aichat 147 0 2 39.0s
aiflags 38 0 0 7ms
anthropicmock 1 0 0 4ms
api 700 0 0 308ms
approval 85 0 0 10.5s
assistanttags 9 0 0 735.777µs
attachments 5 0 0 3ms
bash 9 0 0 249ms
cache 11 0 0 333ms
callertools 27 0 0 3.1s
captain 46 0 0 3.1s
captainconfig 4 0 0 806.356µs
claude 27 0 0 6ms
claudeagent 85 0 0 2.0s
claudeconfig 7 0 0 8ms
cli 723 0 0 1m19s
cmux 19 0 0 17ms
codexconfig 15 0 0 18ms
codexhome 10 0 0 28ms
collections 12 0 0 559.735µs
commit 7 0 0 907ms
compattest 1 0 0 2.3s
credentials 5 0 0 35ms
credsync 11 0 0 213ms
database 110 0 0 2m46s
deliver 15 0 0 2.0s
deploy 110 0 0 273ms
exectool 43 0 0 1.1s
genkit 58 0 0 739ms
gitagent 147 0 0 20.1s
github.com/flanksource/captain/migrations 11 0 0 3.5s
github.com/flanksource/captain/pkg/ai 255 0 0 810ms
github.com/flanksource/captain/pkg/ai/agent 27 0 0 450ms
github.com/flanksource/captain/pkg/ai/agent/commit 57 0 0 7.4s
github.com/flanksource/captain/pkg/ai/agent/setup 24 0 0 400ms
github.com/flanksource/captain/pkg/ai/agent/verify 36 0 0 380ms
github.com/flanksource/captain/pkg/ai/agent/worktree 6 0 0 -
github.com/flanksource/captain/pkg/ai/assistanttags 15 0 0 -
github.com/flanksource/captain/pkg/ai/fixture 43 0 0 260ms
github.com/flanksource/captain/pkg/ai/fixture/mcpproxy 6 0 0 -
github.com/flanksource/captain/pkg/ai/history 54 0 0 -
github.com/flanksource/captain/pkg/ai/internal/gen-model-registry 12 0 0 -
github.com/flanksource/captain/pkg/ai/middleware 34 0 0 80ms
github.com/flanksource/captain/pkg/ai/observation 3 0 0 -
github.com/flanksource/captain/pkg/ai/pricing 9 0 0 -
github.com/flanksource/captain/pkg/ai/prompt 29 0 0 20ms
github.com/flanksource/captain/pkg/ai/provider 183 0 1 10ms
github.com/flanksource/captain/pkg/ai/provider/claudeagent 61 0 0 1.4s
github.com/flanksource/captain/pkg/ai/provider/cmux 140 0 0 880ms
github.com/flanksource/captain/pkg/ai/provider/genkit 40 0 0 -
github.com/flanksource/captain/pkg/ai/provider/jsonrpc 6 0 0 50ms
github.com/flanksource/captain/pkg/ai/provider/openai 8 0 0 30ms
github.com/flanksource/captain/pkg/aichat 5 0 0 100ms
github.com/flanksource/captain/pkg/aiflags 9 0 0 -
github.com/flanksource/captain/pkg/aimock 50 0 7 200ms
github.com/flanksource/captain/pkg/aimock/anthropicmock 14 0 0 10ms
github.com/flanksource/captain/pkg/aimock/openaimock 18 0 0 90ms
github.com/flanksource/captain/pkg/api 152 0 0 3.1s
github.com/flanksource/captain/pkg/api/registry 134 0 0 -
github.com/flanksource/captain/pkg/bash 348 0 0 10ms
github.com/flanksource/captain/pkg/budgets 1 0 0 -
github.com/flanksource/captain/pkg/captainconfig 29 0 0 -
github.com/flanksource/captain/pkg/captaintoken 23 0 0 980ms
github.com/flanksource/captain/pkg/claude 139 0 0 -
github.com/flanksource/captain/pkg/claude/tools 18 0 0 -
github.com/flanksource/captain/pkg/cli 857 0 1 1m24s
github.com/flanksource/captain/pkg/cmux 1 0 0 -
github.com/flanksource/captain/pkg/codexconfig 10 0 0 20ms
github.com/flanksource/captain/pkg/container 72 0 1 -
github.com/flanksource/captain/pkg/credproxy 23 0 0 50ms
github.com/flanksource/captain/pkg/credproxy/kubeproxy 3 0 0 40ms
github.com/flanksource/captain/pkg/database 154 0 0 48.2s
github.com/flanksource/captain/pkg/gitagent 31 0 0 420ms
github.com/flanksource/captain/pkg/monitor 73 0 0 7.0s
github.com/flanksource/captain/pkg/promptrun/remoterun 18 0 0 -
github.com/flanksource/captain/pkg/sandbox 13 0 0 -
github.com/flanksource/captain/pkg/sandbox/adapter 41 0 0 -
github.com/flanksource/captain/pkg/sandbox/presets 13 0 0 -
github.com/flanksource/captain/pkg/sandbox/substraterun 43 0 0 7.0s
github.com/flanksource/captain/pkg/session 70 0 0 20ms
github.com/flanksource/captain/pkg/substrate 31 0 4 2.7s
history 91 0 0 245ms
hookaction 16 0 0 5ms
jev 12 0 0 34ms
jsonl 6 0 0 110ms
load 60 0 0 7ms
middleware 39 0 0 162ms
migrations 51 0 0 35.1s
monitor 42 0 0 11.4s
openai 3 0 0 9ms
openaimock 2 0 0 311.491µs
plans 35 0 0 16.7s
process 25 0 0 34ms
prompt 109 0 0 165ms
promptcontext 16 0 0 32ms
promptfile 14 0 0 238ms
promptrun 200 0 0 44.6s
provider 127 0 0 86ms
query 52 0 0 12.0s
registry 133 0 0 13ms
runtimeprofiles 80 0 0 4.0s
session 59 0 0 91ms
sessiontree 15 0 0 724ms
setup 10 0 0 1.1s
tokens 5 0 0 754.651µs
tools 73 0 0 8ms
transcript 6 0 0 7ms
verify 43 0 0 658ms

Totals: 7478 passed · 0 failed · 16 skipped · 10m31s

View full results

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