Weekly pre-update-release merge to main (wk 2)#92
Merged
NightHawkATL merged 51 commits intomainfrom Apr 10, 2026
Merged
Conversation
Co-authored-by: Copilot <[email protected]> Signed-off-by: NightHawkATL <[email protected]>
… handler Agent-Logs-Url: https://github.com/NightHawkATL/ntp-dashboard/sessions/da5d732d-84f1-4ce1-a784-6f0cf03b4564 Co-authored-by: NightHawkATL <[email protected]>
fix(pwa): harden cache refresh and service worker update flow
Co-authored-by: Copilot <[email protected]> Signed-off-by: NightHawkATL <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: NightHawkATL <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: NightHawkATL <[email protected]>
…emediations fix(security): apply v0.1.2 fixable Grype remediations
…in-regression fix(docker): remove zlib pin regression in Dockerfile
…ed-fallback fix(clients): handle chronyc 501 not authorised with fallback
Agent-Logs-Url: https://github.com/NightHawkATL/ntp-dashboard/sessions/ef175d64-eed5-4a89-a3e0-598d4079165b Co-authored-by: NightHawkATL <[email protected]>
…ed-fallback fix(clients): add sudo fallback chain when 501 persists
fix(clients): improve local 501 handling and troubleshooting guidance
Add volumes for local-only deployments to access chrony. Signed-off-by: NightHawkATL <[email protected]>
Added volume mounts for local-only deployments to access chrony. Signed-off-by: NightHawkATL <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: NightHawkATL <[email protected]>
Add chrony volumes for local deployments
Removed redundant volume mapping for chrony in Docker setup. Signed-off-by: NightHawkATL <[email protected]>
Updated README to clarify client viewing capabilities in local mode and added details about local deployment. Signed-off-by: NightHawkATL <[email protected]>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR merges the last week’s changes from pre-update-release into main, focusing on improving PWA update behavior/caching, strengthening Chrony client querying, and aligning deployment documentation/container build settings with recent operational needs.
Changes:
- Updated the Service Worker and client-side registration logic to support faster PWA updates (skip-waiting + controllerchange reload) and adjusted caching strategies.
- Improved
/api/clientsChrony querying with multiple local/remote fallbacks and clearer 501-authorization guidance. - Refreshed deployment docs and container/deploy configs (Docker base image/pip handling; Chrony runtime mount in compose/README).
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
static/sw.js |
Cache name bump and new fetch/message handling for SW update + caching behavior changes. |
static/dashboard.js |
Adds SW upgrade handling (skip-waiting, updatefound, controlled reload on controllerchange). |
app.py |
Improves Chrony client query fallback logic (local attempts + remote 501 fallback) and error messaging. |
Dockerfile |
Updates base image and changes pip install flow. |
compose.yaml |
Adds /run/chrony mount for local Chrony access. |
README.md |
Updates/clarifies deployment and feature behavior (esp. clients list + Chrony mount). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
We will try this as well and make sure the UX isn't impacted. Co-authored-by: Copilot <[email protected]> Signed-off-by: NightHawkATL <[email protected]>
Bumps python from 3.13-alpine3.21 to 3.14-alpine3.21. --- updated-dependencies: - dependency-name: python dependency-version: 3.14-alpine3.21 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
Bumps [cryptography](https://github.com/pyca/cryptography) from 46.0.6 to 46.0.7. - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@46.0.6...46.0.7) --- updated-dependencies: - dependency-name: cryptography dependency-version: 46.0.7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]>
…-release/python-3.14-alpine3.21 Bump python from 3.13-alpine3.21 to 3.14-alpine3.21
…lease/cryptography-46.0.7 Bump cryptography from 46.0.6 to 46.0.7
- Remove head_branch guard from grype-remediation-suggestions job condition (scheduled workflow_run.head_branch is the default branch, not pre-update-release) - Fix workflow_dispatch fallback: resolve latest successful Weekly Grype Security Scan run ID via API when run_id input is omitted - Drop pull-requests: write from dependabot-grype-guard (least privilege) - Scope underfixed_updates detection to High/Critical fixable vulns only, eliminating false positives from unrelated unfixable High vulns - Filter !i.pull_request in issues.listForRepo to avoid matching open PRs Agent-Logs-Url: https://github.com/NightHawkATL/ntp-dashboard/sessions/dd234ea7-ad8c-485e-9705-f93d705cd188 Co-authored-by: NightHawkATL <[email protected]>
When workflow_dispatch is triggered without a run_id, the fallback now first queries for the most recent successful Weekly Grype Security Scan run from the last 7 days (same-week relevance). If no run is found within that window it falls back to the absolute latest successful run. Agent-Logs-Url: https://github.com/NightHawkATL/ntp-dashboard/sessions/faf9788c-ffdb-46f0-b64e-b32b50f05531 Co-authored-by: NightHawkATL <[email protected]>
Co-authored-by: Copilot <[email protected]> Signed-off-by: NightHawkATL <[email protected]>
ci: fix grype-remediation-suggestions trigger, run ID resolution, underfixed false-positives, and least-privilege
…on-followup CI: finalize Grype remediation + Dependabot guard workflows
Security: apply Grype remediation recommendations (refs #101)
docs: add default PR template for intent clarity
…regression Fix local clients fallback regression in local mode
Signed-off-by: NightHawkATL <[email protected]>
…4-force CI: fix Grype remediation workflow regressions and force Node 24
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.
This PR is to merge everything built and updated in the last week since the v0.1.2 release. Everything has been scanned along the way and verified. The final release has been pre-built and run to verify everything works. A Grype scan was done to scan for any open vulnerabilities and a report provided after.