# Status review and baseline, 2026-11-08

> Where pgsilo stood on 2026-11-08, why testing did not close, the runtime baseline on 299378b and the two fixes that followed.

---

LLMS index: [llms.txt](/llms.txt)

---

| Field | Value |
| --- | --- |
| Date | 2026-11-08 |
| Applies to | Frozen local delivery `3c7fdc03`; baseline on `299378b`; fixes up to `1d387725c` (all on Silo branch `feat/pg-backend`, not pushed) |
| Finding | The feature scope was broad and well tested in October, but the evidence was split across candidates and the current source had never run. A GA-level gate set had kept testing open. |
| Led to | [MVP goal](/docs/s3/design/mvp-goal/) |
| Replaces | Nothing; this is a review record |
{.fields}

## State before the review {#state}

**Candidate identity was split.** No single commit carried complete runtime evidence:

| Commit | What had run |
| --- | --- |
| `dca464e5` (2026-10-07, schema 14) | All functional gates: `mint` full HTTP 872 pass / 8 NA and HTTPS 947 pass / 7 NA, Ceph `s3-tests` 195/195, `pgstore` kernel 185 top-level / 326 tests on PostgreSQL 16, 17 and 18, `cmd` and erasure-coded regression 1,336 top-level / 6,913 tests, 32 application checks, 28 Console checks, 10 Pigsty checks, 35 upgrade and recovery checks, 11 STS, 15 native authorization, 36 A/Z and 5 multi-gateway checks |
| `3c7fdc03` (2026-10-07, frozen delivery) | Eight files (+99/−34) after `dca464e5`. Focused regression tests, the formal 3-round performance run (with `SILO_PG_MAX_CONNS=72` and a Go SDK client for the 64-concurrency rows) and a 20-minute mixed preflight |
| `299378b` (2026-10-26) | October upstream sync plus two review fixes: 158 files, +19,000/−2,035 lines after `3c7fdc03`. Compiled and vetted only; no test had been executed |
{.wide}

**The frozen delivery was not publishable.** `3c7fdc03` was based on Silo code from 2026-09-26 and lacked the October upstream fixes (IAM credential boundaries, scoped STS revocation, Object Lock authorization and others), built for ARM64 only, and reported the version `DEVELOPMENT.GOGET`. It had never been pushed.

**Source entry points were broken.** The working checkouts the delivery records pointed to had been removed, the documented compile script referred to missing paths, and the October test environment no longer existed.

**The fork kept drifting.** Against the synced upstream (`RELEASE.2026-10-25`), the backend added about 17,200 production lines (Go store, 14 SQL migrations, gateway code), modified 79 upstream production files (+1,922/−425), and added about 22,400 test lines. By 2026-11-08 Silo `main` had 138 further commits; 16 of the files they changed were also modified by the backend, including new `ObjectOptions` semantics.

## Why testing did not close {#why-not-closed}

1. **The goal was GA-level.** It required stages 0–5, `mint` full, every application integration, HA, PITR and performance gates, and a 72-hour endurance run on the frozen candidate, with any later change to a persistence or concurrency path requiring the affected endurance to run again.
2. **Every change produced a new candidate.** At least six candidates followed each other, and results were never carried across candidates without a fresh run.
3. **The performance gate measured the client.** The 64-concurrency 4 KiB PUT target of 500 ops/s failed repeatedly with the Python client and passed only after the concurrency rows switched to the Go SDK.
4. **Most failures came from the test harness.** Of 14 preflight runs, 2 passed, 11 failed (mostly fixture errors such as port timing, parameter encoding and credential limits; one real race, later fixed) and 1 was stopped. Of about 45 performance-related runs, 1 was a formal pass and about 25 tested the harness itself.
5. **Evidence outgrew the work.** The run directory held 29,823 files (5.8 GB), including 95 self-verification receipts and 342 review documents.
6. **A real defect arrived late.** On 2026-10-07 an IAM cache defect after failover (same revision, different content) led to schema 14 and a rerun of almost every gate.
7. **The endurance run came last.** It could start only after everything else passed, and it was stopped at the user's request after about 4.05 hours. It is not a 72-hour pass.

