Skip to content

Conversation

@roxell
Copy link
Collaborator

@roxell roxell commented Sep 30, 2025

No description provided.

Add clear, user-friendly error messages when Jira returns HTML instead
of JSON. This typically happens due to authentication failures, CAPTCHA
requirements, or expired sessions. The new error handling detects the
specific issue type and provides actionable guidance to users.

Fixes the cryptic JSONDecodeError that users were seeing.

Reported-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Add validation function that checks .jipdate.yaml file structure to ensure
proper YAML formatting and correct nesting of configuration values.

The validation runs automatically during config initialization and exits
with descriptive error messages if validation fails, helping users quickly
identify and fix configuration problems.

Suggested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
@roxell roxell force-pushed the fix-yaml-config-validation branch from dc6ad93 to 60b8048 Compare September 30, 2025 11:48
Copy link

@linusw linusw left a comment

Choose a reason for hiding this comment

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

Looks good

@JLLinaro JLLinaro merged commit af044e8 into Linaro:master Sep 30, 2025
1 check 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.

3 participants