We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d02eef1 commit d40da9eCopy full SHA for d40da9e
1 file changed
apps/webapp/app/v3/eventRepository/clickhouseEventRepository.server.ts
@@ -2040,6 +2040,11 @@ export class ClickhouseEventRepository implements IEventRepository {
2040
{ spanEventKind: "SPAN_EVENT", internalPrefix: "trigger.dev/" }
2041
);
2042
2043
+ // ANCESTOR_OVERRIDE rows duplicate a descendant's error onto an ancestor span
2044
+ // to colour the tree; they carry no event of their own. The tree path drops
2045
+ // them, so the export does too (otherwise the same error shows up twice).
2046
+ queryBuilder.where("kind != {ancestorKind: String}", { ancestorKind: "ANCESTOR_OVERRIDE" });
2047
+
2048
queryBuilder.orderBy("start_time ASC");
2049
// Deliberately no LIMIT: streaming never materialises the result set, so the
2050
// detailed-summary memory cap doesn't apply to the export.
0 commit comments