Skip to content

Address review comments from PR #1#2

Merged
zeitlinger merged 2 commits intomainfrom
fix/address-pr1-review-comments
Feb 14, 2026
Merged

Address review comments from PR #1#2
zeitlinger merged 2 commits intomainfrom
fix/address-pr1-review-comments

Conversation

@zeitlinger
Copy link
Copy Markdown
Member

Summary

This PR addresses the review comments from #1:

  • Fix super-linter.env inconsistency: Removed FIX_JSONC_PRETTIER=true which conflicted with VALIDATE_JSON_PRETTIER=false
  • Add error handling: Added explicit check in renovate-deps.py for missing .github/renovate-tracked-deps.json with helpful error message
  • Improve code readability: Split long EXCLUDED_MANAGERS line in renovate-deps.py into multiple lines, eliminating need for linter suppressions
  • Update CHANGELOG: Documented v0.1.0 release (2026-02-14) in CHANGELOG.md

Test plan

  • Verified super-linter.env no longer has conflicting flags
  • Confirmed renovate-deps.py provides clear error when tracked-deps file is missing
  • Checked that renovate-deps.py passes linting without suppressions
  • Validated CHANGELOG.md properly documents v0.1.0 release

- Remove FIX_JSONC_PRETTIER flag from super-linter.env to fix inconsistency with disabled VALIDATE_JSON_PRETTIER
- Add error handling in renovate-deps.py for missing renovate-tracked-deps.json file
- Split long EXCLUDED_MANAGERS line in renovate-deps.py into multiple lines for readability
- Update CHANGELOG.md to document v0.1.0 release
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
Copilot AI review requested due to automatic review settings February 14, 2026 16:14
Copy link
Copy Markdown
Contributor

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 addresses review feedback from PR #1 by fixing configuration inconsistencies, improving error handling and code readability in the renovate-deps script, and documenting the v0.1.0 release in the CHANGELOG.

Changes:

  • Removed conflicting FIX_JSONC_PRETTIER=true flag from super-linter configuration
  • Added error handling for missing .github/renovate-tracked-deps.json file with helpful error message
  • Improved code formatting by splitting EXCLUDED_MANAGERS set comprehension across multiple lines

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/config/super-linter.env Removed conflicting FIX_JSONC_PRETTIER=true flag that contradicted VALIDATE_JSON_PRETTIER=false
tasks/lint/renovate-deps.py Added error handling for missing tracked-deps file and improved code readability by reformatting long line
CHANGELOG.md Documented v0.1.0 release with proper date and comparison URLs

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tasks/lint/renovate-deps.py Outdated
- Add logic to create renovate-tracked-deps.json when AUTOFIX=true and file doesn't exist
- Keep EXCLUDED_MANAGERS on single line per Ruff formatter preference, with linter suppressions
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
@zeitlinger zeitlinger merged commit 4e6e40c into main Feb 14, 2026
7 checks passed
This was referenced Apr 16, 2026
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