Repository navigation
feat: show job monitoring status and attention filtering - #1376
Merged
Merged
Conversation
Deploying edgewatch with
|
| Latest commit: |
ea1dd7b
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://aa79cf89.edgewatch-cpd.pages.dev |
| Branch Preview URL: | https://feat-jobs-monitoring-status.edgewatch-cpd.pages.dev |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
The Jobs page now shows each job’s latest attempt, latest successful scan, next scheduled run, and current queued, running, resumable, or stalled cycle. The full-list Needs attention filter covers explicit latest failures/incomplete attempts and stalled cycles. Active queued/running work suppresses older failure attention, later success clears it, and stalled cycles remain actionable. Unknown data is labeled unavailable; missing schedules alone do not create attention. Jobs summaries refresh every 30 seconds in the foreground and keep existing SSE invalidation.
The
/jobsprojection uses a tenant-scoped indexed batch query and existing bounded runtime/cycle summaries. Safe status/time fields usejobs.read; scan IDs and detail links requirescans.read. No schema or migration changes; API additions are backward compatible. The canonical Jobs guide documents the behavior and permission boundary.Closes #1375
Validation
Passed on
ea1dd7b6f17cd0881d78516c3c61112ef77c44a7:go vet ./...andgo test -race -timeout=25m ./...npm run lint,npm run build, andnpm run test:coverage(55 files, 622 tests; coverage gates passed)npm run test:e2e(160 passed, 272 skipped by Playwright project filters)npm --prefix docs run build(23 pages, 1,539 local link/assets checks)Independent desktop/narrow browser review is in progress. This PR remains a draft until that review is complete. Live documentation deployment verification will follow the protected merge.