Upgrading from Stork 1.1 to 1.2 #166
Replies: 5 comments 4 replies
-
Hi @justinmayer - Thanks for using Stork! Those are both good points about the release process! Thanks for sending them along. I totally agree that upgrade instructions would be super helpful - I’ll add them (as well as publish a docs update) as soon as I can. I’ve never heard of Invoke before, but I’m sorry to hear Stork 1.2.0 doesn’t play nicely with it. I can’t think of any incompatibilities off the top of my head, but I’ll play around with it and see if I can reproduce the errors and figure out what’s going on. In the meantime, you might try two things to narrow down the issue:
Again, thanks for the kind words and for writing in! I really appreciate the comments and hope I can get Stork 1.2 working for you soon. James |
Beta Was this translation helpful? Give feedback.
-
I've figured it out! I was able to create a minimally reproducible example, which you can download here (invoke-test.zip). When I run $ invoke --echo --debug build the process hangs forever. However, when I run $ invoke --echo --debug --pty build it works successfully. Let me know if you're seeing the same behavior. I think a lot of the new command-line behavior I added in Stork 1.2.0 relies on accurate detection of stdout and stderr being TTYs. It seems like the |
Beta Was this translation helpful? Give feedback.
-
I've also updated the documentation throughout the site to reflect the configuration options and command line API in 1.2.0 -- thanks for pushing me to do that :) |
Beta Was this translation helpful? Give feedback.
-
Bravo, James! Thank you so much for really diving into this and divining the source of the problem. I just tested this by appending Once again, thank you for going above and beyond. Truly much appreciated! 👏 |
Beta Was this translation helpful? Give feedback.
-
Hey James! I've done some more testing with Stork 1.2.1, and I've noticed a problem that I feel I can reliably reproduce. If you download & expand the attached cd testsite
cp theme/js/stork-1.2.1.js theme/js/stork.js
cp theme/js/stork-1.2.1.wasm theme/js/stork.wasm
python3 -m http.server
# Navigate to http://localhost:8000, open a JS console, search for "markdown", and observe that it fails.
^C
cp theme/js/stork-1.1.wasm theme/js/stork.wasm
python3 -m http.server
# Navigate to http://localhost:8000, open a JS console, search for "markdown", and observe that it succeeds. The following is representative of the errors I've seen when experimenting with v1.2.x of
t — storkError.ts:3
(anonymous function) — searchData.ts:59
(anonymous function) — entity.ts:167
(anonymous function) — entityDom.ts:362
inputInputEvent — entityDom.ts:110
(anonymous function) — entity.ts:176
(anonymous function) — entityDom.ts:362
inputInputEvent — entityDom.ts:110
entity.ts:176 Do you have any idea what might be done to resolve this problem? |
Beta Was this translation helpful? Give feedback.
-
Congratulations on the Stork 1.2 release! 🎉 After experimenting with it briefly, I have a few comments/suggestions:
filename
configuration directive, only to later see a deprecation notice when invokingstork
.stork
via Invoke results in an error that never occurred in v1.1. Invoke debug output ends with:Can you think of what change(s) in the Stork 1.2 release might have caused that? I rely on Invoke for project automation, so unfortunately I had to revert back to Stork 1.1.
Thanks for all the work you put into Stork. It’s a fantastic project! 😁
Beta Was this translation helpful? Give feedback.
All reactions