hundreds-midnight-75494
07/23/2024, 7:41 PMsquare-wire-39606
07/23/2024, 7:45 PMhundreds-midnight-75494
07/23/2024, 7:56 PMhundreds-midnight-75494
07/23/2024, 8:01 PM[Error] TypeError: null is not an object (evaluating 'u.length') — index.tsx:41
fl (main.4b6e41f8.js:2:104151)
(anonymous function) (main.4b6e41f8.js:2:104668)
Hi (main.4b6e41f8.js:2:85793)
Ss (main.4b6e41f8.js:2:133610)
ws (main.4b6e41f8.js:2:133178)
bs (main.4b6e41f8.js:2:132714)
(anonymous function) (main.4b6e41f8.js:2:144551)
Eu (main.4b6e41f8.js:2:145064)
iu (main.4b6e41f8.js:2:137524)
E (main.4b6e41f8.js:2:175659)
P (main.4b6e41f8.js:2:176193)
hundreds-midnight-75494
07/23/2024, 8:01 PMbrave-lion-15961
07/23/2024, 8:13 PMhundreds-midnight-75494
07/23/2024, 8:13 PMhundreds-midnight-75494
07/23/2024, 8:13 PMbrave-lion-15961
07/23/2024, 8:14 PMhundreds-midnight-75494
07/23/2024, 8:14 PMhundreds-midnight-75494
07/23/2024, 8:15 PMbrave-lion-15961
07/23/2024, 8:16 PMu
is coming from.hundreds-midnight-75494
07/23/2024, 8:19 PMPI = function(t) {
var n = t.triggerEventsValue
, r = t.className
, o = t.showToolTip
, i = void 0 === o || o
, a = n.id
, l = n.type
, s = n.name
, u = "run" === l ? a.split("/").slice(0, 2).join("/") : s
, c = "run" === l ? "/" + u : void 0
, d = Boolean(c)
, f = u;
u.length > 20 && (f = u.slice(0, 10) + "..." + u.slice(-10));
var p = "label-tooltip-".concat(a);
return e.createElement(OI, {
key: a,
"data-tip": !0,
"data-for": p,
className: r
}, c && e.createElement(TI, {
to: c
}, e.createElement(RI, {
name: "arrow",
linkToRun: d
}), i ? f : a), i && e.createElement(CI, {
id: p
}, u))
hundreds-midnight-75494
07/23/2024, 8:19 PMbrave-lion-15961
07/23/2024, 8:24 PMbrave-lion-15961
07/23/2024, 8:24 PMbrave-lion-15961
07/23/2024, 8:26 PMconst Trigger: React.FC<Props> = ({ triggerEventsValue, className, showToolTip = true }) => {
const { id, type, name } = triggerEventsValue;
// Only handles triggers from runs
const label = type === 'run' ? id.split('/').slice(0, 2).join('/') : name;
const link = type === 'run' ? '/' + label : undefined;
const linkToRun = Boolean(link);
let displayLabel = label;
// Truncate the label in the middle to fit to about MAX_LABEL_WIDTH characters.
if (label.length > MAX_LABEL_WIDTH) {
displayLabel = label.slice(0, MAX_LABEL_WIDTH / 2) + '...' + label.slice((-1 * MAX_LABEL_WIDTH) / 2);
}
const tooltipId = `label-tooltip-${id}`;
brave-lion-15961
07/23/2024, 8:27 PMlabel
is the u
referenced in your errorhundreds-midnight-75494
07/23/2024, 8:28 PMbrave-lion-15961
07/23/2024, 8:28 PMid
that makes the label
null
hundreds-midnight-75494
07/23/2024, 8:28 PMhundreds-midnight-75494
07/23/2024, 8:28 PMbrave-lion-15961
07/23/2024, 8:29 PMid
we can come up with a plan on how to show ithundreds-midnight-75494
07/23/2024, 8:29 PMbrave-lion-15961
07/23/2024, 8:30 PMhundreds-midnight-75494
07/23/2024, 8:35 PMhundreds-midnight-75494
07/23/2024, 8:36 PMhundreds-midnight-75494
07/23/2024, 8:36 PM{
"data": [
{
"id": 1915772,
"flow_id": "AsanaFlow",
"run_number": 6467,
"run_id": null,
"step_name": "start",
"task_id": 99300,
"task_name": null,
"attempt_id": 0,
"field_name": "runtime",
"value": "dev",
"type": "runtime",
"user_name": "zoey",
"ts_epoch": 1721751779286,
"tags": [
"attempt_id:0"
],
"system_tags": null
},
{
"id": 1915776,
"flow_id": "AsanaFlow",
"run_number": 6467,
"run_id": null,
"step_name": "start",
"task_id": 99300,
"task_name": null,
"attempt_id": 0,
"field_name": "runtime",
"value": "dev",
"type": "runtime",
"user_name": "zoey",
"ts_epoch": 1721751781601,
"tags": [
"attempt_id:0"
],
"system_tags": null
},
{
"id": 1915774,
"flow_id": "AsanaFlow",
"run_number": 6467,
"run_id": null,
"step_name": "start",
"task_id": 99300,
"task_name": null,
"attempt_id": 0,
"field_name": "user",
"value": "zoey",
"type": "user",
"user_name": "zoey",
"ts_epoch": 1721751779294,
"tags": [
"attempt_id:0"
],
"system_tags": null
},
{
"id": 1915778,
"flow_id": "AsanaFlow",
"run_number": 6467,
"run_id": null,
"step_name": "start",
"task_id": 99300,
"task_name": null,
"attempt_id": 0,
"field_name": "user",
"value": "zoey",
"type": "user",
"user_name": "zoey",
"ts_epoch": 1721751781607,
"tags": [
"attempt_id:0"
],
"system_tags": null
}
],
"status": 200,
"links": {
"self": "<http://metaflow-ui-backend-service.metaflow.svc.cluster.local:8083/api/flows/AsanaFlow/runs/6467/metadata?step_name=start&_page=2>",
"first": "<http://metaflow-ui-backend-service.metaflow.svc.cluster.local:8083/api/flows/AsanaFlow/runs/6467/metadata?step_name=start&_page=1>",
"prev": "<http://metaflow-ui-backend-service.metaflow.svc.cluster.local:8083/api/flows/AsanaFlow/runs/6467/metadata?step_name=start&_page=1>",
"next": null,
"last": null
},
"pages": {
"self": 2,
"first": 1,
"prev": 1,
"next": null,
"last": null
},
"query": {
"step_name": "start",
"_page": "2"
}
}
hundreds-midnight-75494
07/23/2024, 8:37 PMhundreds-midnight-75494
07/23/2024, 8:38 PMbrave-lion-15961
07/23/2024, 8:39 PM/flows/${run.flow_id}/runs/${run.run_number}/metadata,
brave-lion-15961
07/23/2024, 8:40 PMhundreds-midnight-75494
07/23/2024, 8:40 PMbrave-lion-15961
07/23/2024, 8:40 PMhundreds-midnight-75494
07/23/2024, 8:40 PMhundreds-midnight-75494
07/23/2024, 8:40 PMbrave-lion-15961
07/23/2024, 8:41 PM{
id: 'bob',
name: 'table_updated',
type: 'trigger',
description: 'Table update trigger',
},
brave-lion-15961
07/23/2024, 8:41 PMid
will be '' or null or undefined for one of thembrave-lion-15961
07/23/2024, 8:47 PMbrave-lion-15961
07/23/2024, 8:48 PMhundreds-midnight-75494
07/23/2024, 8:49 PMbrave-lion-15961
07/23/2024, 8:49 PMhundreds-midnight-75494
07/23/2024, 8:50 PMhundreds-midnight-75494
07/23/2024, 8:52 PMhundreds-midnight-75494
07/23/2024, 9:28 PM"value": "[{\"timestamp\": null, \"id\": null, \"name\": null, \"type\": \"event\"}]",
hundreds-midnight-75494
07/23/2024, 9:28 PM{"id": 1914119,
"flow_id": "AnalysisFlow",
"run_number": 6458,
"run_id": "argo-regiontest-analysis-flow-6h4ng",
"step_name": "start",
"task_id": 99213,
"task_name": "t-94de5ded",
"attempt_id": 0,
"field_name": "execution-triggers",
"value": "[{\"timestamp\": null, \"id\": null, \"name\": null, \"type\": \"event\"}]",
"type": "execution-triggers",
"user_name": "argo-workflows",
"ts_epoch": 1721748707227,
"tags": ["attempt_id:0"
],
"system_tags": null
},
brave-lion-15961
07/24/2024, 4:25 PMhundreds-midnight-75494
07/24/2024, 4:25 PMhundreds-midnight-75494
07/24/2024, 4:25 PMbrave-lion-15961
07/24/2024, 4:25 PMbrave-lion-15961
07/24/2024, 4:26 PMhundreds-midnight-75494
07/24/2024, 4:26 PMhundreds-midnight-75494
07/24/2024, 4:26 PMhundreds-midnight-75494
07/24/2024, 4:27 PMbrave-lion-15961
07/24/2024, 4:27 PMhundreds-midnight-75494
07/24/2024, 4:31 PMbrave-lion-15961
07/24/2024, 4:44 PMbrave-lion-15961
07/24/2024, 4:59 PMhundreds-midnight-75494
07/24/2024, 5:14 PMhundreds-midnight-75494
07/24/2024, 5:28 PMhundreds-midnight-75494
07/24/2024, 5:28 PM