Repository navigation
fix(load): remove unused filepath import - #641
Merged
tampakrap merged 1 commit intoDec 2, 2026
Merged
Conversation
Two PRs were merged almost simultaneously but silently collided: - crossplane#574 moved the document loading out of loader.go - crossplane#636 replaced the remaining filepath.Ext with filesystem.IsYAML Each PR passed on its own but together they leave the path/filepath import unused in loader.go. Signed-off-by: Theo Chatzimichos <tampakrap@gmail.com>
tampakrap
requested review from
a team,
haarchri and
negz
and
a balanced review from Copilot
and removed request for
a team
December 2, 2026 13:46
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues were identified for the change removing the unused path/filepath import.
No open issues 🎉
What changed in this PR
Fixes a Go compilation error caused by the combined changes in #574 and #636.
Changes:
- Removes the unused
path/filepathimport without changing loader behavior.
| File | Description |
|---|---|
pkg/load/loader.go |
Removes the obsolete import to restore compilation. |
Review effort: Balanced
Codecov Report✅ All modified and coverable lines are covered by tests. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of your changes
Two PRs were merged almost simultaneously but silently collided:
loader.gofilepath.Extwithfilesystem.IsYAMLEach PR passed on its own but together they leave the
path/filepathimport unused inloader.go.I have:
./nix.sh flake checkto ensure this PR is ready for review.Added or updated unit tests.Linked a PR or a docs tracking issue to document this change.Addedbackport release-x.ylabels to auto-backport this PR.Need help with this checklist? See the cheat sheet.