Skip to content

[IMP] runbot: improve error merge#1182

Merged
d-fence merged 2 commits into19.0from
18.0-better-error-merge-xdo
Feb 11, 2026
Merged

[IMP] runbot: improve error merge#1182
d-fence merged 2 commits into19.0from
18.0-better-error-merge-xdo

Conversation

@Xavier-Do
Copy link
Copy Markdown
Contributor

No description provided.

@C3POdoo C3POdoo requested a review from a team July 30, 2025 08:43
@Xavier-Do Xavier-Do force-pushed the 18.0-better-error-merge-xdo branch from 6eccfe7 to cc52145 Compare July 30, 2025 13:29
@Xavier-Do Xavier-Do changed the title [IMP] error management [IMP] runbot: improve error merge Dec 17, 2025
@Xavier-Do Xavier-Do changed the base branch from 18.0 to 19.0 December 22, 2025 14:27
@Xavier-Do Xavier-Do force-pushed the 18.0-better-error-merge-xdo branch 2 times, most recently from 31e5a4b to 6539992 Compare December 22, 2025 14:29
Comment thread runbot/models/build_error.py Outdated
for field in fields_to_merge + fields_to_copy:
if previous_error[field]:
if field in fields_to_merge and error[field] and error[field] != previous_error[field] and not self.env.su:
raise UserError(f"error {error.id} as already a responsible ({error.responsible}) cannot assign {previous_error.responsible}")
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adapt the UserError in accordance of the field that is causing the error.

@Xavier-Do Xavier-Do force-pushed the 18.0-better-error-merge-xdo branch from 6539992 to 43745a9 Compare December 22, 2025 15:03
Xavier-Do and others added 2 commits February 11, 2026 08:35
- Add breaking pr to the fields to merge
- Add a test
@d-fence d-fence force-pushed the 18.0-better-error-merge-xdo branch from 43745a9 to a8b4d21 Compare February 11, 2026 07:52
@d-fence d-fence merged commit ee5441b into 19.0 Feb 11, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants