-
Notifications
You must be signed in to change notification settings - Fork 133
Worker insights #3087
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Worker insights #3087
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
| {slots.currentUsedSlots ?? 0} | ||
| </p> | ||
| <p class="font-mono text-3xl font-semibold"> | ||
| {#if slots.currentAvailableSlots} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ 'slots.currentUsedSlots' is possibly 'undefined'.
| updateQueryParameters({ | ||
| parameter: 'query', | ||
| value: '', | ||
| url: page.url, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Type 'string | undefined' is not assignable to type 'string'.
| {#if !error} | ||
| <PaginatedTable | ||
| let:visibleItems | ||
| {onFetch} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Type '(err: APIErrorResponse) => void' is not assignable to type '(error: unknown) => void | undefined'.
| @@ -62,7 +62,7 @@ | |||
| <div class="h-0.5 rounded-full bg-inverse"></div> | |||
| <WorkflowDetail | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Type 'string | undefined' is not assignable to type 'string'.
| content={workflow?.taskQueue} | ||
| href={routeForWorkers({ | ||
| href={routeForWorkflowWorkers({ | ||
| namespace: $page.params.namespace, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Type 'string | undefined' is not assignable to type 'string'.
| href={routeForWorkers({ | ||
| href={routeForWorkflowWorkers({ | ||
| namespace: $page.params.namespace, | ||
| workflow: workflow?.id, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Type 'string | undefined' is not assignable to type 'string'.
| request, | ||
| params: { | ||
| maximumPageSize: String(pageSize), | ||
| nextPageToken: token, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Type 'string | undefined' is not assignable to type 'string'.
| workers: `/namespaces/${parameters?.namespace}/workers`, | ||
| worker: `/namespaces/${parameters?.namespace}/workers/describe/${parameters?.workerInstanceKey}`, | ||
| 'worker-task-reachability': `/namespaces/${parameters?.namespace}/worker-task-reachability`, | ||
| 'workflow.terminate': `/namespaces/${parameters?.namespace}/workflows/${parameters?.workflowId}/terminate`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ 'parameters' is possibly 'undefined'.⚠️ 'parameters' is possibly 'undefined'.
| worker: `/namespaces/${parameters?.namespace}/workers/describe/${parameters?.workerInstanceKey}`, | ||
| 'worker-task-reachability': `/namespaces/${parameters?.namespace}/worker-task-reachability`, | ||
| 'workflow.terminate': `/namespaces/${parameters?.namespace}/workflows/${parameters?.workflowId}/terminate`, | ||
| 'workflow.cancel': `/namespaces/${parameters.namespace}/workflows/${parameters.workflowId}/cancel`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ 'parameters' is possibly 'undefined'.⚠️ 'parameters' is possibly 'undefined'.⚠️ 'parameters' is possibly 'undefined'.
|
|
||
| console.log('Updating query parameter:'); | ||
| url.searchParams.forEach((value, key) => { | ||
| if (key !== parameter) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
⚠️ Element implicitly has an 'any' type because expression of type 'string' can't be used to index type '{}'.
Description & motivation 💭
Screenshots (if applicable) 📸
Design Considerations 🎨
Testing 🧪
How was this tested 👻
Steps for others to test: 🚶🏽♂️🚶🏽♀️
Checklists
Draft Checklist
Merge Checklist
Issue(s) closed
Docs
Any docs updates needed?