Repository navigation
v7.3.1: Bounded PDF parser AI path, performance tests out of CI
SwiftCompartido v7.3.1
Summary
Patch release that bounds the PDF parser's Apple Intelligence path and takes performance tests out of CI. PDF imports can no longer stall for minutes on on-device inference: each model page request has a timeout, and the parser falls back to heuristics for the whole document on the first expiry.
Bug Fixes
PDFScreenplayParser.Options(useAIConversion,aiPageTimeout, default 30 s per page), a task-localPDFScreenplayParser.options, and aparse(from:options:progress:)overload. On the first page timeout the parser stops using the model and converts the document with heuristics; logged viaos.Logger(subsystemSwiftCompartido). (#79)
Testing
ParsedFileServiceTests/testParsePDFFile()andPDFScreenplayParserTestspin.heuristicOnlyand run deterministically in seconds; one small Apple-Intelligence-gated test (PDFScreenplayParserAIConversionTests) covers the model path and is excluded from CI. (#79)- Performance tests (XCTest
measure{}/ wall-clock timing and theSwiftCompartidoPerformanceTeststarget) no longer run in CI;make test-perfruns them locally. CI now callsmake build/make test-ci, and the test suite skips draft PRs. (#78) make test-one TEST=Target/Suite[/test()]runs a single suite or test.
Packaging
Package.swiftflipped to remote-only pins for release (SwiftFijos 1.4.1, glosa-av 0.8.1).- Codemap refreshed (4586 nodes, 8429 edges).
Full Changelog: v7.3.0...v7.3.1