Skip to content

parse new MLC release output and don't panic on malformed tables #404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 1, 2025

Conversation

harp-intel
Copy link
Contributor

mlc 3.11c has slightly modified output format

Signed-off-by: Harper, Jason M <[email protected]>
@harp-intel harp-intel requested a review from Copilot July 1, 2025 02:15
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adjusts error handling for table parsing to accommodate modified MLC release output format without causing panics on malformed tables. Key changes include refactoring the validateTableValues function to return errors instead of panicking, handling validation failures gracefully in GetValuesForTable by logging errors and returning default values, and trimming whitespace from bandwidth strings before conversion.

@harp-intel harp-intel merged commit d8ca010 into main Jul 1, 2025
4 checks passed
@harp-intel harp-intel deleted the mlcparse branch July 1, 2025 13:24
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.

1 participant