feature: open any past report, page through older history #55
No reviewers
Labels
No labels
breaking
bug
ci
dependencies
documentation
feature
security
skip-changelog
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
argus/backend!55
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/report-history-access"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #53
Only the latest report of a stream could be viewed in full; older host-health reports on garion were reduced to a date/status/headline row.
GET /projects/{o}/{r}/reports/{id}/(read permission, 404 outside the project) -- what a history row will link to (argus/frontend#45).before=<ISO datetime>on the report list: keyset paging onuploaded_at, combined withlimit; 400 on a non-date.prune_history: asourcereport whose status differs from the previous report of the same stream (type, custom name, variant) is never pruned -- only the unchanged ones in between go. Today stationmyr/infra keeps 500, so nothing had been lost yet (46 host-health reports since 2026-10-29).Tests:
apps/reports/test_report_detail.py; full suite, pylint 10/10, autopep8 clean locally.🤖 Generated with Claude Code
https://claude.ai/code/session_01AUcAVt7dKqdZsFwQdwZkxW
- GET /projects/{o}/{r}/reports/{id}/: any report, not only the latest of its stream -- what a history row links to. - before=<ISO datetime> on the report list: keyset paging further back than the last N. - prune_history keeps every source report that changed its stream's status; only the unchanged ones in between are pruned. Closes #53 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AUcAVt7dKqdZsFwQdwZkxW📊 Rapports Argus pour cette PR