-
-
Notifications
You must be signed in to change notification settings - Fork 89
Description
The @fedify/testing package introduced in Fedify 1.8 frequently hangs during the JSR server-side processing stage when publishing. According to discussion in the JSR official Discord server, this issue might be related to circular type import references between modules, which doesn't fail locally on Deno (because type imports allow for circularity) but causes problems during JSR injection.
Symptoms
- Publishing pipeline gets stuck at “waiting for publishing” status
- Some publishing attempts seem to process indefinitely
- The issue appears to be specific to the
@fedify/testingpackage
Possible cause
Based on the Discord conversation with JSR maintainers, the likely cause is circular type import references between modules. While Deno handles circular type imports without issues locally, the JSR publishing pipeline may have trouble processing these during the injection phase.
Tasks
- Audit
@fedify/testingpackage for circular type imports - Identify any circular dependencies between modules
- Refactor code to eliminate circular type references
- Test publishing to JSR after refactoring
- Document any architectural changes made to prevent future occurrences
References
- Discord conversation in JSR official server (October 10, 2025)
- Similar known issues with circular type imports affecting JSR publishing
Additional notes
Another JSR user experienced a similar issue and resolved it by refactoring away what they suspected were circular type import references. While the exact cause was unclear, removing potential circular dependencies between modules appeared to fix the JSR injection hanging issue.
According to the JSR maintainer, the requeue button can be clicked when publishing attempts hang, though the underlying issue with circular type imports should still be addressed.