-
Notifications
You must be signed in to change notification settings - Fork 8
Support parallel read #395
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
base: master
Are you sure you want to change the base?
Conversation
**Parallel Processing Fixes:** - Fix missing attribute hyperlinks in parallel builds - Fix missing attribute content rendering in worker processes - Ensure attribute definitions are properly shared between worker processes - Improve collection merging logic for robust parallel processing **API Improvements:** - Simplify add_attribute() API - no longer requires explicit collection parameter - Items automatically get collection reference when added to collection - Maintain backward compatibility with existing code - Add comprehensive validation while improving user experience **Test Suite Enhancements:** - Add comprehensive parallel processing test suite - Consolidate duplicate test files into unified test suite - Add tests for attribute consistency between serial/parallel builds - Improve test coverage for edge cases and error handling - Enhanced `ParallelSafeTraceableCollection` for proper worker process handling - Improved `begin_parallel_read()` to ensure all attribute definitions available - Enhanced `merge_from()` logic for robust collection merging - Modified `add_item()` to automatically set collection reference - Updated multiple directive classes for consistent parallel behavior - Resolves attribute hyperlink generation in parallel builds - Resolves attribute content rendering issues - Eliminates duplicate warnings in parallel processing - Maintains data integrity across worker processes
3 new issues
|
Diff Coverage: The code coverage on the diff in this pull request is 78.5%. Total Coverage: This PR will increase coverage by 12.21%. File Coverage Changes
🛟 Help
|
…rror: <class 'sphinx.writers.html5.HTML5Translator'> departing unknown node type: AttributeSort'
Resolves serial build failures where utility nodes (AttributeSort, CheckboxResult, ItemLink, ItemRelink, AttributeLink) were processed by HTML5 translator before being replaced by replace_self([]). - Register utility nodes with app.add_node() for proper Sphinx integration - Use docutils.nodes.SkipNode to cleanly skip nodes with no visual representation - Single skip_node_html5() function handles all utility nodes consistently - Fixes NotImplementedError in serial builds (-j 1) while maintaining parallel support Closes: Serial build crash with 'departing unknown node type' error
The doc build in CI produces some duplicate warnings. No clue why yet. I will investigate this issue and have a look at sphinx-doc/sphinx#13738. |
Closes #269