home-sync's pcs job imports no package again (MQ-11) #348
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/pipeline-templates!348
Loading…
Reference in a new issue
No description provided.
Delete branch "mq-11-home-sync-imports"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://openproject.home.romaine.life/wp/MQ-11: since pipeline-templates#347 (3:17 AM) home-sync.yml's
pcsjob fails on every shell-config and home-profile merge withERR_MODULE_NOT_FOUND: Cannot find package '@iarna/toml'(runs https://forgejo.romaine.life/romaine-life/shell-config-profile-home/actions/runs/2566, https://forgejo.romaine.life/romaine-life/shell-config/actions/runs/333): the job importsrelease/deliver.mjs(throughhome-sync.mjs, formachines) from a_cicheckout with no node_modules, and #347 made deliver.mjs importrelease.mjsandprotocol.mjs, which reach npm packages. So no PC ran home-sync since.Changed:
deliver.mjsloadsrelease.mjs(syncMirrors) andprotocol.mjs(draftState, missingParts) with a dynamic import inside the batch's own steps (publishBatch,draftReadiness), not at the top.Added:
tests/home-sync-imports.test.mjs: home-sync.mjs's static imports, at any depth, are node's own or files of ours. It fails on main (conventions.mjs imports @iarna/toml, …) and passes here.Left alone: everything else; 341 suite tests pass.
🤖 Generated with Claude Code