mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
The newest test run had two failures. tests/changelogFormat.test.cjs failed on "the binaries table follows the summary": the Upcoming section written after v10.71 had lost the binaries table that every release section carries. It is restored from what v10.71 shipped, and two group lines that had wrapped onto a second line are one line again, which is what the grouping guard requires. The mocha stage did not run at all. client/lib/tests/boardTriggersClass.tests.js reads boardTriggers.jade and boardTriggers.js off disk with fs and path, which worked only while node-polyfill-webpack-plugin's browser shims were in the client bundle; the @meteorjs/rspack 2.1.0 update dropped that plugin and the client build stopped with "Cannot find module 'path' for matched aliased key 'path'". That is not one suite failing - the bundle does not build, so every mocha suite is skipped and the stage reports a crash where its results should be. The suite was on the wrong side rather than wrong: it now lives in server/lib/tests, and tests/clientTestsNoNodeBuiltins.test.cjs is the mirror of the existing guard that keeps browser-only packages out of the server bundle. Issue #6274, "export includes only comments from current year", and its fix in PR #6275 were then checked against the current source. The fix is intact and survived the streaming-export rewrite that came after it: both exporters select comments by cardId and activities by boardId OR cardId. The follow-up its reporter left on that PR - "the export is now missing the lists part" - is not reproducible: result.lists has been written by the JSON exporter continuously since the CSV/TSV export was added, both JSON writers emit the same fourteen sections, and the flat formats carry each list's name on the card's own row. So no export code changed; what was missing was the guard, and tests/exportBoardSections.test.cjs pins the section list, that the two JSON writers agree on it, that no exporter selects comments by board again, and the two smaller fixes from that PR. Not run here: this sandbox has no node, meteor or any other JS runtime, so the new and changed guards were verified by porting them assertion-for-assertion to Python and running that against the same files - changelogFormat 16/16, the export and client-bundle guards clean. The mocha suites behind the fixed build have not executed yet; the next run is what shows them. Thanks to Tuphal, KhaoulaMaleh and xet7 !