internal/

directory
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2026 License: MIT

Directories

Path Synopsis
Package budget owns the single admission and accounting choke point for GitHub requests (SYNC_ENGINE C-B1..C-B6).
Package budget owns the single admission and accounting choke point for GitHub requests (SYNC_ENGINE C-B1..C-B6).
Package clocktest provides deterministic clocks for tests that coordinate concurrent work around absolute deadlines.
Package clocktest provides deterministic clocks for tests that coordinate concurrent work around absolute deadlines.
Package config loads ghsyncd configuration from the environment.
Package config loads ghsyncd configuration from the environment.
Package derive owns M5's pure derivation seam and C-P5 dirty-set drain loop.
Package derive owns M5's pure derivation seam and C-P5 dirty-set drain loop.
Package dispatch classifies durable webhook hints and coalesces them into River refresh jobs.
Package dispatch classifies durable webhook hints and coalesces them into River refresh jobs.
Package drift implements C-O3's sampled, full-fetch semantic validation.
Package drift implements C-O3's sampled, full-fetch semantic validation.
Package fakegithub provides a scriptable GitHub HTTP server for integration tests and local load-replay runs.
Package fakegithub provides a scriptable GitHub HTTP server for integration tests and local load-replay runs.
Package fetch turns durable River pointers into budget-gated authoritative GitHub fetches and transactional mirror writes.
Package fetch turns durable River pointers into budget-gated authoritative GitHub fetches and transactional mirror writes.
Package gh holds GitHub client plumbing shared by the sync engine and the fake GitHub test server.
Package gh holds GitHub client plumbing shared by the sync engine and the fake GitHub test server.
Package ingress implements the intentionally small webhook commit path.
Package ingress implements the intentionally small webhook commit path.
Package metrics owns ghsync's OpenTelemetry meter provider and Prometheus exposition.
Package metrics owns ghsync's OpenTelemetry meter provider and Prometheus exposition.
Package observer provides shared observer-composition helpers.
Package observer provides shared observer-composition helpers.
Package opsstate persists trust-critical operation completion heartbeats.
Package opsstate persists trust-critical operation completion heartbeats.
Package outbox owns the database-level protocol shared by every internal change-event writer and by the visibility watermarker.
Package outbox owns the database-level protocol shared by every internal change-event writer and by the visibility watermarker.
Package pipeline carries one event-origin timestamp and the latest real cache-transaction commit through refresh fan-out.
Package pipeline carries one event-origin timestamp and the latest real cache-transaction commit through refresh fan-out.
Package queue wires River with the sync engine's three priority-class queues (SYNC_ENGINE C-B3): interactive > event > sweep.
Package queue wires River with the sync engine's three priority-class queues (SYNC_ENGINE C-B3): interactive > event > sweep.
Package repoutil contains small repository-sync helpers shared by fetch, sweep, and drift.
Package repoutil contains small repository-sync helpers shared by fetch, sweep, and drift.
Package store owns Postgres connectivity and schema migration.
Package store owns Postgres connectivity and schema migration.
Package stream owns the C-S2 visibility watermark and C-S7 retention machinery for the transactional change-event outbox.
Package stream owns the C-S2 visibility watermark and C-S7 retention machinery for the transactional change-event outbox.
Package sweep implements M4's bounded-staleness reconciliation, resumable authoritative listings, disappearance verification, delivery-gap healing, and retention work on River's sweep queue.
Package sweep implements M4's bounded-staleness reconciliation, resumable authoritative listings, disappearance verification, delivery-gap healing, and retention work on River's sweep queue.
Package telemetry owns ghsync's OpenTelemetry tracing runtime.
Package telemetry owns ghsync's OpenTelemetry tracing runtime.
Package testdb provides fully isolated, migrated Postgres databases for integration tests.
Package testdb provides fully isolated, migrated Postgres databases for integration tests.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL