hashicorp / hashicorp/nomad

UI: Task Events not updating without refresh

Open
#28,166 2 comments 0 reactions 0 assignees View on GitHub
hcc/jira theme/ui type/bug
Dominant language
Go
Stars
17k
Forks
2.1k
Avg merge
1d 9h
Merged PRs (30d)
105

Description

### Nomad version
2.0.3+ent

### Operating system and Environment details
Linux Kernel 7.0.11

### Issue
The allocation task last event and task recent events fields do not appear to be updating dynamically without a page refresh.

### Reproduction steps
Deploy a new version of a job. View the allocation status page and the task status page.
ie: https://nomad.default.service.nomad:4646/ui/allocations/2f468fff-a247-7136-8929-fe4ab2f5925d
https://nomad.default.service.nomad:4646/ui/allocations/2f468fff-a247-7136-8929-fe4ab2f5925d/taskname

#### Expected Result
The most recent events will dynamically populate as the status is changing in the background.

#### Actual Result
Both the last event(alloc task view) and Recent Events (task view) freeze at the current status until the page is refreshed.

Image

Image

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by deploying a new job version, then watch the allocation status page and task status page named in the report without refreshing. Compare the last event and Recent Events displays with the allocation's changing status; done means both views dynamically show new task events while the page remains open.

Written by the indexing model from the issue text.

Assessment

Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.