Allow LockFileValidator results to carry multiple messages, and improve their text

Created on 3 November 2021, about 3 years ago
Updated 11 April 2023, over 1 year ago

Problem/Motivation

In #3246420: Create a validator to ensure that active composer.lock file has not changed since the stage was created when applying updates , we introduced a validator that can detect multiple error conditions, but it won't put all of those messages into its validation result. If multiple errors are found, it should return a validation result that contains all of those messages, and a summary.

Additionally, the text of the messages is not very useful or helpful. Users don't care that we're using hashes to verify the integrity of the lock file, so we shouldn't mention that in the messages. We should phrase them such that people will get an idea of what they might be able to do to fix the errors.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

📌 Task
Status

Fixed

Version

3.0

Component

Code

Created by

🇺🇸United States phenaproxima Massachusetts

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024