← Back to issue list

refactor: improve the typing for the RemoteBuildService

View original Github issue

Metadata

Project
craft-application
Number
#1004
Type
pull request
State
closed
Author
lengau
Labels
Created
Updated
Closed

Current evaluation

Closed without merging. Failing CI tests and lack of reviewer approval resulted in the abandonment of the RemoteBuildService type annotation refactoring.

Suggested action:

No scores available.

Issue body

We don't need to set those variables in `__init__`, we can just provide types for them on the class itself. - [x] Have you followed the guidelines for contributing? - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? - [x] Have you successfully run `make lint && make test`? - [ ] Have you added an entry to the changelog (`docs/reference/changelog.rst`)? ---

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Closed without merging. Failing CI tests and lack of reviewer approval resulted in the abandonment of the RemoteBuildService type annotation refactoring.
qwen3.6-35b-a3b-mtp-q6 Merged a refactoring change that improves typing for RemoteBuildService by defining class-level type annotations instead of initializing variables in __init__.
qwen3.6-35b-a3b-mtp-q6 Merged to improve RemoteBuildService typing by moving variable declarations from __init__ to class-level type hints. This eliminates unnecessary runtime initialization and clarifies the class interface.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#4384 refactor(remote-build): reorganize functions snapcraft merged Merged a two-commit refactor reorganizing remote-build functions to prepare for issue #4322. Approved by two reviewers, passed CI checks, and modified two files with a net reduction of 40 lines.
70%
#193 [WIP] feat: remote build service craft-application closed Closed without merging. The remote build service implementation received no reviews, lacked CI validation, and left the contribution checklist unchecked, indicating the work was abandoned.
70%