G.
G.
omg what a DUMBASS i am LMAO. made a mistake in the search query. gist updated.
yeah in my case it fails as soon as it's in RELEASE mode. in DEBUG it finds the items, in RELEASE it doesn't. i'll investigate again though as that's almost...
tested here, same. works well in DEBUG without optimizations. when i RELEASE it doesn't work, except if i remove the optimizations. will send more info.
a video showing the issue: 1. test passes with `No Optimization`, default for `DEBUG`. SwiftSoup returns `siblingElements` properly 2. test fails with `Optimize for Speed`, default for `RELEASE`. SwiftSoup returns...
the test run in the video is here: https://github.com/godbout/AlfredKat/blob/534c10aaf6c49b48f50c0446777e4508bef3e2b1/Tests/AlfredKatCoreTests/Feature/WorkflowTests.swift#L45 the line failing is here: https://github.com/godbout/AlfredKat/blob/534c10aaf6c49b48f50c0446777e4508bef3e2b1/Sources/AlfredKatCore/Menus/Entrance.swift#L75 maybe it's just me doing something wrong. would not discard this possibility.
> Found the bug, parent Node in SwiftSoup is in weak, [weak var parentNode: Node?](https://github.com/scinfu/SwiftSoup/blob/45a7566f7ec2de0b977f28e825f8df874f210327/Sources/Node.swift#L15) otherwise we will have a memory leak because parent have an array with all childs....
ah, sorry. thought i put this in the email snooze but didn't seem so. my bad. the fix created other issues?
honestly i haven't been using the Workflow since someone stole my TV. but i think Apple revamped the menubar quite heavily in macOS Monterey so it's possible the Workflow can't...
actually i just had to read the first paragraph of my own README 😂️: https://github.com/godbout/alfred-airplay#big-sur-no-no
sorry, my bad. i'm all on Monterey. lemme think about something and see if we can debug remotely.