← Back to issue list

ci: initial sync with canonical/copilot-collections

View original Github issue

Metadata

Project
charmcraft
Number
#2663
Type
pull request
State
merged
Author
Copilot
Labels
—
Created
Updated
Closed

Current evaluation

Merged as b7f3752d, adding .copilot-collections.yaml, 7 instruction + 6 skill files, a weekly sync workflow, and pre-commit/Prettier exclusions. Later bumped to v0.13.0 (#2683), v0.15.0 (#2807), v0.18.0 (#2815).

Resolution: closed resolved

Reason: PR #2663 was merged into main as commit b7f3752d, landing the Copilot collections setup (instructions, skills, and weekly sync workflow) for charmcraft. The mechanism is proven working by follow-up bumps in #2683, #2807 and #2815 (now at v0.18.0) and a perms fix in #2796; failing CI jobs (ty, lint, snap tests) are pre-existing and unrelated to the added files.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Adds GitHub Copilot instructions and skills to charmcraft, mirroring the setup from [canonical/imagecraft#327](https://github.com/canonical/imagecraft/pull/327) (itself based on [canonical/snapcraft#6196](https://github.com/canonical/snapcraft/pull/6196)). ## Added - `.github/.copilot-collections.yaml` — pins `starcraft-core` and `starcraft-docs` collections at `v0.12.0` - `.github/instructions/` — 7 Copilot instruction files covering core directives, Python commenting, documentation guidelines (general, RTD-specific, starcraft style/meta), and instructions authoring - `.github/skills/` — 6 skill files for documentation review, style, structure, build, diataxis, and verification - `.github/workflows/copilot-collections-update.yaml` — weekly cron workflow to auto-sync collections from `canonical/copilot-collections` ## Modified - `.pre-commit-config.yaml` — excludes `^\.github/(skills|instructions)/` since these files are auto-generated - `Makefile` — appends `!.github/instructions/**` and `!.github/skills/**` to `PRETTIER_FILES` to skip auto-generated content from formatting

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed resolved Merged as b7f3752d, adding .copilot-collections.yaml, 7 instruction + 6 skill files, a weekly sync workflow, and pre-commit/Prettier exclusions. Later bumped to v0.13.0 (#2683), v0.15.0 (#2807), v0.18.0 (#2815).
stealth/space-bunny-alpha — closed resolved Merged #2663 as b7f3752d, adding v0.12.0-pinned Copilot instructions and skills plus a weekly sync workflow from canonical/copilot-collections.
qwen/qwen3.6-35b-a3b — — Merged sync with canonical/copilot-collections. Added Copilot instructions, skills, and auto-sync workflow to charmcraft. Approved by three reviewers and passed CI checks. Type-check warnings were non-blocking.
qwen3.6-35b-a3b-mtp-q6 — — Merged sync with canonical/copilot-collections, adding Copilot instructions, skills, and a weekly update workflow. Updated pre-commit and Makefile to skip auto-generated files. Type warnings were logged as non-blocking.

Update history

No update history recorded yet.

Related work

  • Related To: canonical/imagecraft#327 (confidence 90%)

    PR body cites this as the mirrored setup, itself based on canonical/snapcraft#6196.

  • Likely Fixed By: charmcraft#2683 (confidence 88%)

    Follow-up automation commit a9df7874 bumping starcraft collections to v0.13.0 via the new sync workflow.

  • Likely Fixed By: charmcraft#2807 (confidence 85%)

    Auto-sync commit a2503a34 bumping collections to v0.15.0.

  • Likely Fixed By: charmcraft#2815 (confidence 85%)

    Auto-sync commit 0d09971f bumping collections to v0.18.0, confirming the added workflow operates.

  • Related To: charmcraft#2796 (confidence 80%)

    Commit 9f3567e6 fixes permissions for the copilot collections sync job introduced here.

Related issues

Issue Project State Summary Similarity
#327 ci: initial sync with canonical/copilot-collections imagecraft merged Merged PR #327 as commit 82bd946, adding an experimental 21-file Copilot collections sync based on canonical/snapcraft#6196.
87%
#6196 ci: initial sync with canonical/copilot-collections snapcraft merged Merged PR #6196, adding generated Copilot instructions and skills from canonical/copilot-collections plus weekly CI that opens update PRs for new releases.
87%
#1148 chore: update Copilot collections to v0.18.0 craft-application merged Merged canonical/craft-application#1148 at b59da854, updating Copilot collections to v0.18.0 across 19 files after approval.
75%
#1161 chore: update Copilot collections to v0.19.0 craft-application merged Merged PR canonical/craft-application#1161 bumping Copilot collections to v0.19.0; merged as commit 9a80904e after approval with all CI checks green.
74%
#1577 chore: update Copilot collections to v0.13.0 craft-parts merged Merged PR #1577 updated the Copilot collections to v0.13.0 across 18 files (+2969/-1).
74%
#1208 chore: update Copilot collections to v0.20.0 craft-application closed Automated Copilot collections bump to v0.20.0; PR approved, ShellCheck config updated to skip .github/skills, and merged.
74%
#968 chore: update Copilot collections to v0.14.0 craft-providers merged Merged into main via commit d5462c1, updating Copilot collections to v0.14.0 after two approvals and with all reported CI checks passing.
73%
#2683 chore: update Copilot collections to v0.13.0 charmcraft merged Merged Copilot collections v0.13.0 update in charmcraft#2683 via commit a9df7874; later version bumps landed in #2807 and #2815.
73%
#1655 ci: add copilot-collections config craft-parts merged Merged PR #1655 as d576ad00, updating Copilot Collections configuration and granting the update workflow the required permissions.
73%
#964 chore: add copilot-collections craft-providers merged Merged canonical/craft-providers#964, adding Copilot Collections configuration across 21 files (+2,998 lines), via commit 742eeb4.
73%