Close maintenance console acceptance gaps#198
Merged
Conversation
37 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
Closes the remaining acceptance gaps for the Maintenance Console introduced in #197 by making /maintenance discoverable via the existing Monitoring navbar dropdown and extending the maintenance tests to cover the source-fetch failure path (ensuring safe preservation of existing files and no backups on fetch failure).
Changes:
- Injects a “Maintenance” link into the Monitoring dropdown from
web/static/js/main.js, and marks Monitoring active when browsing/maintenance. - Adds a new test covering constituent source failure behavior (fail report, preserve existing CSV, do not create backups).
- Adds a smoke test asserting the static JS contains the
/maintenancelink text.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
web/static/js/main.js |
Adds client-side navbar augmentation to make /maintenance discoverable and highlight Monitoring when on maintenance routes. |
tests/test_maintenance.py |
Adds explicit coverage for source-fetch failure safety behavior and a static-asset smoke assertion for the maintenance nav link. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
Summary
Follow-up closeout for #196 after PR #197 was merged.
The main implementation is already in place and Issue #196 is closed, but a final pass found two small acceptance/closeability gaps:
/maintenancepage existed but was not discoverable from the web UI navigation.Changes
main.jsso the console is discoverable from the web UI./maintenance./maintenancelink.Testing
Please run:
I could not run tests locally from this chat environment because the repository is available only through the GitHub connector.
Safety
No trading/execution paths touched. This is UI discoverability and test coverage only.
Refs #196