Skip to content

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.

3 participants