Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dbc6200b76340c429945cfb392a1d7887faf9955
      
https://github.com/WebKit/WebKit/commit/dbc6200b76340c429945cfb392a1d7887faf9955
  Author: Issac Roy <[email protected]>
  Date:   2026-07-10 (Fri, 10 Jul 2026)

  Changed paths:
    A Tools/Scripts/libraries/resultsdbpy/resultsdbpy/model/ews_context.py

  Log Message:
  -----------
  TLF: Add results database schema for storing EWS test results and flaky tests
https://bugs.webkit.org/show_bug.cgi?id=319113
rdar://181932732

Reviewed by Jonathan Bedard.

Add the results database storage layer for EWS test results. EWSContext
defines two Cassandra tables, both clustered by configuration, suite and
branch. EWSFailedTestsByCommit keeps test in the partition key so one
test's failure history is a single-partition read, and uses the default
30-day TTL. EWSFlakyTestsByCommit keeps test as the leading clustering
key so the small per-configuration set of flaky tests can be listed or
checked cheaply, uses a shorter 7-day TTL so a test drops out of the
flaky set once it stops flaking, and adds a flaky_type column recording
how the flake was observed (InterStep, IntraStep, etc.). A details
column on the shared base carries a JSON blob for fields added after
deploy, avoiding Cassandra schema migrations.

This is the storage layer only; the API endpoints and ews-build
integration that read and write these tables follow in a separate change.

* Tools/Scripts/libraries/resultsdbpy/resultsdbpy/model/ews_context.py: Added.
(EWSContext):
(EWSContext.EWSResultsBase):
(EWSContext.EWSResultsBase.unpack):
(EWSContext.EWSFailedTestsByCommit):
(EWSContext.EWSFlakyTestsByCommit):
(EWSContext.EWSFlakyTestsByCommit.unpack):
(EWSContext.__init__):
(EWSContext.register):
(EWSContext.register_flaky):
(EWSContext._register):
(EWSContext._register.callback):
(EWSContext.find_for_test):
(EWSContext.find_flaky_for_test):
(EWSContext._find):

Canonical link: https://commits.webkit.org/316938@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to