From 064bd0d9c7e60245d514caf44b9636d49c036e9b Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Fri, 26 Jun 2026 14:15:11 +0200 Subject: [PATCH 1/2] CI: Use correct path to the glean schema in the CI check This check was added in 7d2589a7ca9 in February 2020. The schema was removed to the top-level in March 2020. That made the CI test ineffective. Noone ever noticed. This is not good. --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 154e3d841e..30af27d0d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -288,7 +288,7 @@ jobs: name: Check vendored schema for upstream updates command: | bin/update-schema.sh HEAD - if ! git diff --exit-code HEAD -- glean-core/preview/tests/glean.1.schema.json; then + if ! git diff --exit-code HEAD -- glean.1.schema.json; then echo "====================================" echo "Latest schema from upstream changed." echo "Please regenerate the file using:" From 80e30cf7b3e06d4baf9351ddb8e07d3623fe269b Mon Sep 17 00:00:00 2001 From: Jan-Erik Rediger Date: Fri, 26 Jun 2026 14:17:12 +0200 Subject: [PATCH 2/2] Update bundled schema [doc only] --- glean.1.schema.json | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/glean.1.schema.json b/glean.1.schema.json index d80b1adfe1..530e454275 100644 --- a/glean.1.schema.json +++ b/glean.1.schema.json @@ -923,6 +923,15 @@ "type": "string" }, "type": "object" + }, + "session_sample_rate": { + "description": "Remote override for the session sampling rate (0.0–1.0).", + "maximum": 1.0, + "minimum": 0.0, + "type": [ + "number", + "null" + ] } }, "type": "object"