Skip to content
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

🩹 [Patch]: Add tests for Meta + GitHubAPI fixes #195

Merged
merged 3 commits into from
Dec 9, 2024
Merged

Conversation

MariusStorhaug
Copy link
Contributor

@MariusStorhaug MariusStorhaug commented Dec 9, 2024

Description

This pull request includes several changes to improve the handling of GitHub API responses, enhance logging, and refine error messages. The most important changes involve adding detailed logging, handling different content types in API responses, and refactoring context resolution.

Improvements to API response handling:

Enhancements to logging:

  • src/functions/public/Meta/Get-GitHubApiVersion.ps1, src/functions/public/Meta/Get-GitHubMeta.ps1, src/functions/public/Meta/Get-GitHubOctocat.ps1, src/functions/public/Meta/Get-GitHubRoot.ps1, src/functions/public/Meta/Get-GitHubZen.ps1: Added begin, process, and end blocks with verbose logging for better traceability. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10]

Refactoring context resolution:

Additional changes:

Type of change

  • 📖 [Docs]
  • 🪲 [Fix]
  • 🩹 [Patch]
  • ⚠️ [Security fix]
  • 🚀 [Feature]
  • 🌟 [Breaking change]

Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@MariusStorhaug MariusStorhaug requested a review from a team as a code owner December 9, 2024 21:45
@MariusStorhaug MariusStorhaug self-assigned this Dec 9, 2024
@MariusStorhaug MariusStorhaug changed the title 🩹 [Patch]: Add tests for Meta 🩹 [Patch]: Add tests for Meta + GitHubAPI fixes Dec 9, 2024
@MariusStorhaug MariusStorhaug merged commit 5de98ee into main Dec 9, 2024
20 checks passed
@MariusStorhaug MariusStorhaug deleted the MetaTests branch December 9, 2024 23:36
Copy link
Contributor

github-actions bot commented Dec 9, 2024

Module [GitHub - 0.11.2] published to the PowerShell Gallery.

Copy link
Contributor

github-actions bot commented Dec 9, 2024

GitHub release for GitHub v0.11.2 has been created.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant