Repository navigation
Allow-list Particular Service Platform in the integration catalog generator - #1895
Merged
David Pine (IEvangelist) merged 5 commits intoOct 15, 2026
Merged
Conversation
The generator only keeps Aspire.* and CommunityToolkit.Aspire* IDs, so the hand-added Particular.Aspire.Hosting.ServicePlatform entry was dropped by the automated refresh. Fetch allow-listed third-party packages by exact ID, keep them through the filter, and restore the catalog entry. Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The restored catalog entry lacks required C# API metadata, causing semantic API validation to fail.
1 open finding
What changed in this PR
Keeps Particular Service Platform in the integration catalog across automated refreshes, addressing the removal after #1380.
Changes:
- Adds exact-ID discovery and allow-list filtering while retaining package checks.
- Restores the package’s 1.1.0 catalog entry.
- Adds allow-list and documentation-mapping tests.
| File | Description |
|---|---|
| src/frontend/tests/unit/update-integrations.vitest.test.ts | Tests allow-list filtering and catalog mappings. |
| src/frontend/src/data/aspire-integrations.json | Restores Particular Service Platform metadata. |
| src/frontend/scripts/update-integrations.ts | Fetches and retains allow-listed third-party packages. |
🧠 Review effort: Balanced
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Co-authored-by: Copilot App <[email protected]>
Contributor
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Eric Erhardt (eerhardt)
approved these changes
Oct 15, 2026
David Pine (IEvangelist)
deleted the
integrations/allow-list-particular
branch
October 15, 2026 16:04
This was referenced Oct 27, 2026
David Pine (IEvangelist)
added a commit
that referenced
this pull request
Nov 4, 2026
## Summary Fixes #1960. The Integration Data Updater has failed since #1895 because `generate-package-json.ps1` reads optional `apiReference` metadata directly under `Set-StrictMode -Version Latest`. The catalog omits the property for 209 of 210 entries, so generation aborts before processing packages. - Check property existence before reading `apiReference`. - Keep omitted and explicit `true` entries; exclude explicit `false`. - Add an executable PowerShell regression test that evaluates the production predicate against omitted/false/true fixtures and the real catalog. - Run that regression in the Tools Tests workflow. Failure evidence: [first affected run](https://github.com/microsoft/aspire.dev/actions/runs/38809447050), [latest inspected failure](https://github.com/microsoft/aspire.dev/actions/runs/40403823946/job/121856319285). Related prior repairs: #1813 and #1899; stale rolling updater PR: #1737. ## Validation - PowerShell regression test: passed; real catalog result was `209 included, 1 excluded`. - `PackageJsonGenerator.Tests`: 41/41 passed. - `AtsJsonGenerator.Tests`: 37/37 passed. - `update-integrations.vitest.test.ts`: 50/50 passed. - PowerShell parser for `update-integration-data.ps1`: 0 errors. - `actionlint .github/workflows/tools-tests.yml`: passed. - `git diff --check`: passed. ## Limitations A complete updater `workflow_dispatch` was not run because `main` still contains the failing predicate; running it before this fix lands would reproduce the known failure and cannot validate the branch change. The PR's Tools Tests exercise the exact production predicate, and the next post-merge manual/scheduled updater run should provide end-to-end confirmation. **🤖 Posted by Repository agent (AI Agent)** --------- Co-authored-by: IEvangelist <[email protected]> Co-authored-by: Copilot <[email protected]>
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
Particular.Aspire.Hosting.ServicePlatform(added in #1380) was removed by the automated refresh in #1389, becauseupdate-integrations.tsonly searches forowner:aspire,Aspire.Hosting.andCommunityToolkit.Aspire, and only keeps IDs starting withaspire.orcommunitytoolkit.aspire. Re-adding the JSON entry by hand (see #1894) would be reverted again on the next run.This PR:
THIRD_PARTY_PACKAGESallow list toupdate-integrations.ts, fetched from nuget.org by exactpackageid:.filterAndTransform(still requires verified and non-deprecated).integration-docs.jsonmapping keeps the card linking to https://docs.particular.net/platform/aspire/; the package link continues to go to NuGet.Supersedes #1894.
Third-party links and affiliations
None added beyond those already in #1380.
Validation
npx vitest run --config vitest.config.ts tests/unit/update-integrations.vitest.test.ts(48 passed). Confirmed the nuget.orgpackageid:query returns the package as verified and listed.