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

fix: remove possible infinite loop in the changelog transformation #1452

Merged
merged 1 commit into from
Feb 10, 2025

Conversation

barjin
Copy link
Contributor

@barjin barjin commented Feb 10, 2025

In a recent eslint formatting PR (#1439), we changed the void returns to return 0. This causes unified to loop indefinitely in some cases (the visitor is expected to return true / false or index of the next sibling to be visited).

This PR makes use of the exported CONTINUE symbol (alias for true) and the more verbose return syntax.

Fixes the stalling documentation builds in Apify SDK for Python.

@barjin barjin added the adhoc Ad-hoc unplanned task added during the sprint. label Feb 10, 2025
@barjin barjin requested a review from B4nan February 10, 2025 13:05
@barjin barjin self-assigned this Feb 10, 2025
@github-actions github-actions bot added this to the 108th sprint - Tooling team milestone Feb 10, 2025
@github-actions github-actions bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Feb 10, 2025
@barjin barjin merged commit 81da50f into master Feb 10, 2025
7 checks passed
@barjin barjin deleted the fix/stalling-changelog-copy branch February 10, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
adhoc Ad-hoc unplanned task added during the sprint. t-tooling Issues with this label are in the ownership of the tooling team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants