Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Release v1.18.0 - #1122

Open
ja573 wants to merge 37 commits into
masterfrom
claude/project-thread-pfo8i2
Open

ja573 wants to merge 37 commits into
masterfrom
claude/project-thread-pfo8i2

Conversation

@ja573

@ja573 ja573 commented Dec 4, 2026

Copy link
Copy Markdown
Member

Requested by Javi · project thread

Release v1.18.0: develop 232d0e9 (#1119 merged on the CTO's card go, 2026-12-04 23:50Z) plus the version bump and CHANGELOG section. The bump commit changes only CHANGELOG.md, the six Cargo.toml files and Cargo.lock, the same shape as the v1.17.0 bump.

What ships

Gates (thoth#1118, G3)

  • Spec R2.1 was approved, and the CTO chose to ride v1.18.0 on 2026-12-04 at 21:28Z.
  • B4 had two reviews at 41169e4 and two delta reviews at bc37e1b, all APPROVED. CI was 10/10 at bc37e1b.
  • The read-only preflight passed on test and on prod (23:50Z): 0/0/0 rows, fingerprint = F0, no dependents.

After merge (the CTO's)

Annotated tag v1.18.0 on the merge commit, then a GitHub Release (its published event runs the image workflow), then a back-merge of master into develop. Deploy test first, then prod, in the OPERAS block on 12-05 after 06:45Z, with a fresh RDS snapshot right before prod and no Sphinx writer running. The rollback target is v1.17.0.



Generated by Claude Code

ja573 added 30 commits December 2, 2026 18:40
Documentation only. Proposes that OASIS holds METRICS_COLLECT; serving, import and export stay gated by their own capabilities.
ADR-0017: Metrics collection is independent of package (PROPOSED)
Run cargo update and raise the actix-web and actix-http version floors
to the releases that fix RUSTSEC-2026-0446, -0447, -0448, -0455, -0552,
-0553 and -0554. The update also clears the advisories with compatible
fixes in rustls, rustls-webpki, webpki-roots, zstd, quinn-proto, url,
tokio, h2 0.4 and others.
actix-web 4.19 accepts cleartext HTTP/2 on a plain bind() by default.
Turn that off so the update does not change which protocols the servers
accept.
Limit account-level operations on the shared instance, define the
per-person role target, run the role sync and reconcile on the shared
job engine, keep the reconcile report-only until its own activation,
enforce the package-to-role matrix at authorization, and add the
changelog line.
Define base and package-dependent roles and correct invariant 10, word
the boundary to include the worker's identity jobs, bound account-level
operations to the deployment's directory, protect by allow-list, state
the residual takeover path and give the authorization rule its own
setting and place in rollout.
Close the third review's findings: one scope for account-level
operations, the authorization rule stays on while the switch is write,
and the CTO's recorded acceptance is cited for the API only.
Update dependencies to latest compatible versions (SEC-DEPS-01)
Check each document against three limits before anything parses it:
nesting depth (64), tokens (15,000) and names after fragment expansion
(15,000), the limits juniper 0.17.2 enforces. The check reads the
document with juniper's own lexer and never recurses. A document over a
limit gets an ordinary validation-style error response.

Addresses RUSTSEC-2026-0416 and RUSTSEC-2026-0417 until juniper is
upgraded.
…reads (#1108)

Review of the document limits found three ways past them:

- fragments that spread each other in a cycle, and a fragment defined
  twice, both make juniper's own validation do unbounded work before it
  refuses them, so the check now refuses both itself;
- the depth limit counted brackets in the text only, so a chain of
  fragment spreads nested without limit. Depth is now counted through
  spreads: a spread adds the fragment's expanded depth to its own.

Fragments are expanded in document order, so the result no longer
depends on hash order.

Tests: the reviewer's documents; boundaries for depth through
fragments; the handler refuses an over-limit document before the
mutation guard or execution parses it, in every guard mode; and a query
at the depth limit runs through the real schema's async execution on a
2 MiB stack.

The limits narrow what one request can cost. A document inside them can
still take a few seconds of CPU; the juniper upgrade remains the remedy
for RUSTSEC-2026-0416 and RUSTSEC-2026-0417.
Limit the depth and size of GraphQL documents (SEC-DEPS-02)
Add a dependency-audit workflow that runs cargo-audit on pull requests
that change a manifest, the lockfile or the audit configuration, and
daily on master and develop. Dependabot alerts cover only advisories
GitHub has reviewed, which left most RustSec advisories unreported.

.cargo/audit.toml lists the advisories that remain after the dependency
update, each with the reason it is accepted and when to remove it.
ADR-0018: Thoth-managed identity administration (PROPOSED)
Check Cargo.lock against the RustSec advisory database in CI (SEC-DEPS-03)
juniper 0.17 renames the scalars of uuid::Uuid and chrono::NaiveDate to UUID
and LocalDate. Thoth now defines Uuid and Date itself as transparent wrappers,
so the GraphQL schema is unchanged. The two juniper advisories leave the
audit ignore list.
…propagation in fragments

juniper 0.17 fixes error propagation inside fragments: an error on a non-null
field selected through a fragment now empties data, as it already did without
a fragment. Three tests asserted the old behaviour.
Upgrade juniper to 0.17.2 with the GraphQL schema unchanged
THOTH-ASYNC-01-CONTRACT-01, spec R2.1. One new migration (provisional
date) locks publisher and work, checks the seven legacy objects exist,
locks the three tables NOWAIT, asserts zero rows and drops them and the
four enums RESTRICT. down.sql is a schema-only recreation of the
v1.7.0 DDL for disposable databases.

schema.rs no longer declares the tables; the B3 rename guard and the
harness self-heal go; the job inventory, the metric_native_month
catalogue filter and the legacy audit follow. New tests T1 to T9 run
in throwaway databases.
@ja573 ja573 added the no changelog label Dec 4, 2026 — with Claude
@ja573 ja573 self-assigned this Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant