Skip to content

Conversation

@MariusStorhaug
Copy link
Member

@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
6 checks passed
@MariusStorhaug MariusStorhaug deleted the MetaTests branch December 9, 2024 23:36
@github-actions
Copy link
Contributor

github-actions bot commented Dec 9, 2024

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

@github-actions
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

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants