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

Limit diagnostics output and enhance logging clarity #208

Merged
merged 4 commits into from
Jan 15, 2025

Conversation

Mpdreamz
Copy link
Member

Introduced pagination for diagnostics console output to handle only the first 100 errors/warnings and added clear messages for truncated results. Improved logging consistency in various components and added null safety when reading Git-related data.

This PR also caught a performance regression in the handling of codeblocks. It was too eagerly trying to attempt substitutions on each line.

Introduced pagination for diagnostics console output to handle only the first 100 errors/warnings and added clear messages for truncated results. Improved logging consistency in various components and added null safety when reading Git-related data.

This PR also caught a performance regression in the handling of codeblocks. It was too eagerly trying to attempt substitutions on each line.
Simplified code substitution checks and improved callout parsing by introducing length constraints and better inline match detection. Adjusted interpolation to skip unnecessary substitutions for efficiency.
@Mpdreamz Mpdreamz requested a review from reakaleek January 15, 2025 12:10
@Mpdreamz Mpdreamz merged commit 418958f into main Jan 15, 2025
4 checks passed
@Mpdreamz Mpdreamz deleted the fix/code-substitutions-performance branch January 15, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants