Fix test failures from dependency updates in lock file maintenance
Metadata
Current evaluation
Merged PR #65, updating tests for craft-application validation changes by adding input to the invalid-name expectation and summary/description to the minimal fixture.
Resolution: closed resolved
Reason: PR #65 was merged. Its changes updated the validation error expectation and added newly required fields to the minimal test project, resolving the dependency-update test failures.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [ ] Have you followed the guidelines for contributing?
- [ ] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [ ] Have you successfully run `make lint && make test`?
---
Lock file maintenance updated `craft-application`, which changed validation error message format and field requirements.
## Changes
- **Error message format**: Updated `invalid-name` test expectation to include `input` field now appended to validation errors
- **Required fields**: Added `summary` and `description` to minimal test project, now mandatory after dependency update
```yaml
# tests/integration/project/valid-projects/minimal/debcraft.yaml
name: debcraft-minimal
+summary: A minimal debcraft project
+description: A minimal debcraft project for testing purposes
maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
```
```diff
# tests/integration/project/invalid-projects/invalid-name/error-message.txt
-... (in field 'name')
+... (in field 'name', input: '-a-')
```
<!-- START COPILOT CODING AGENT TIPS -->
---
✨ Let Copilot coding agent [set things up for you](https://github.com/canonical/debcraft/issues/new?title=✨+Set+up+Copilot+instructions&body=Configure%20instructions%20for%20this%20repository%20as%20documented%20in%20%5BBest%20practices%20for%20Copilot%20coding%20agent%20in%20your%20repository%5D%28https://gh.io/copilot-coding-agent-tips%29%2E%0A%0A%3COnboard%20this%20repo%3E&assignees=copilot) — coding agent works faster and does higher quality work when set up for your repo.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #65, updating tests for craft-application validation changes by adding input to the invalid-name expectation and summary/description to the minimal fixture. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR aligned integration tests with craft-application's updated validation format and required fields after lock-file maintenance. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged to resolve test failures from a craft-application dependency update. Updated test expectations for new validation error formatting and added mandatory summary and description fields to the minimal test project. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged a fix for test failures caused by a craft-application dependency update. Updated validation error message expectations and added mandatory summary and description fields to a minimal test project to align with new schema requirements. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #118 Fix integration test fixtures broken by craft-application dependency update | debcraft | merged | Merged PR #118 updated integration fixtures for craft-application's new validation format and required summary and description fields; Canonical CLA passed. | |
| #1454 build: update craft-application | charmcraft | merged | Merged in commit 952f070e, updating craft-application and adjusting affected test constants. |