feat(storage): add native PostgreSQL runtime and verified offline application import
Build and publish container images / images (push) Failing after 12m29s

This commit is contained in:
Anya Tokugawa committed 2026-11-15 05:47:14 +09:00
1 parent 96065d1e89
commit 0ba1dcfef0
243 files changed
+21441 -3090

No files matched your search

+12 -4
View File
@@ -15,17 +15,25 @@ import (
type Store struct {
// Standby is immutable for the lifetime of this process. Role changes require restart.
ReadOnly bool
StandbyReadUntil time.Time
BackgroundJobsDisabled bool
DB *sql.DB
ReadOnly bool
StandbyReadUntil time.Time
BackgroundJobsDisabled bool
DB *sql.DB
// Zero value preserves legacy SQLite Store literals. Native PostgreSQL is
// selected explicitly by its constructor; main remains gated until import
// and restore verification is complete.
sqlBackend storeSQLBackend
DocumentRoot string
documentMaterializerOnce sync.Once
documentMaterializer *geduldh.Materializer
pathCacheMu sync.RWMutex
revisionWriteMu sync.Mutex
childCache map[string][]string
childCacheGeneration int64
pathCacheEpoch uint64
authKey []byte
eventWorkerMu sync.Mutex
eventWorkerConn *sql.Conn
}
func New(