Skip to content

Bug 2065466 - Unconditionally set first_run_date to ensure pings are schema-conform - #3608

Merged
badboy merged 2 commits into
mainfrom
failing-test-case-for-bug-2065/xvzkunopkmtx
Nov 6, 2026
Merged

badboy merged 2 commits into
mainfrom
failing-test-case-for-bug-2065/xvzkunopkmtx

Conversation

@badboy

@badboy badboy commented Aug 21, 2026 •

Copy link
Copy Markdown
Member

Here's a failing test case for bug 2065466 (test setup copied from glean-core/rlb/tests/schema.rs)

This adds the test that on current main will fail.
It then adds the change that unconditionally sets first_run_date and os so that these pings pass the current schema (we might still relax the schema).

@badboy
badboy force-pushed the failing-test-case-for-bug-2065/xvzkunopkmtx branch from 36024c6 to a27cf00 Compare August 21, 2026 13:28
@badboy
badboy force-pushed the failing-test-case-for-bug-2065/xvzkunopkmtx branch from a27cf00 to d76af03 Compare October 29, 2026 09:55
Comment thread glean-core/src/core/mod.rs Resolved
@badboy badboy changed the title Bug 2065466 - Ride-along pings can be invalid according to the schema Bug 2065466 - Unconditionally set first_run_date to ensure pings are schema-conform Nov 4, 2026
@badboy
badboy marked this pull request as ready for review November 4, 2026 12:29
@badboy
badboy requested a review from a team as a code owner November 4, 2026 12:29
@badboy
badboy requested review from chutten and removed request for a team November 4, 2026 12:29
@badboy
badboy force-pushed the failing-test-case-for-bug-2065/xvzkunopkmtx branch from a3c5e03 to 0059fa5 Compare November 4, 2026 12:29
…ings can break the schema

If Glean is initialized with `upload_enabled=false` the `first_run_date`
(and `os`!) is never set, so `follows-collection-enabled=false` pings
are invalid against the schema, which requires `first_run_date` (and `os`).
@badboy
badboy force-pushed the failing-test-case-for-bug-2065/xvzkunopkmtx branch from 0059fa5 to 7410879 Compare November 6, 2026 11:29
@badboy
badboy merged commit 053c513 into main Nov 6, 2026
49 of 50 checks passed
@badboy
badboy deleted the failing-test-case-for-bug-2065/xvzkunopkmtx branch November 6, 2026 11:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants