Revert "ResultDB: Hotfix for crbug/1340700."
This reverts commit 8bfa582fb1e6542855a6712d6f2577f888760366.
Reason for revert: this temporary fix is no longer needed
Original change's description:
> ResultDB: Hotfix for crbug/1340700.
>
> Bug: 1340700
> Change-Id: Ia3cd92dd052f0b84478a7b94f41408ceaab88608
> Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3736246
> Commit-Queue: Patrick Meiring <meiring@google.com>
> Reviewed-by: Patrick Meiring <meiring@google.com>
Bug: 1340700
Change-Id: Ifa92f564625fcf17e09b50ee061e0a5fce033683
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-go/+/3736249
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Auto-Submit: Andrew Bennetts <abennetts@google.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
diff --git a/resultdb/internal/services/bqexporter/text_artifact_row.go b/resultdb/internal/services/bqexporter/text_artifact_row.go
index ccfa931..d9122ae 100644
--- a/resultdb/internal/services/bqexporter/text_artifact_row.go
+++ b/resultdb/internal/services/bqexporter/text_artifact_row.go
@@ -178,23 +178,9 @@
return errors.Annotate(err, "invocation id set").Err()
}
- if bqExport.Project == "chrome-luci-data" && bqExport.Dataset == "chromium" && bqExport.Table == "try_text_artifacts" {
- // Hotfix for crbug/1340700
- // TODO: remove this as soon as the immediate issue clears
- logging.Warningf(ctx, "Ignoring chrome-luci-data.chromium.try_text_artifacts due to crbug/1340700")
- return nil
- }
-
contentTypeRegexp := bqExport.GetTextArtifacts().GetPredicate().GetContentTypeRegexp()
if contentTypeRegexp == "" {
- if bqExport.Project == "chrome-luci-data" && bqExport.Dataset == "chromium" && bqExport.Table == "ci_text_artifacts" {
- // Hotfix for crbug/1340700
- // TODO: remove this as soon as the immediate issue clears
- logging.Warningf(ctx, "Rewriting contentTypeRegexp to 'snippets' due to crbug/1340700")
- contentTypeRegexp = "snippets"
- } else {
- contentTypeRegexp = "text/.*"
- }
+ contentTypeRegexp = "text/.*"
}
q := artifacts.Query{
InvocationIDs: invIDs,