Repository navigation
feat(integrations): download timestamped service snapshots - #4891
Merged
gabsprogrammer merged 1 commit intoSep 13, 2026
Merged
gabsprogrammer merged 1 commit into
gabsprogrammer merged 1 commit into
Conversation
6 of 24 tasks
This was referenced Sep 15, 2026
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.
Why this matters
Operators can now save the Integrations inventory while investigating a failed service or comparing an installation before and after a change. Both the compact Settings panel and the full map offer Download snapshot. It saves the complete reported inventory, even when the visible list is filtered.
The invariant is that an export describes the last successful status response: the capture timestamp advances only with a new response; a failed refresh marks the retained receipt as stale through
refreshFailed. Public URLs (which can carry owner tokens) are excluded through an explicit field projection. Known dependencies are labeled as configured relationships, not observed traffic or successful application calls.Overlap check
Searched all-state upstream PRs by
ServiceMap.jsxand integration/topology/snapshot/export/inventory terms. #3844 explores indirect impact, #4462 repairs selected-detail staleness, #4464 adds detail keyboard navigation, and #3506 exports hardware GPU topology. None offers a service-status snapshot download. This adds no dependency traversal, detail-state repair, service mutation, or hardware export. Shared-file compatibility with #4462/#4464 should be reviewed at merge time.Validation
npm exec vitest run src/pages/ServiceMap.test.jsx src/pages/ServiceMap.export.test.jsx: 9 passed. The new suite fails 3 cases before implementation, and covers both entrypoints, exact downloaded JSON, secret-bearing URL exclusion, unchanged capture time after failure, filtering, empty inventories, and no extra API call.npm run lint: passes with existing warnings; production build passes.git diff --check.The browser supplies a standard JSON data-URL download; tests inspect its actual link payload in jsdom, not an operating-system save dialog. No live stack health claim is made. The schema is diagnostic, has no import path, and does not change configuration. Revert the action/component and timestamp field to roll back. See
ods/docs/INTEGRATION-SNAPSHOTS.mdfor the versioned receipt contract.