Support project hooks for core24 snaps
Metadata
Current evaluation
Core24 project hook packaging was implemented in snapcraft#4717 and merged as commit aafbe672b, with hook-packaging tests.
Resolution: closed resolved
Reason: The core24 hook-packaging support landed through merged PR snapcraft#4717 at commit aafbe672b, resolving the parity gap with core22.
Evaluated by: mr-cal-bot
No scores available.
Issue body
### What needs to get done
The `PackageService` for core24 snaps should support project hooks. The behavior should be the same as core22.
The failures can be found by running `spread google:ubuntu-24.04-64:tests/spread/general/hooks/`. See failing logs [here](https://paste.ubuntu.com/p/CjBwVKcwyR/).
### Why it needs to get done
To support building core24 snaps with craft-application
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Core24 project hook packaging was implemented in snapcraft#4717 and merged as commit aafbe672b, with hook-packaging tests. | |
| stealth/space-bunny-alpha | — | closed resolved | Core24 hook packaging support landed in snapcraft#4717, merged as aafbe672b, with new hook-packaging tests. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without a fix or linked pull request. No resolution or merge details are documented, indicating the feature request was likely abandoned or superseded. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The request to enable project hooks for core24 snaps in PackageService was deferred and tracked internally via Jira ticket CRAFT-2507. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation or linked pull request. Internal Jira ticket CRAFT-2507 was created for tracking, but no code changes were made, leaving the issue abandoned. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The request to support project hooks for core24 snaps was migrated to internal Jira ticket CRAFT-2507, with no code changes or pull requests implemented. |
Update history
No update history recorded yet.
Related work
-
Likely Fixed By:
canonical/snapcraft#4717
(confidence 100%)
PR #4717 added core24 component hook packaging and corresponding tests; merged as aafbe672b.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #4717 feat: package component hooks for core24 | snapcraft | merged | Merged PR #4717 as commit aafbe672b, adding core24 component-hook packaging and test coverage for CRAFT-2540. | |
| #1586465 Add support for hooks | snapcraft (launchpad) | closed | Hook support was added in snapcore/snapcraft#1026 via commit 01880ee8d, packaging hook files and snapcraft.yaml hook definitions. | |
| #3837 fix: hooks: process generated hooks | snapcraft | merged | Merged as commit c77e3a07a (CRAFT-1159): core22 now includes lifecycle-generated hooks in the snap via meta/hooks wrappers, with snap/hooks taking priority; adds spread tests for core18/20/22. |