## Decision {#decision}

Three release forms were compared. Merging into Silo as an experimental backend was chosen, because it stops the fork drift and reuses the Silo release pipeline. A standalone release would make the drift permanent. An extension-only release is not possible, because the project has no PostgreSQL extension. The goal itself is recorded in [MVP goal](/docs/s3/design/mvp-goal/).

## Runtime baseline on `299378b` {#baseline}

The release checklist ran on `299378b` on 2026-11-08 with PostgreSQL 18.6 and 16.15. Seven items passed: `pgstore` on both versions, `mint` core and full over HTTP and HTTPS (no failures; full-mode counts match October), Ceph 195/195, four client smokes, the Silo Console 2.6.0 smoke and an `amd64` smoke under emulation. The `cmd` regression had one failing test. Details and the performance numbers are on [Status](/docs/s3/status/#baseline).

Two environment effects were separated from product results: erasure-coded tests fail in bulk when the temporary directory's disk is nearly full, and seven file-permission tests fail when run as root.

## IAM snapshot assertion {#iam-snapshot}

`TestPGIAMPolicyReadersKeepCompleteSnapshot` failed in every run. Its last assertion, added during the October sync and never executed, expected a policy written directly with `pgstore.PutSystem` to stay outside the cache after `ListPolicies`. A control experiment wrote one policy and deleted another installed policy directly in storage, then compared two paths:

| Group | Operation | Added policy visible | Deleted policy visible | Installed / stored revision | Cache replaced |
| --- | --- | --- | --- | --- | --- |
| Start | — | No | Yes | 2 / 4 | — |
| A | `ListPolicies` only | Yes | No | 4 / 4 | Yes |
| B | `DeletePolicy` only | No | Yes | 2 / 5 | No |
{.wide}

The user, group, service-account and temporary-account list paths neither reloaded nor merged records.

Conclusion: `PutSystem` and `DeleteSystem` advance the stored revision, so the record was not outside it. In PostgreSQL mode, a policy listing reloads the complete snapshot at the stored revision and replaces the cache: additions and deletions appear together, and nothing is merged record by record. The behavior was the same on `3c7fdc03`. Commit `ca158fb6` rewrote the assertion to test that invariant, including the deleted record; product code was not changed.

## Request queue {#request-queue}

In PostgreSQL mode the request budget equals `SILO_PG_MAX_CONNS` (32 by default). Above it, builds up to `299378b` answered HTTP 429 `TooManyRequests` at once, and the default retry rules of the AWS SDK for Go v2 and `boto3` do not cover that response, so ordinary 64-client bursts failed.

Commit `1d387725c` makes a request wait up to `SILO_PG_QUEUE_TIMEOUT` (5 s by default) for a free slot without holding a database connection, stops waiting when the client disconnects, and answers HTTP 503 `SlowDown` when the wait expires. Erasure-coded mode is unchanged. With the default pool, 64 clients ran PUT and GET for 90 s each with no failed request; with the wait disabled, the SDK retried the 503 responses but 160 PUT and 188 GET requests still failed. Ceph 195/195 and `mint` core over HTTPS (644 pass, 6 NA) showed no regression. Numbers are on [Status](/docs/s3/status/#fixes).

## What remained open {#remaining}

- Merge prerequisites: the Silo release, the public `silo-pkg` annotation actions, and the user's decision.
- Release engineering: formal version string, `amd64` and `arm64` builds, DEB and RPM.
- Known issues listed on [Status](/docs/s3/status/#known-issues).

---

Backlinks:

- [Design](/docs/s3/design/)
- [MVP goal](/docs/s3/design/mvp-goal/)
- [Status](/docs/s3/status/)
