Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
audit-log-server
command
audit-log-server is a simple HTTP server for audit log queries.
|
audit-log-server is a simple HTTP server for audit log queries. |
|
audit-logs
command
audit-logs is a CLI tool for querying audit logs from the commitgraph database.
|
audit-logs is a CLI tool for querying audit logs from the commitgraph database. |
|
enum-key-ids
command
|
|
|
extract-sample-cache-data
command
extract-sample-cache-data extracts a sample of author_login_cache pairs for testing.
|
extract-sample-cache-data extracts a sample of author_login_cache pairs for testing. |
|
extract-signatures
command
|
|
|
get-audit-logs
command
get-audit-logs is a CLI tool for querying exclusion audit logs.
|
get-audit-logs is a CLI tool for querying exclusion audit logs. |
|
investigate-email-resolution
command
investigate checks the current state of email_resolution table
|
investigate checks the current state of email_resolution table |
|
load-admin-aliases
command
load-admin-aliases loads admin-defined user aliases from declarative-config ConfigMap.
|
load-admin-aliases loads admin-defined user aliases from declarative-config ConfigMap. |
|
load-email-resolution-from-queue-api
command
main loads the queue-api email_resolution dump into Postgres via the ingest path.
|
main loads the queue-api email_resolution dump into Postgres via the ingest path. |
|
migration-worker
command
migration-worker runs the corpus migration as a long-lived Deployment with an internal claim/process/sleep loop.
|
migration-worker runs the corpus migration as a long-lived Deployment with an internal claim/process/sleep loop. |
|
repo-admin
command
repo-admin is an internal-only CLI tool for repo-level exclusion operations.
|
repo-admin is an internal-only CLI tool for repo-level exclusion operations. |
|
seed-author-login-cache
command
seed-author-login-cache seeds email_resolution from claude-leaderboard's frozen cache.
|
seed-author-login-cache seeds email_resolution from claude-leaderboard's frozen cache. |
|
seed-email-resolution
command
seed-email-resolution seeds email_resolution from claude-leaderboard's frozen author_login_cache.
|
seed-email-resolution seeds email_resolution from claude-leaderboard's frozen author_login_cache. |
|
test-db-connection
command
test-db-connection tests PostgreSQL database connectivity for commitgraph.
|
test-db-connection tests PostgreSQL database connectivity for commitgraph. |
|
test-exit-codes
command
test-exit-codes tests that RunSafe exits with the correct codes for various scenarios.
|
test-exit-codes tests that RunSafe exits with the correct codes for various scenarios. |
|
test-panic-recovery
command
test-panic-recovery is a test program that verifies panic recovery and error propagation across all error types and scenarios.
|
test-panic-recovery is a test program that verifies panic recovery and error propagation across all error types and scenarios. |
|
timestamp-verify
command
timestamp_verify compares timestamps between source and target databases.
|
timestamp_verify compares timestamps between source and target databases. |
|
validate-email-resolution
command
validate-email-resolution queries and validates email_resolution data
|
validate-email-resolution queries and validates email_resolution data |
|
validate-signature-catalog
command
validate-signature-catalog validates the completeness and consistency of the signature catalog
|
validate-signature-catalog validates the completeness and consistency of the signature catalog |
|
verify-email-resolution
command
verify-email-resolution queries and verifies data integrity in the email_resolution table.
|
verify-email-resolution queries and verifies data integrity in the email_resolution table. |
|
verify-email-resolution-dump
command
main verifies the email_resolution dump and shows statistics.
|
main verifies the email_resolution dump and shows statistics. |
|
verify-error-propagation
command
verify-error-propagation is a comprehensive test program that verifies error propagation across all entry points in the commitgraph project.
|
verify-error-propagation is a comprehensive test program that verifies error propagation across all entry points in the commitgraph project. |
|
verify-line-numbers
command
verify-line-numbers checks the accuracy of line numbers in the signature catalog
|
verify-line-numbers checks the accuracy of line numbers in the signature catalog |
|
verify-worker-timeouts
command
verify-worker-timeouts tests that statement_timeout and lock_timeout actually terminate stuck transactions and do not leave the xmin horizon pinned.
|
verify-worker-timeouts tests that statement_timeout and lock_timeout actually terminate stuck transactions and do not leave the xmin horizon pinned. |
|
watch-admin-alias-configmap
command
watch-admin-alias-configmap watches the admin-alias ConfigMap for changes and re-runs the loader whenever it changes.
|
watch-admin-alias-configmap watches the admin-alias ConfigMap for changes and re-runs the loader whenever it changes. |
|
containers
|
|
|
login-revalidation-worker
module
|
|
|
examples
|
|
|
cli-error-wrapping
command
|
|
|
pkg
|
|
|
aggregator
Package aggregator provides an example of how to use BuildSnapshotMetadata in the aggregator's publish cycle.
|
Package aggregator provides an example of how to use BuildSnapshotMetadata in the aggregator's publish cycle. |
|
audit
Package audit provides query functions for the exclusion audit log.
|
Package audit provides query functions for the exclusion audit log. |
|
cli
Package cli provides standard error handling infrastructure for CLI entry points.
|
Package cli provides standard error handling infrastructure for CLI entry points. |
|
client/github
Package github provides a client for checking GitHub user login status.
|
Package github provides a client for checking GitHub user login status. |
|
client/queueapi
Package queueapi provides a client for the queue-api ingest endpoint.
|
Package queueapi provides a client for the queue-api ingest endpoint. |
|
clierror
Package clierror provides reusable error catching templates and helpers.
|
Package clierror provides reusable error catching templates and helpers. |
|
errors
Package errors provides CLI error handling utilities.
|
Package errors provides CLI error handling utilities. |
|
handler
Package handler provides HTTP handlers for the audit log query API.
|
Package handler provides HTTP handlers for the audit log query API. |
|
identity
Package identity provides bulk identity resolution ingest functionality.
|
Package identity provides bulk identity resolution ingest functionality. |
|
ingestlog
Package ingestlog provides structured logging for ingest endpoint operations.
|
Package ingestlog provides structured logging for ingest endpoint operations. |
|
migration
Package migration provides migration progress tracking for corpus partition migration.
|
Package migration provides migration progress tracking for corpus partition migration. |
|
pg
Package pg provides database access functions for commitgraph Postgres tables.
|
Package pg provides database access functions for commitgraph Postgres tables. |
|
revalidation
Package revalidation provides the core logic for the login revalidation worker.
|
Package revalidation provides the core logic for the login revalidation worker. |
|
rollup
Package rollup provides rollup computation for commitgraph.
|
Package rollup provides rollup computation for commitgraph. |
|
service
Package service provides business logic services for audit log queries.
|
Package service provides business logic services for audit log queries. |
|
warmstart
Package warmstart implements materialization of git repository warm-start snapshots.
|
Package warmstart implements materialization of git repository warm-start snapshots. |
|
watcher
Package watcher provides file system watching with debouncing and retry logic.
|
Package watcher provides file system watching with debouncing and retry logic. |
Click to show internal directories.
Click to hide internal directories.