commit | 013f2d25560b9c09cf9e387fa7ab6f7bb7e58d45 | [log] [tgz] |
---|---|---|
author | Brian Sheedy <bsheedy@google.com> | Thu Sep 11 21:56:31 2025 -0700 |
committer | Dawn LUCI CQ <dawn-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Sep 11 21:56:31 2025 -0700 |
tree | e1bc41559090c6bf0b439e853cef1351fdb2ee89 | |
parent | a9061604eabb19af172ddffc11c3e6b3bc1a03aa [diff] |
Refactor test name truncation Refactors the logic used for determining if test names need to be truncated in order to fit within the 256 character limit for ResultDB. Previously, we checked if the test class + some fixed value + the sanitized name was less than some arbitrary number of characters. This was problematic since it did not cleanly take into account any prefixes added to the test class or test names that were significantly longer than the fixed value we used, leading to cases where tests were not truncated when they should be. Now, we keep track of the longest test name we've seen in the wild and truncate if that + the sanitized parameters are over a threshold. Bug: 413427416 Change-Id: I097f7a9f58ab5f2d74f61d0750e1fb60c3fa167f Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/261440 Reviewed-by: Kai Ninomiya <kainino@chromium.org> Commit-Queue: Kai Ninomiya <kainino@chromium.org> Auto-Submit: Brian Sheedy <bsheedy@google.com>
Dawn is an open-source and cross-platform implementation of the WebGPU standard. More precisely it implements webgpu.h
that is a one-to-one mapping with the WebGPU IDL. Dawn is meant to be integrated as part of a larger system and is the underlying implementation of WebGPU in Chromium.
Dawn provides several WebGPU building blocks:
webgpu.h
version that Dawn implements.webgpu.h
.Helpful links:
Developer documentation:
User documentation: (TODO, figure out what overlaps with the webgpu.h docs)
BSD 3-Clause License, please see LICENSE.
This is not an officially supported Google product.