Replace no-send stub with real WAL entry transmission via xce_wal_batch_req_raw. For each non-catch-up registered standby, serialize the entry header+payload into a wal_catchup_entry_t and enqueue. Keep the MAX_PENDING_ACKS eviction guard. 5 new tests: no-standbys, one-standby-send, skip-catch-up, evict-overloaded, send-failure-continues. Controller suite green. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
887 lines
38 KiB
Markdown
887 lines
38 KiB
Markdown
# anatomy.md
|
|
|
|
> Auto-maintained by OpenWolf. Last scanned: 2026-06-10T04:02:07.082Z
|
|
> Files: 511 tracked | Anatomy hits: 0 | Misses: 0
|
|
|
|
## ../../../../../../tmp/
|
|
|
|
- `e2e-task-7-7.sh` — E2E for ha-repl-hardening task 7.7 — entity-state (snapshot payload) assertion. (~1171 tok)
|
|
|
|
## ./
|
|
|
|
- `.clang-format` (~226 tok)
|
|
- `.gitignore` — Git ignore rules (~88 tok)
|
|
- `.opencode.json` (~55 tok)
|
|
- `CLAUDE.md` — OpenWolf (~2137 tok)
|
|
- `package-lock.json` — npm lock file (~1039 tok)
|
|
- `package.json` — Node.js package manifest (~1 tok)
|
|
- `README.md` — Project documentation (~612 tok)
|
|
|
|
## .claude/
|
|
|
|
- `settings.json` (~497 tok)
|
|
- `settings.json.bak` (~329 tok)
|
|
- `settings.local.json` (~137 tok)
|
|
- `ucai-formatter-cache.local.json` (~17 tok)
|
|
|
|
## .claude/rules/
|
|
|
|
- `openwolf.md` (~313 tok)
|
|
|
|
## .claude/skills/kiro-debug/
|
|
|
|
- `SKILL.md` — kiro-debug (~1322 tok)
|
|
|
|
## .claude/skills/kiro-discovery/
|
|
|
|
- `SKILL.md` — kiro-discovery Skill (~3387 tok)
|
|
|
|
## .claude/skills/kiro-impl/
|
|
|
|
- `SKILL.md` — kiro-impl Skill (~4048 tok)
|
|
|
|
## .claude/skills/kiro-impl/templates/
|
|
|
|
- `debugger-prompt.md` — Debug Investigator (~812 tok)
|
|
- `implementer-prompt.md` — TDD Task Implementer (~1659 tok)
|
|
- `reviewer-prompt.md` — Task Implementation Reviewer (~1352 tok)
|
|
|
|
## .claude/skills/kiro-review/
|
|
|
|
- `SKILL.md` — kiro-review (~1756 tok)
|
|
|
|
## .claude/skills/kiro-spec-batch/
|
|
|
|
- `SKILL.md` — kiro-spec-batch Skill (~2293 tok)
|
|
|
|
## .claude/skills/kiro-spec-design/
|
|
|
|
- `SKILL.md` — kiro-spec-design Skill (~2881 tok)
|
|
|
|
## .claude/skills/kiro-spec-design/rules/
|
|
|
|
- `design-discovery-full.md` — Full Discovery Process for Technical Design (~949 tok)
|
|
- `design-discovery-light.md` — Light Discovery Process for Extensions (~389 tok)
|
|
- `design-principles.md` — Technical Design Rules and Principles (~2982 tok)
|
|
- `design-review-gate.md` — Design Review Gate (~1016 tok)
|
|
- `design-synthesis.md` — Design Synthesis (~464 tok)
|
|
|
|
## .claude/skills/kiro-spec-design/templates/specs/
|
|
|
|
- `design.md` — Design Document Template (~3303 tok)
|
|
- `research.md` — Research & Design Decisions Template (~586 tok)
|
|
|
|
## .claude/skills/kiro-spec-init/
|
|
|
|
- `SKILL.md` — Spec Initialization (~790 tok)
|
|
|
|
## .claude/skills/kiro-spec-init/templates/specs/
|
|
|
|
- `init.json` (~125 tok)
|
|
- `requirements-init.md` — Requirements Document (~40 tok)
|
|
|
|
## .claude/skills/kiro-spec-quick/
|
|
|
|
- `SKILL.md` — Quick Spec Generator (~1995 tok)
|
|
|
|
## .claude/skills/kiro-spec-quick/templates/specs/
|
|
|
|
- `init.json` (~125 tok)
|
|
- `requirements-init.md` — Requirements Document (~40 tok)
|
|
|
|
## .claude/skills/kiro-spec-requirements/
|
|
|
|
- `SKILL.md` — kiro-spec-requirements Skill (~2125 tok)
|
|
|
|
## .claude/skills/kiro-spec-requirements/rules/
|
|
|
|
- `ears-format.md` — EARS Format Guidelines (~739 tok)
|
|
- `requirements-review-gate.md` — Requirements Review Gate (~924 tok)
|
|
|
|
## .claude/skills/kiro-spec-requirements/templates/specs/
|
|
|
|
- `requirements.md` — Requirements Document (~325 tok)
|
|
|
|
## .claude/skills/kiro-spec-status/
|
|
|
|
- `SKILL.md` — kiro-spec-status Skill (~746 tok)
|
|
|
|
## .claude/skills/kiro-spec-tasks/
|
|
|
|
- `SKILL.md` — kiro-spec-tasks Skill (~2473 tok)
|
|
|
|
## .claude/skills/kiro-spec-tasks/rules/
|
|
|
|
- `tasks-generation.md` — Task Generation Rules (~2773 tok)
|
|
- `tasks-parallel-analysis.md` — Parallel Task Analysis Rules (~633 tok)
|
|
|
|
## .claude/skills/kiro-spec-tasks/templates/specs/
|
|
|
|
- `tasks.md` — Implementation Plan (~318 tok)
|
|
|
|
## .claude/skills/kiro-steering-custom/
|
|
|
|
- `SKILL.md` — kiro-steering-custom Skill (~1230 tok)
|
|
|
|
## .claude/skills/kiro-steering-custom/rules/
|
|
|
|
- `steering-principles.md` — Steering Principles (~593 tok)
|
|
|
|
## .claude/skills/kiro-steering-custom/templates/steering-custom/
|
|
|
|
- `api-standards.md` — API Standards (~415 tok)
|
|
- `authentication.md` — Authentication & Authorization Standards (~523 tok)
|
|
- `database.md` — Database Standards (~377 tok)
|
|
- `deployment.md` — Deployment Standards (~441 tok)
|
|
- `error-handling.md` — Error Handling Standards (~549 tok)
|
|
- `security.md` — Security Standards (~523 tok)
|
|
- `testing.md` — Testing Standards (~325 tok)
|
|
|
|
## .claude/skills/kiro-steering/
|
|
|
|
- `SKILL.md` — kiro-steering Skill (~1191 tok)
|
|
|
|
## .claude/skills/kiro-steering/rules/
|
|
|
|
- `steering-principles.md` — Steering Principles (~593 tok)
|
|
|
|
## .claude/skills/kiro-steering/templates/steering/
|
|
|
|
- `product.md` — Product Overview (~89 tok)
|
|
- `structure.md` — Project Structure (~218 tok)
|
|
- `tech.md` — Technology Stack (~198 tok)
|
|
|
|
## .claude/skills/kiro-validate-design/
|
|
|
|
- `SKILL.md` — kiro-validate-design Skill (~1296 tok)
|
|
|
|
## .claude/skills/kiro-validate-design/rules/
|
|
|
|
- `design-review.md` — Design Review Process (~1090 tok)
|
|
|
|
## .claude/skills/kiro-validate-gap/
|
|
|
|
- `SKILL.md` — kiro-validate-gap Skill (~1385 tok)
|
|
|
|
## .claude/skills/kiro-validate-gap/rules/
|
|
|
|
- `gap-analysis.md` — Gap Analysis Process (~1266 tok)
|
|
|
|
## .claude/skills/kiro-validate-impl/
|
|
|
|
- `SKILL.md` — kiro-validate-impl Skill (~2826 tok)
|
|
|
|
## .claude/skills/kiro-verify-completion/
|
|
|
|
- `SKILL.md` — kiro-verify-completion (~972 tok)
|
|
|
|
## .claude/skills/xce-build/
|
|
|
|
- `SKILL.md` — build xce source code (~112 tok)
|
|
|
|
## .claude/skills/xce-deploy-ha/
|
|
|
|
- `SKILL.md` — XCE HA Cluster Deployment (~1334 tok)
|
|
|
|
## .code-review-graph/
|
|
|
|
- `.gitignore` — Git ignore rules (~38 tok)
|
|
|
|
## .codegraph/
|
|
|
|
- `.gitignore` — Git ignore rules (~47 tok)
|
|
- `codegraph.db-shm` (~8738 tok)
|
|
- `daemon.log` (~1092 tok)
|
|
- `daemon.pid` (~44 tok)
|
|
|
|
## .kiro/settings/rules/
|
|
|
|
- `design-discovery-full.md` — Full Discovery Process for Technical Design (~949 tok)
|
|
- `design-discovery-light.md` — Light Discovery Process for Extensions (~389 tok)
|
|
- `design-principles.md` — Technical Design Rules and Principles (~2982 tok)
|
|
- `design-review-gate.md` — Design Review Gate (~1016 tok)
|
|
- `design-review.md` — Design Review Process (~1090 tok)
|
|
- `design-synthesis.md` — Design Synthesis (~464 tok)
|
|
- `ears-format.md` — EARS Format Guidelines (~739 tok)
|
|
- `gap-analysis.md` — Gap Analysis Process (~1266 tok)
|
|
- `requirements-review-gate.md` — Requirements Review Gate (~924 tok)
|
|
- `steering-principles.md` — Steering Principles (~593 tok)
|
|
- `tasks-generation.md` — Task Generation Rules (~2773 tok)
|
|
- `tasks-parallel-analysis.md` — Parallel Task Analysis Rules (~633 tok)
|
|
|
|
## .kiro/settings/templates/specs/
|
|
|
|
- `design.md` — Design Document Template (~3303 tok)
|
|
- `init.json` (~125 tok)
|
|
- `requirements-init.md` — Requirements Document (~40 tok)
|
|
- `requirements.md` — Requirements Document (~325 tok)
|
|
- `research.md` — Research & Design Decisions Template (~586 tok)
|
|
- `tasks.md` — Implementation Plan (~318 tok)
|
|
|
|
## .kiro/settings/templates/steering-custom/
|
|
|
|
- `api-standards.md` — API Standards (~415 tok)
|
|
- `authentication.md` — Authentication & Authorization Standards (~523 tok)
|
|
- `database.md` — Database Standards (~377 tok)
|
|
- `deployment.md` — Deployment Standards (~441 tok)
|
|
- `error-handling.md` — Error Handling Standards (~549 tok)
|
|
- `security.md` — Security Standards (~523 tok)
|
|
- `testing.md` — Testing Standards (~325 tok)
|
|
|
|
## .kiro/settings/templates/steering/
|
|
|
|
- `product.md` — Product Overview (~89 tok)
|
|
- `structure.md` — Project Structure (~218 tok)
|
|
- `tech.md` — Technology Stack (~198 tok)
|
|
|
|
## .kiro/specs/.claude/
|
|
|
|
- `ucai-formatter-cache.local.json` (~17 tok)
|
|
|
|
## .kiro/specs/election-iomgr-refactor/
|
|
|
|
- `design.md` — Design Document: election-iomgr-refactor (~6671 tok)
|
|
- `requirements.md` — Requirements Document (~2695 tok)
|
|
- `research.md` — Research & Design Decisions (~8796 tok)
|
|
- `spec.json` (~129 tok)
|
|
- `tasks.md` — Implementation Plan (~3693 tok)
|
|
|
|
## .kiro/specs/ha-config-bootstrap/
|
|
|
|
- `brief.md` — Brief: ha-election-raft-config (~16310 tok)
|
|
- `design.md` — Design: HA Config Bootstrap & Raft-Style Quorum Election (~11439 tok)
|
|
- `election-trace.md` — Election Trace: 3-Node Cold Start (2026-06-04 00:15:58) (~2907 tok)
|
|
- `manual-tests.md` — Manual Integration Tests: ha-config-bootstrap (~3748 tok)
|
|
- `requirements.md` — Requirements: HA Config Bootstrap & Raft-Style Quorum Election (~3890 tok)
|
|
- `research.md` — Cross-Spec Gap Audit (2026-06-03) (~14349 tok)
|
|
- `spec.json` (~198 tok)
|
|
- `tasks.md` — Implementation Plan: HA Config Bootstrap & Raft-Style Quorum Election (~5619 tok)
|
|
|
|
## .kiro/specs/ha-heartbeat-liveness/
|
|
|
|
- `design.md` — Design Document: ha-heartbeat-liveness (~5409 tok)
|
|
- `manual-tests.md` — Manual Integration Tests: ha-heartbeat-liveness — Task 4.5 (~1726 tok)
|
|
- `requirements.md` — Requirements Document (~2054 tok)
|
|
- `research.md` — Gap Analysis: ha-heartbeat-liveness (~5437 tok)
|
|
- `spec.json` (~129 tok)
|
|
- `tasks.md` — Implementation Plan (~2227 tok)
|
|
|
|
## .kiro/specs/ha-peer-connection-reuse/
|
|
|
|
- `design.md` — Design Document: ha-peer-connection-reuse (~5369 tok)
|
|
- `requirements.md` — Requirements Document (~1605 tok)
|
|
- `research.md` — Research & Design Decisions: ha-peer-connection-reuse (~6598 tok)
|
|
- `spec.json` (~130 tok)
|
|
- `tasks.md` — Implementation Plan: ha-peer-connection-reuse (~2022 tok)
|
|
|
|
## .kiro/specs/ha-repl-hardening/
|
|
|
|
- `design.md` — Design: HA Replication Hardening (~5514 tok)
|
|
- `raft-tla-audit.md` — Raft TLA+ Specification Audit (~1591 tok)
|
|
- `requirements.md` — Requirements Document (~2817 tok)
|
|
- `research.md` — Gap Analysis: HA Replication Hardening (~6234 tok)
|
|
- `spec.json` (~165 tok)
|
|
- `tasks.md` — Implementation Plan: HA Replication Hardening (~4464 tok)
|
|
|
|
## .kiro/specs/raft-library/
|
|
|
|
- `design.md` — Design Document: raft-library (~7756 tok)
|
|
- `requirements.md` — Requirements Document (~2115 tok)
|
|
- `research.md` — Research & Design Decisions: raft-library (~3768 tok)
|
|
- `spec.json` (~127 tok)
|
|
- `tasks.md` — Implementation Plan (~4312 tok)
|
|
|
|
## .kiro/specs/resval-id-decoupling/
|
|
|
|
- `design.md` — Design: resval-id-decoupling (~3914 tok)
|
|
- `requirements.md` — Requirements: resval-id-decoupling (~2360 tok)
|
|
- `research.md` — Gap Analysis: resval-id-decoupling (~5568 tok)
|
|
- `spec.json` — Declares is (~226 tok)
|
|
- `tasks.md` — Implementation Tasks: resval-id-decoupling (~2424 tok)
|
|
|
|
## .kiro/specs/scheduler-controller-msg-gap/
|
|
|
|
- `design.md` — Design: scheduler-controller-msg-gap (~4756 tok)
|
|
- `requirements.md` — Requirements: scheduler-controller-msg-gap (~2712 tok)
|
|
- `research.md` — Research Log: scheduler-controller-msg-gap (~5630 tok)
|
|
- `spec.json` (~184 tok)
|
|
- `tasks.md` — Tasks: scheduler-controller-msg-gap (~2324 tok)
|
|
|
|
## .kiro/specs/worker-join-refactor/
|
|
|
|
- `design.md` — Design Document: worker-join-refactor (~4709 tok)
|
|
- `requirements.md` — Requirements Document (~1401 tok)
|
|
- `research.md` — Research Log: worker-join-refactor (~5421 tok)
|
|
- `spec.json` (~128 tok)
|
|
- `tasks.md` — Implementation Plan (~1658 tok)
|
|
|
|
## .kiro/steering/
|
|
|
|
- `error-handling.md` — Error Handling Standards (~782 tok)
|
|
- `product.md` — Product Overview (~836 tok)
|
|
- `security.md` — Security Standards (~804 tok)
|
|
- `structure.md` — Project Structure (~1139 tok)
|
|
- `tech.md` — Technology Stack (~1041 tok)
|
|
- `testing.md` — Testing Standards (~741 tok)
|
|
|
|
## docs/superpowers/plans/
|
|
|
|
- `2026-05-07-p0-single-controller-persistence.md` — P0: Single-Controller Persistence — Implementation Plan (~13327 tok)
|
|
- `2026-05-07-p1-ha-foundation.md` — P1: HA Foundation — Implementation Plan (~13491 tok)
|
|
- `2026-05-07-p2-replication.md` — P2: Replication (Fan-Out TCP) — TDD Implementation Plan (~12797 tok)
|
|
- `2026-05-07-p25-discovery.md` — P2.5: libxce Smart Discovery — TDD Implementation Plan (~10344 tok)
|
|
- `2026-05-07-p3-hardening.md` — P3: Integration & Hardening — TDD Implementation Plan (~9628 tok)
|
|
- `2026-05-07-persistence-ha-overview.md` — XCE Persistence & HA — Implementation Overview (~558 tok)
|
|
- `2026-05-13-config-replication.md` — Config Replication Implementation Plan (~21611 tok)
|
|
- `2026-05-20-config-repl-wire-protocol.md` — Config Replication — Wire Protocol Completion + Bug Fixes (~5134 tok)
|
|
|
|
## ha/data/
|
|
|
|
- `xce.crt` — ---BEGIN CERTIFICATE----- (~381 tok)
|
|
- `xce.key` — ---BEGIN PRIVATE KEY----- (~455 tok)
|
|
|
|
## raft/
|
|
|
|
- `raft.tla` — ------------------------------- MODULE raft --------------------------------- (~5350 tok)
|
|
|
|
## src/
|
|
|
|
- `flake.nix` (~571 tok)
|
|
- `meson.build` (~623 tok)
|
|
- `meson.options` (~90 tok)
|
|
|
|
## src/.claude/
|
|
|
|
- `ucai-formatter-cache.local.json` (~17 tok)
|
|
|
|
## src/autoscaler/
|
|
|
|
- `meson.build` (~163 tok)
|
|
|
|
## src/autoscaler/providers/
|
|
|
|
- `meson.build` (~342 tok)
|
|
|
|
## src/autoscaler/providers/baidu/
|
|
|
|
- `BccTool.env` (~64 tok)
|
|
|
|
## src/autoscaler/providers/baidu/lsf/conf/
|
|
|
|
- `baiduprov_config.json` (~44 tok)
|
|
- `baiduprov_templates.json` (~431 tok)
|
|
- `credentials` (~25 tok)
|
|
- `logger.yaml` (~196 tok)
|
|
|
|
## src/autoscaler/providers/baidu/postprovision/lsf/
|
|
|
|
- `example_user_data.sh` (~486 tok)
|
|
|
|
## src/autoscaler/providers/baidu/scripts/
|
|
|
|
- `getAvailableMachines.sh` — This script: (~112 tok)
|
|
- `getAvailableTemplates.sh` — This script: (~110 tok)
|
|
- `getRequestStatus.sh` — This script: (~110 tok)
|
|
- `getReturnRequests.sh` — This script: (~110 tok)
|
|
- `requestMachines.sh` — This script: (~110 tok)
|
|
- `requestReturnMachines.sh` — This script: (~110 tok)
|
|
|
|
## src/autoscaler/providers/baidu/src/bcctool/
|
|
|
|
- `BccTool.env` (~64 tok)
|
|
- `go.mod` — Go module definition (~136 tok)
|
|
- `go.sum` — Go dependency checksums (~566 tok)
|
|
- `main.go` (~355 tok)
|
|
|
|
## src/autoscaler/providers/baidu/src/bcctool/client/
|
|
|
|
- `bccClient.go` — ProvCloudClient (63 fields); methods: CreateInstances, ReleaseInstances, ListInstancesByTag, ListAllInstances (~3781 tok)
|
|
|
|
## src/autoscaler/providers/baidu/src/bcctool/enums/
|
|
|
|
- `provCode.go` — All error codes used in the Baidu Cloud provider plugin (~1198 tok)
|
|
|
|
## src/autoscaler/providers/baidu/src/bcctool/model/
|
|
|
|
- `types.go` — ClientCredential (149 fields); methods: IsBidTemplate, GetNcpus, GetMemory, String (~4213 tok)
|
|
|
|
## src/autoscaler/providers/baidu/src/bcctool/provconst/
|
|
|
|
- `bdConst.go` — Declares var (~311 tok)
|
|
|
|
## src/autoscaler/providers/baidu/src/bcctool/provservices/
|
|
|
|
- `provService.go` — GetAvailableTemplates, CreateInstancesFromFile, DeleteInstancesFromFile, SyncInstancesStatusFromFile, GetRequestStatusFromFile (~3661 tok)
|
|
|
|
## src/autoscaler/providers/baidu/src/bcctool/utils/
|
|
|
|
- `envvars.go` — InitEnvVars (~696 tok)
|
|
- `jsonUtils.go` — LoadProvTemplates, LoadProvConfig, LoadNodeCreationInputFile, LoadGetReturnRequestInputFile + 6 more (~2660 tok)
|
|
- `logger.go` — Config (50 fields) (~1649 tok)
|
|
- `provUtils.go` — InitProv, ExitWithError, Result, CreationTimeout, TerminationTimeout (~718 tok)
|
|
|
|
## src/autoscaler/scaler/
|
|
|
|
- `obj_mgr.c` — include <errno.h> (~3260 tok)
|
|
- `plug_mgr.c` — Main functions: (~4412 tok)
|
|
- `prov_conf.c` — include "prov_conf.h" (~2721 tok)
|
|
- `scaler_ctx.c` — include <string.h> (~547 tok)
|
|
- `scaler_json.c` — include <stdio.h> (~3716 tok)
|
|
- `scaler_misc.c` — include <math.h> (~1482 tok)
|
|
- `scaler_obj.c` — include "scaler_obj.h" (~2462 tok)
|
|
- `scaler.c` — include <errno.h> (~5076 tok)
|
|
|
|
## src/autoscaler/scaler/conf/
|
|
|
|
- `hostProviders.json` (~60 tok)
|
|
- `hostProviders.yaml` (~35 tok)
|
|
|
|
## src/autoscaler/scaler/include/
|
|
|
|
- `obj_mgr.h` — ifndef _OBJ_MGR_H_ (~492 tok)
|
|
- `plug_mgr.h` — ifndef _PLUG_MGR_H_ (~119 tok)
|
|
- `prov_conf.h` — ifndef _SCALER_CONF_H_ (~132 tok)
|
|
- `scaler_ctx.h` — ifndef _SCALER_CTX_H_ (~73 tok)
|
|
- `scaler_json.h` — ifndef __JSON_UTILS_H__ (~267 tok)
|
|
- `scaler_misc.h` — ifndef _SCALER_MISC_H_ (~203 tok)
|
|
- `scaler_obj.h` — ifndef _SCALER_OBJ_H_ (~273 tok)
|
|
- `scaler.h` — ifndef _SCALER_H_ (~384 tok)
|
|
|
|
## src/autoscaler/scaler/include/scaler/
|
|
|
|
- `types.h` — ifndef _SCALER_TYPES_H_ (~1091 tok)
|
|
|
|
## src/autoscaler/scaler/testsuite/
|
|
|
|
- `test_plug_mgr.c` — include <stdlib.h> (~1794 tok)
|
|
- `test_scale_misc.c` — include <stdio.h> (~1258 tok)
|
|
- `test.c` — include <stdio.h> (~97 tok)
|
|
|
|
## src/autoscaler/scaler/testsuite/scripts/
|
|
|
|
- `getAvailableTemplates.sh` (~242 tok)
|
|
- `getRequestStatus.sh` — Parse command line arguments (~644 tok)
|
|
- `getReturnRequests.sh` (~44 tok)
|
|
- `requestMachines.sh` (~20 tok)
|
|
- `requestReturnMachines.sh` (~38 tok)
|
|
|
|
## src/controller/
|
|
|
|
- `.ha.c.~undo-tree~` — Declares xce_cluster_config_t (~40575 tok)
|
|
- `apiserver.c` — include <errno.h> (~5303 tok)
|
|
- `CLAUDE.md` — XCE Controller (~2630 tok)
|
|
- `cluster.c` — include "config.h" (~12336 tok)
|
|
- `config_repl.c` — define _GNU_SOURCE (~14877 tok)
|
|
- `config_repl.h` — pragma once (~2658 tok)
|
|
- `ctrl_metrics.c` — include "ctrl_metrics.h" (~767 tok)
|
|
- `dataex.c` — include <errno.h> (~2466 tok)
|
|
- `ha.c` — define _GNU_SOURCE (~40638 tok)
|
|
- `ha.h` — ifndef HA_H (~10066 tok)
|
|
- `job.c` — include <errno.h> (~8259 tok)
|
|
- `join.c` — include "config.h" (~2514 tok)
|
|
- `main.c` — include <argp.h> (~2262 tok)
|
|
- `meson.build` (~1080 tok)
|
|
- `misc.c` — include <errno.h> (~1359 tok)
|
|
- `myapp.c` — define _GNU_SOURCE (~3831 tok)
|
|
- `myconf.c` — define _GNU_SOURCE (~1179 tok)
|
|
- `opget.c` — include "config.h" (~1725 tok)
|
|
- `opupd.c` — include "config.h" (~714 tok)
|
|
- `persist.c` — define _GNU_SOURCE (~14023 tok)
|
|
- `queue.c` — include <errno.h> (~1260 tok)
|
|
- `repl.c` — include <assert.h> (~4248 tok)
|
|
- `reply.c` — include "config.h" (~590 tok)
|
|
- `resources.c` — include <errno.h> (~50 tok)
|
|
- `sched.c` — include <errno.h> (~5230 tok)
|
|
- `startup_validation.c` — define _GNU_SOURCE (~1524 tok)
|
|
- `task.c` — include <errno.h> (~1376 tok)
|
|
- `worker.c` — include <errno.h> (~5201 tok)
|
|
|
|
## src/controller/include/
|
|
|
|
- `cluster.h` — if !defined(_CLUSTER_H_) (~1788 tok)
|
|
- `worker.h` — if !defined(_WORKER_H_) (~190 tok)
|
|
|
|
## src/controller/testsuite/
|
|
|
|
- `controller_test.c` — include <argp.h> (~1398 tok)
|
|
- `test_cluster_persist.c` — define _GNU_SOURCE (~1062 tok)
|
|
- `test_config_repl.c` — define _GNU_SOURCE (~23709 tok)
|
|
- `test_ctrl_metrics.c` — define _GNU_SOURCE (~940 tok)
|
|
- `test_e2e_capnp.c` — include <stdint.h> (~1690 tok)
|
|
- `test_e2e_checkpoint.c` — define _GNU_SOURCE (~1793 tok)
|
|
- `test_e2e_gc.c` — define _GNU_SOURCE (~1665 tok)
|
|
- `test_e2e_hooks.c` — define _GNU_SOURCE (~2346 tok)
|
|
- `test_e2e_wal.c` — define _GNU_SOURCE (~2546 tok)
|
|
- `test_gc_retention.c` — define _GNU_SOURCE (~2447 tok)
|
|
- `test_ha_bootstrap_support.c` — ifdef XCE_TESTING (~1080 tok)
|
|
- `test_ha_bootstrap.c` — does: defer_config_fetch (~6244 tok)
|
|
- `test_ha_cluster.c` — include <stdatomic.h> (~1351 tok)
|
|
- `test_ha_connection_reuse.c` — define _GNU_SOURCE (~6320 tok)
|
|
- `test_ha_ctrlhello.c` (~1416 tok)
|
|
- `test_ha_durability.c` — Declares char (~4366 tok)
|
|
- `test_ha_election.c` — Declares char (~11940 tok)
|
|
- `test_ha_evaluate_committing.c` — Declares checks (~8203 tok)
|
|
- `test_ha_failover.c` — define _GNU_SOURCE (~4051 tok)
|
|
- `test_ha_liveness.c` — Declares directly (~6435 tok)
|
|
- `test_ha_rdhup_integration.c` — Declares char (~4658 tok)
|
|
- `test_ha_redirect.c` — include <stdatomic.h> (~905 tok)
|
|
- `test_ha_repl_ack.c` (~3314 tok)
|
|
- `test_ha_repl_push.c` — Declares is (~3020 tok)
|
|
- `test_ha_role.c` — include <signal.h> (~10563 tok)
|
|
- `test_ha_start_election_async.c` — Declares returns (~2097 tok)
|
|
- `test_ha_startup.c` — Declares char (~9207 tok)
|
|
- `test_ha_vote_gate.c` — define _GNU_SOURCE (~2934 tok)
|
|
- `test_ha_vote_send.c` — define _GNU_SOURCE (~6038 tok)
|
|
- `test_hooks.c` — include <stdio.h> (~365 tok)
|
|
- `test_p1_integration.c` — include <stdatomic.h> (~1270 tok)
|
|
- `test_p2_integration.c` — include <errno.h> (~2096 tok)
|
|
- `test_p3_hardening.c` — define _GNU_SOURCE (~5003 tok)
|
|
- `test_p3_manual_failover.c` — include <stdatomic.h> (~984 tok)
|
|
- `test_persist_checkpoint.c` — define _GNU_SOURCE (~1815 tok)
|
|
- `test_persist_hooks.c` — define _GNU_SOURCE (~4222 tok)
|
|
- `test_persist_recovery.c` — define _GNU_SOURCE (~2290 tok)
|
|
- `test_persist_repl.c` — include <errno.h> (~1396 tok)
|
|
- `test_persist_schema.c` — include <stdint.h> (~1190 tok)
|
|
- `test_persist_truncate.c` — define _GNU_SOURCE (~2114 tok)
|
|
- `test_persist_types.c` — include <stddef.h> (~697 tok)
|
|
- `test_persist_wal.c` — define _GNU_SOURCE (~1708 tok)
|
|
- `test_repl_apply.c` — include <stdio.h> (~1862 tok)
|
|
- `test_repl_catchup.c` — include <errno.h> (~1183 tok)
|
|
- `test_repl_majority.c` — include <errno.h> (~2258 tok)
|
|
- `test_repl_unit.c` — include <assert.h> (~1662 tok)
|
|
- `test_worker_join.c` — include <rtti.h> (~4851 tok)
|
|
- `test.c` — include <argp.h> (~18744 tok)
|
|
|
|
## src/docs/
|
|
|
|
- `apiserver-backend-enhancement-plan.md` — API Server Backend Enhancement Plan (~18355 tok)
|
|
- `apiserver-backend-gaps.md` — API Server Backend Gap Analysis (~3048 tok)
|
|
- `apiserver-backend-integration-test-plan.md` — Integration Test Plan — P0 + P1 Features (~5693 tok)
|
|
- `apiserver-backend-reviews.md` — Final Cross-Perspective Review — API Server Backend Enhancement Plan (~6046 tok)
|
|
- `apiserver-backend-tasks.md` — API Server Backend Enhancement — Task Tracker (~2318 tok)
|
|
- `cluster-config-split-analysis.md` — ClusterConfig Schema Split Analysis (~3448 tok)
|
|
- `config-replication-design.md` — XCE Controller: Configuration Replication Design (~31261 tok)
|
|
- `config-replication-gap-analysis.md` — Config Replication — Gap Analysis: Design vs Implementation (~2674 tok)
|
|
- `config-replication-impl-status.md` — Config Replication — Implementation Status (~2258 tok)
|
|
- `FUTURE_WORK.md` — XCE Controller: Future Work Items (~1087 tok)
|
|
- `p1-2-host-select.md` — P1-2: Host Resource Requirement Select — Investigation (~848 tok)
|
|
- `persistence-and-ha-design.md` — XCE Controller: State Persistence & High Availability Design (~98184 tok)
|
|
- `phase6-audit.md` — Phase 6 Pre-Audit: Single-Threaded Invariant and Stub Locations (~263 tok)
|
|
- `phase6-scheduler-integration-plan.md` — Phase 6 — Scheduler Integration Implementation Plan (~10358 tok)
|
|
- `resreq-ast-cse-design.md` — XCE Resource Requirement AST & CSE Design (~47536 tok)
|
|
- `resreq-ast-cse-impl-plan.md` — Resreq AST + CSE Implementation Plan (~5843 tok)
|
|
- `xce.md` — controller (~192 tok)
|
|
|
|
## src/frontend/
|
|
|
|
- `CLAUDE.md` — XCE Frontend (API Server + CLI) (~790 tok)
|
|
- `Makefile` — Make build targets (~408 tok)
|
|
- `meson.build` (~10 tok)
|
|
|
|
## src/frontend/apiserver/
|
|
|
|
- `go.mod` — Go module definition (~844 tok)
|
|
- `go.sum` — Go dependency checksums (~5760 tok)
|
|
- `meson.build` — frontend/apiserver — Go REST API server with CGO backend integration. (~563 tok)
|
|
- `README.md` — Project documentation (~42 tok)
|
|
|
|
## src/frontend/apiserver/backend/
|
|
|
|
- `clib.go` — go:build cgo (~3465 tok)
|
|
- `config.go` — BackendConfig holds connection parameters for the XCE controller. (~200 tok)
|
|
- `control_host_test.go` — go:build !cgo (~211 tok)
|
|
- `convert_pure.go` — rawStartInfo (93 fields) (~3096 tok)
|
|
- `convert_test.go` — TestRawJobToModel_BasicFields, TestRawJobToModel_NilSubmit, TestRawJobToModel_Timestamps, TestRawWorkerToModel_BasicFields + 14 more (~6770 tok)
|
|
- `convert.go` — go:build cgo (~3349 tok)
|
|
- `handler_test.go` — TestOnHostConfigUpdated_UnregisteredHostIgnored, TestOnHostConfigUpdated_DefaultPseudoHostIgnored, TestOnHostConfigUpdated_PartialMerge, TestOnClus... (~2994 tok)
|
|
- `handler.go` — DefaultHandler (8 fields); methods: OnJobCreated, OnJobUpdated, OnJobDeleted, OnJobFinished (~1054 tok)
|
|
- `heartbeat_test.go` — TestSetHeartbeatInterval_ValidValue, TestSetHeartbeatInterval_ZeroIgnored, TestSetHeartbeatInterval_NegativeIgnored, TestRunHeartbeat_CallsFunction... (~593 tok)
|
|
- `heartbeat.go` — SetHeartbeatInterval (~289 tok)
|
|
- `integration_test.go` — go:build !cgo (~4808 tok)
|
|
- `notification.go` — NotificationHandler defines callbacks for backend push events. (~241 tok)
|
|
- `peers_test.go` — TestParsePeer (~525 tok)
|
|
- `peers.go` (~180 tok)
|
|
- `stub_funcs_test.go` — go:build !cgo (~513 tok)
|
|
- `stub.go` — go:build !cgo (~455 tok)
|
|
- `val_helpers.h` — ifndef VAL_HELPERS_H (~260 tok)
|
|
|
|
## src/frontend/apiserver/backend/auth/
|
|
|
|
- `config_file_test.go` — TestConfigFileProvider_Authenticate, TestConfigFileProvider_GetUserRoles, TestConfigFileProvider_Name, TestNewConfigFileProvider_Errors + 3 more (~935 tok)
|
|
- `config_file.go` — AuthFileConfig (21 fields); methods: Authenticate, GetUserRoles, Name, AllUsers (~650 tok)
|
|
- `init.go` — InitAuthProvider (~280 tok)
|
|
- `ldap.go` — LDAPProvider is a stub for future LDAP authentication. (~156 tok)
|
|
- `oauth2.go` — OAuth2Provider is a stub for future OAuth2/OIDC authentication. (~162 tok)
|
|
- `pam_linux.go` — go:build linux && cgo (~973 tok)
|
|
- `pam_stub.go` — go:build !linux || !cgo (~100 tok)
|
|
- `pam.go` — PAMProvider authenticates users via the system PAM stack. (~106 tok)
|
|
- `provider.go` — UserRoleSeeder is an optional interface for providers that can enumerate all users. (~126 tok)
|
|
|
|
## src/frontend/apiserver/cmd/
|
|
|
|
- `main.go` (~973 tok)
|
|
|
|
## src/frontend/apiserver/common/
|
|
|
|
- `common.go` (~798 tok)
|
|
|
|
## src/frontend/apiserver/config/
|
|
|
|
- `app.yaml` (~519 tok)
|
|
- `auth.yaml` — Authentication provider: config_file | pam | ldap | oauth2 (~183 tok)
|
|
- `auth.yaml.example` — Authentication provider: config_file | pam | ldap | oauth2 (~151 tok)
|
|
- `logger.yaml` (~198 tok)
|
|
- `nginx.http.conf` — Declares application (~495 tok)
|
|
- `nginx.https.conf` — Declares application (~564 tok)
|
|
- `rbac_template.yaml` (~1339 tok)
|
|
- `rbac.yaml` (~1087 tok)
|
|
|
|
## src/frontend/apiserver/config/schema/
|
|
|
|
- `app_schema.json` (~1044 tok)
|
|
- `logger_schema.json` (~905 tok)
|
|
|
|
## src/frontend/apiserver/config/ssl/
|
|
|
|
- `openssl.cnf` (~99 tok)
|
|
- `server.crt` — ---BEGIN CERTIFICATE----- (~330 tok)
|
|
- `server.key` — ---BEGIN PRIVATE KEY----- (~455 tok)
|
|
|
|
## src/frontend/apiserver/controllers/
|
|
|
|
- `apikey.go` — APIKeyController (9 fields); methods: GenerateAPIKey (~382 tok)
|
|
- `auth.go` — AuthController (43 fields); methods: Logon, Logout (~1898 tok)
|
|
- `clusters.go` — ClusterController (31 fields); methods: GetClustersInfo (~1995 tok)
|
|
- `files.go` — FilesController (48 fields); methods: UploadFiles, DeleteFiles, GetFileLists (~4864 tok)
|
|
- `host_control_test.go` — TestPreCheckHostControlRequest_AllFlag, TestPreCheckHostControlRequest_NotAll, TestPreCheckHostControlRequest_NoRace, TestPreCheckHostControlReques... (~974 tok)
|
|
- `hosts.go` — HostHandler (54 fields); methods: GetHostsInfo, GetHostByHostname, FilterHostByResReqSelect, ControlHost (~5390 tok)
|
|
- `integration_test.go` — go:build !cgo (~5676 tok)
|
|
- `jobs_test.go` — TestPreCheckJobRequest_LostAndFound, TestPreCheckJobRequest_NormalQueue, TestPreCheckJobRequest_EmptyQueue (~640 tok)
|
|
- `jobs.go` — JobController (49 fields); methods: GetJobsInfo (~32939 tok)
|
|
- `permissions.go` — PermController (2 fields); methods: GetPermsInfo (~167 tok)
|
|
- `queue_control_test.go` — TestPreCheckQueueControlRequest_AllFlag, TestPreCheckQueueControlRequest_NotAll, TestPreCheckQueueControlRequest_NoRace, TestPreCheckQueueControlRe... (~984 tok)
|
|
- `queue_filter_test.go` — TestQueueFilter_AddedOnce, TestQueueFilter_NotAddedWhenUserSpecified, TestQueueFilter_NoQueues, TestQueueFilter_SingleFilter (~601 tok)
|
|
- `queues.go` — QueueController (51 fields); methods: GetQueuesInfo, GetQueueByName (~5525 tok)
|
|
- `rbac_check_test.go` — TestLoadRBACConfig_RolesPopulated, TestLoadRBACConfig_UserRoleMappings, TestLoadRBACConfig_RoleIncludes, TestLoadRBACConfig_EmptyRoles + 5 more (~2482 tok)
|
|
- `rbac_check.go` — RBACConfig (95 fields) (~3448 tok)
|
|
- `rbac_convention_test.go` — TestGetRequireResourcePermission_GoConvention, TestGetRequireResourcePermission_FoundPermission, TestDomainTypeConstants, TestGetAccessQueues_AllDo... (~945 tok)
|
|
- `resources.go` — ResourceController (59 fields); methods: GetResourcesDistributionInfo, GetResourcesDefinitionInfo (~3386 tok)
|
|
- `response.go` — JsonStruct (13 fields) (~610 tok)
|
|
- `roles.go` — RoleController (59 fields); methods: GetRolesInfo, GetRoleByRolename (~6979 tok)
|
|
- `users.go` — UserController (57 fields); methods: GetUserPermInfo, GetCurrentUserInfo, GetUserRolesInfo, DeleteRolesForUser (~4662 tok)
|
|
|
|
## src/frontend/apiserver/docs/
|
|
|
|
- `docs.go` — Code generated by swaggo/swag. DO NOT EDIT (~2852 tok)
|
|
- `swagger.json` (~2652 tok)
|
|
- `swagger.yaml` — Declares required (~1177 tok)
|
|
|
|
## src/frontend/apiserver/middleware/
|
|
|
|
- `cors_test.go` — TestCORSMiddleware_SetsHeaders, TestCORSMiddleware_Preflight, TestCORSMiddleware_Disabled (~458 tok)
|
|
- `cors.go` — CORSMiddleware, CORSOriginsFromConfig (~405 tok)
|
|
- `load_test.go` — AuthResponse (28 fields) (~728 tok)
|
|
- `rate_limit.go` — RateLimiter (22 fields); methods: Limit (~1044 tok)
|
|
- `README` (~7 tok)
|
|
- `startserver.go` — StartServer, GetIPAddresses (~813 tok)
|
|
- `test_rate_limit.bat` (~59 tok)
|
|
- `validatehandler.go` — ValidateHandler (~1013 tok)
|
|
- `whitelist_test.go` — TestPathMatchesPattern (~277 tok)
|
|
- `whitelist.go` — WhitelistURLMiddleware, WhitelistIPMiddleware (~1369 tok)
|
|
|
|
## src/frontend/apiserver/models/
|
|
|
|
- `apikey.go` — APIKeyController (10 fields) (~129 tok)
|
|
- `auth.go` — LogonRequest (19 fields) (~224 tok)
|
|
- `clusters_test.go` — TestClusterInfo_NewFields, TestClusterInfo_ExistingFieldsUnchanged (~1008 tok)
|
|
- `clusters.go` — ClusterInfo (18 fields) (~345 tok)
|
|
- `common.go` — ActionControl (6 fields) (~107 tok)
|
|
- `files.go` — FileUploadRequest (3 fields) (~42 tok)
|
|
- `hosts_test.go` — TestHostStateStr (~424 tok)
|
|
- `hosts.go` — HostInfo (39 fields) (~996 tok)
|
|
- `jobs_test.go` — TestJobStateStr, TestJobStatMapValues (~623 tok)
|
|
- `jobs.go` — JobArrayID (124 fields); methods: IsZero, MarshalJSON, Tm, String (~7102 tok)
|
|
- `queues.go` — QueueInfo (21 fields) (~523 tok)
|
|
- `resources.go` — ResourceInfo (45 fields); methods: String, String, ToJSON (~801 tok)
|
|
- `roles.go` — RoleFields (21 fields) (~652 tok)
|
|
- `users.go` — AddRoleForUserRequest (12 fields) (~178 tok)
|
|
|
|
## src/frontend/apiserver/router/
|
|
|
|
- `routers.go` — Router (~1891 tok)
|
|
|
|
## src/frontend/apiserver/services/
|
|
|
|
- `data_service.go` — QueryData, InsertEntity, DeleteEntity (~1002 tok)
|
|
- `job_service.go` — SubmitJob (~73 tok)
|
|
- `rbac_service.go` — GetUserPermissions (~225 tok)
|
|
|
|
## src/frontend/apiserver/store/
|
|
|
|
- `audit_test.go` — TestNoDanglingReferences, TestNoDBImportsInProductionCode (~1182 tok)
|
|
- `concurrency_test.go` — TestIntegration_ConcurrentConfigPushes, TestIntegration_ConcurrentHostControlAndConfigPush, TestIntegration_ConcurrentResourceValuePushes (~832 tok)
|
|
- `convert.go` — StructToOrderMap, StructsToOrderMaps, StoreToOrderMaps (~344 tok)
|
|
- `query.go` — ExecuteQuery, MatchesCondition, MatchesBitmaskCondition, IsBitmaskField + 4 more (~2568 tok)
|
|
- `store_test.go` — TestDataStore_BasicOperations, TestDataStore_ListKeysCount, TestDataStore_Filter, TestDataStore_Range, TestDataStore_ConcurrentAccess (~731 tok)
|
|
- `store.go` — DataStore is a generic thread-safe in-memory key-value store. (~572 tok)
|
|
- `stores.go` — Global store instances. (~1277 tok)
|
|
|
|
## src/frontend/apiserver/tools/encrypt/
|
|
|
|
- `crypter.go` — Encrypt, Decrypt (~792 tok)
|
|
|
|
## src/frontend/apiserver/utils/
|
|
|
|
- `cgo_stub.go` — This file is reserved for future CGo bindings to the backend C library. (~70 tok)
|
|
- `config_test.go` — TestResolveJWTSecret_EnvOverridesConfig, TestResolveJWTSecret_FallsBackToConfig, TestResolveJWTSecret_EmptyEnvUsesConfig (~224 tok)
|
|
- `config.go` — BackendConfig (79 fields) (~2434 tok)
|
|
- `crypto.go` — Encrypt, Decrypt (~425 tok)
|
|
- `logger.go` — Config (50 fields) (~1608 tok)
|
|
- `types.go` — Value (140 fields) (~4160 tok)
|
|
- `utils_test.go` — TestIntOrInt64 (~256 tok)
|
|
- `utils.go` — FilterCondition (142 fields) (~4853 tok)
|
|
|
|
## src/frontend/docs/
|
|
|
|
- `analysis.md` — API Server & Client Analysis (~2870 tok)
|
|
- `improvement_suggestions.md` — Code Improvement Suggestions (~1408 tok)
|
|
- `improvement_tasks.md` — Code Improvement Tasks (~370 tok)
|
|
- `integration_test.md` — Integration Test Report: xcecli ↔ apiserver (~3767 tok)
|
|
- `plan_t9_f1_f4.md` — Implementation Plan: T9, F1, F4 (~1039 tok)
|
|
- `status.md` — Project Status (~1169 tok)
|
|
|
|
## src/frontend/tests/regression/
|
|
|
|
- `run.sh` — Regression test suite: xcecli ↔ apiserver (~1787 tok)
|
|
|
|
## src/frontend/xcecli/
|
|
|
|
- `go.mod` — Go module definition (~316 tok)
|
|
- `go.sum` — Go dependency checksums (~1783 tok)
|
|
- `meson.build` — frontend/xcecli — Go CLI tool (~145 tok)
|
|
|
|
## src/frontend/xcecli/cmd/
|
|
|
|
- `main.go` (~561 tok)
|
|
|
|
## src/frontend/xcecli/cmd/auth/
|
|
|
|
- `list.go` — NewListCmd (~310 tok)
|
|
- `logon.go` — NewLogonCmd (~1692 tok)
|
|
- `logout_test.go` — TestRunLogout_WithURL, TestRunLogout_DefaultsToActiveServer, TestRunLogout_NotFound (~435 tok)
|
|
- `logout.go` — NewLogoutCmd (~512 tok)
|
|
|
|
## src/frontend/xcecli/cmd/auth/cert/
|
|
|
|
- `cert.go` — GeneratorCert, GetCertPath (~639 tok)
|
|
- `parser.go` (~221 tok)
|
|
|
|
## src/frontend/xcecli/cmd/clusters/
|
|
|
|
- `list.go` — NewClustersCmd (~558 tok)
|
|
|
|
## src/frontend/xcecli/cmd/hosts/
|
|
|
|
- `controller.go` — HostController (41 fields); methods: RunHostsControl, ParseCmdArgs (~1382 tok)
|
|
- `hosts.go` — NewHostsCmd (~233 tok)
|
|
- `list.go` — HostsQuerier (43 fields); methods: ParseCmdArgs, RunHostsList (~1627 tok)
|
|
- `select_test.go` — TestParseSelectArgs_RequiresResReq, TestParseSelectArgs_MaxLength, TestParseSelectArgs_Valid (~172 tok)
|
|
- `select.go` — HostSelector (24 fields) (~654 tok)
|
|
|
|
## src/frontend/xcecli/cmd/jobs/
|
|
|
|
- `controller.go` — JobController (75 fields); methods: RunJobsControl, ParseCmdArgs (~2610 tok)
|
|
- `files_test.go` — TestParseFileTransfer_ExplicitOperator, TestParseFileTransfer_PlainPath, TestParseFileTransfer_PlainFilename (~318 tok)
|
|
- `files.go` — fileTransfer (28 fields) (~1050 tok)
|
|
- `jobs.go` — NewJobsCmd (~307 tok)
|
|
- `list.go` — JobsQuerier (99 fields); methods: ParseCmdArgs, RunJobsList (~3826 tok)
|
|
- `restart.go` — JobRestart (18 fields); methods: ParseCmdArgs, RunJobsRestart (~570 tok)
|
|
- `submit.go` — JobSubmitter (135 fields); methods: ParseCmdArgs, BuildJobRequest, RunJobsSubmit (~6928 tok)
|
|
|
|
## src/frontend/xcecli/cmd/permissions/
|
|
|
|
- `list.go` — PermsQuerier (29 fields); methods: ParseCmdArgs, RunPermsList (~954 tok)
|
|
- `permissions.go` — NewPermsCmd (~168 tok)
|
|
|
|
## src/frontend/xcecli/cmd/queues/
|
|
|
|
- `controller.go` — QueueController (58 fields); methods: RunQueuesControl, ParseCmdArgs (~1933 tok)
|
|
- `list.go` — QueuesQuerier (45 fields); methods: ParseCmdArgs, RunQueuesList (~1570 tok)
|
|
- `queues.go` — NewQueuesCmd (~247 tok)
|
|
|
|
## src/frontend/xcecli/cmd/resources/
|
|
|
|
- `list.go` — ResourcesDistQuerier (79 fields); methods: ParseCmdArgs, ParseCmdArgs, RunResourcesDefList, RunResourcesDistList (~2860 tok)
|
|
- `resources.go` — NewResourcesCmd (~478 tok)
|
|
|
|
## src/frontend/xcecli/cmd/roles/
|
|
|
|
- `addrole.go` — RoleSubmitter (72 fields); methods: ParseCmdArgs, RunRolesAdd, RunPermsAdd, BuildRoleRequest (~2311 tok)
|
|
- `deleterole.go` — DeleteRole (20 fields); methods: ParseCmdArgs, RunDeleteRoleInfo (~642 tok)
|
|
- `list_test.go` — TestUniqueRoleNames_NoDuplicates, TestUniqueRoleNames_WithDuplicates, TestUniqueRoleNames_Empty, TestUniqueRoleNames_CrossPage, TestUserRoleNameCol... (~673 tok)
|
|
- `list.go` — RolesQuerier (53 fields); methods: ParseCmdArgs, RunRolesInfo (~1767 tok)
|
|
- `roles.go` — NewRolesCmd (~234 tok)
|
|
- `view.go` — NewViewRolesCmd (~434 tok)
|
|
|
|
## src/frontend/xcecli/cmd/users/
|
|
|
|
- `assignrole.go` — UserSubmitter (28 fields); methods: ParseCmdArgs, RunUserAssignRole, BuildUserRequest (~941 tok)
|
|
- `list_test.go` — TestUniqueUserNames_NoDuplicates, TestUniqueUserNames_WithDuplicates, TestUniqueUserNames_Empty, TestUniqueUserNames_CrossPage, TestUserRoleNameCol... (~668 tok)
|
|
- `list.go` — UserRolesQuerier (62 fields); methods: ParseCmdArgs, RunCurrentUserInfo, RunUserRolesInfo (~2090 tok)
|
|
- `perm4user.go` — Perms4User (35 fields); methods: ParseCmdArgs, RunUserPermsInfo (~1149 tok)
|
|
- `unassignrole.go` — UnassignUser (25 fields); methods: ParseCmdArgs, RunDeleteUserRoleInfo (~780 tok)
|
|
- `users.go` — NewUsersCmd (~305 tok)
|
|
- `view.go` — NewViewUserRolesCmd (~435 tok)
|
|
|
|
## src/frontend/xcecli/common/format/
|
|
|
|
- `jobid_test.go` — TestFormatJobIDRegular, TestFormatJobIDArray, TestParseJobIDRegular, TestParseJobIDArray + 5 more (~832 tok)
|
|
- `jobid.go` — FormatJobID, IsArrayJob, DecomposeJobID, MakeJobID + 4 more (~1758 tok)
|
|
|
|
## src/frontend/xcecli/common/output/
|
|
|
|
- `output_clusters.go` — Output (9 fields); methods: SetVerbose, SetNoHeader, SetWideFormat, ClusterPrintData (~317 tok)
|
|
- `page_print_array_elements_jobs.go` — ArrayElementsPagePrinter (44 fields); methods: PrepareForPrinting, PrintPage (~1818 tok)
|
|
- `page_print_array_jobs.go` — ArrayJobsPagePrinter (42 fields); methods: PrepareForPrinting, PrintPage (~1735 tok)
|
|
- `page_print_hosts_test.go` — TestFormatRows_UnavailShowsDashes, TestFormatRows_AvailableShowsValues (~670 tok)
|
|
- `page_print_hosts.go` — HostsPagePrinter (75 fields); methods: PrepareForPrinting, PrintPage (~2819 tok)
|
|
- `page_print_jobs.go` — JobsPagePrinter (89 fields); methods: PrepareForPrinting, PrintPage (~4288 tok)
|
|
- `page_print_queues.go` — QueuesPagePrinter (59 fields); methods: PrepareForPrinting, PrintPage (~2208 tok)
|
|
- `page_print_resources.go` — ResourcesPagePrinter (87 fields); methods: PrepareForPrinting, PrintPage (~3232 tok)
|
|
- `page_print_roles.go` — RolesPagePrinter (34 fields); methods: PrepareForPrinting, PrintPage (~1440 tok)
|
|
- `page_print_users.go` — UserRolesPagePrinter (26 fields); methods: PrepareForPrinting, PrintPage (~1038 tok)
|
|
- `page_print.go` — Interface: PagePrinter (12 methods) (~2439 tok)
|
|
- `time_test.go` — TestParseJobTime_RFC3339, TestParseJobTime_SpaceFormat, TestParseJobTime_Empty, TestFormatJobTime (~244 tok)
|
|
- `time.go` (~334 tok)
|
|
|
|
## src/frontend/xcecli/common/request/
|
|
|
|
- `request_test.go` — TestSetRootCAs_HTTPNoOp verifies HTTP clients are not affected. (~429 tok)
|
|
- `request.go` — APIResponse (97 fields); methods: SetRootCAs, Logon, GetRequestFromAPIServer, SubmitJob (~2977 tok)
|
|
|
|
## src/frontend/xcecli/common/utils/
|
|
|
|
- `utils.go` — SystemLimits (57 fields); methods: GetCPULimit, GetFileLimit, GetDataLimit, GetStackLimit (~2057 tok)
|
|
|
|
## src/frontend/xcecli/config/
|
|
|
|
- `config.go` — APIServerInfo (64 fields); methods: Len, Swap, Less, GetConfig (~1607 tok)
|
|
- `logger.go` — LoggerConfig (48 fields) (~1877 tok)
|
|
- `logger.yaml` (~205 tok)
|
|
|
|
## src/include/
|
|
|
|
- `request.h` — if !defined(_REQUEST_H_) (~2674 tok)
|
|
- `typemap.h` — if !defined(_TYPEMAP_H_) (~3873 tok)
|
|
|
|
## src/lib/
|
|
|
|
- `request.c` — include <errno.h> (~15394 tok)
|
|
|
|
## src/lib/testsuite/
|
|
|
|
- `test_wal_wire.c` — include <errno.h> (~2162 tok)
|
|
|
|
## src/schema/
|
|
|
|
- `controller.capnp` — Declares OPCode (~8251 tok)
|