Skip to content

Commit 3eeb061

Browse files
committed
Address follow-up bundle review feedback
Make offline catalog coverage content-agnostic and require autonomous catalog commits to include the assisted-by trailer. Assisted-by: GitHub Copilot (model: GPT-5.6 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: fbe794bc-667a-4c9e-b48b-825067debc6d
1 parent 90c325c commit 3eeb061

3 files changed

Lines changed: 14 additions & 3 deletions

File tree

.github/workflows/add-community-bundle.lock.yml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.github/workflows/add-community-bundle.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,12 @@ changes, list the validation results, include
261261
`Closes #${{ github.event.issue.number }}`, and mention the submitter with
262262
`cc @<issue-author>`.
263263

264+
End the commit message with this authorship trailer:
265+
266+
```text
267+
Assisted-by: GitHub Copilot (model: <name-if-known>, autonomous)
268+
```
269+
264270
## Important Rules
265271

266272
- Modify only `bundles/catalog.community.json` and

tests/integration/test_bundler_offline.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,17 @@ def test_builtin_community_catalog_resolves_from_packaged_snapshot_offline():
3636
source = _src(
3737
"community",
3838
"builtin://community",
39-
priority=2,
39+
priority=20,
4040
policy="discovery-only",
4141
)
42+
payload = fetcher(source)
4243
stack = CatalogStack([source], fetcher)
4344

44-
assert stack.search() == []
45+
assert isinstance(payload.get("bundles"), dict)
46+
assert all(
47+
result.source.id == "community" and not result.install_allowed
48+
for result in stack.search()
49+
)
4550
assert stack.sources[0].install_allowed is False
4651

4752

0 commit comments

Comments
 (0)