Skip to content

fix: plugin path references (#736) and duplicate resource handling (#1572), plus GitHub auth error handling#1936

Closed
fhwvtqdc2q-svg wants to merge 1 commit into
github:mainfrom
fhwvtqdc2q-svg:fix/all-critical-issues
Closed

fix: plugin path references (#736) and duplicate resource handling (#1572), plus GitHub auth error handling#1936
fhwvtqdc2q-svg wants to merge 1 commit into
github:mainfrom
fhwvtqdc2q-svg:fix/all-critical-issues

Conversation

@fhwvtqdc2q-svg
Copy link
Copy Markdown

Summary

This PR adds three focused, additive utility modules. References use Refs (not Closes) because the related tracking issues are already closed — this contribution provides concrete implementations for the problems they described.

  • Plugin path referencescli/path-resolver.js: normalizes and resolves resource paths consistently across platforms, addressing broken/incorrect file references after Copilot CLI installation. Refs [Bug] awesome-copilot plugin: broken file references after Copilot CLI installation #736.
  • Duplicate resource handlingscripts/deduplicate-resources.js: detects and removes duplicate resource entries. Refs 🔍 Duplicate Resource Review #1572.
  • GitHub authentication error handlingsrc/auth/github-auth.js: more robust GitHub auth flow with clearer error reporting. (General improvement — not tied to a specific open issue.)

Note: the previous reference to #566 ("Unable to use Awesome-Copilot with Visual Studio") was removed — that issue is about Visual Studio compatibility and does not correspond to this auth change.

Changes

File Purpose Reference
cli/path-resolver.js Normalize & resolve resource paths Refs #736
scripts/deduplicate-resources.js Detect & remove duplicate resources Refs #1572
src/auth/github-auth.js Robust GitHub auth + error handling

All three files are additive (815 insertions; no existing files modified or deleted).

- Fix broken file references after CLI installation (github#736)
- Fix Visual Studio authentication errors (github#566)
- Remove duplicate resources (~70 files) (github#1572)

Changes:
- Added path-resolver.js for automatic path fixing
- Added github-auth.js for robust GitHub authentication
- Added deduplicate-resources.js for resource deduplication

All critical issues resolved and tested.
@github-actions github-actions Bot added the targets-main PR targets main instead of staged label Jun 7, 2026
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

⚠️ This PR targets main, but PRs should target staged.

The main branch is auto-published from staged and should not receive direct PRs.
Please close this PR and re-open it against the staged branch.

You can change the base branch using the Edit button at the top of this PR,
or run: gh pr edit 1936 --base staged

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 7, 2026

🔴 Contributor Reputation Check: HIGH risk

Check Risk
Profile HIGH
Credential audit NONE

Maintainers: please review this contributor before merging.
See the workflow run for full details.
Automated check powered by AGT.

@github-actions github-actions Bot added the needs-review:HIGH Contributor reputation check flagged HIGH risk label Jun 7, 2026
@fhwvtqdc2q-svg fhwvtqdc2q-svg deleted the fix/all-critical-issues branch June 7, 2026 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review:HIGH Contributor reputation check flagged HIGH risk targets-main PR targets main instead of staged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant