-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
--output - trims resulting index #262
Comments
I'm unable to reproduce this, unfortunately: ❯ while TRUE; cargo run -- build --input local-dev/test-configs/federalist.toml --output - 2> /dev/null | wc; end
1512 46242 1125456
1512 46242 1125456
1512 46242 1125456
1512 46242 1125456 however, I suspect that merging #272 will fix this issue. If you're able, could you pull that branch, build Stork locally, and retry your test? |
The above is unpatched. For some reason, the Federalist Papers example reproduces this issue a lot less (I had to use uniq to reduce the non-wrong result spam). Patched:
It'd appear flushing does not help (IIRC, I tried this myself after opening the issue anyways). Please try this on a glibc system (such as the Debian Docker container) too. It's probably worth noting that I'm using rustc 1.58.1 and cargo 1.58.0 PS: Is there some realtime communication channel? It'd likely be more ergonomic to test these kinds of weird issues that way |
Weird - thanks for checking. I'll be sure not to merge #272 if it makes things too slow. When you were reproducing it with your own config, was it producing index files that were bigger or smaller than the Federalist Papers example? I'll keep working on a repro and check back in. There's no chat set up for the project - I haven't had a need to spin something like that up yet, and I don't yet have a good sense for how useful it would be over Github issues and discussions. Happy to consider it, though - any suggestions? |
Flush alone should't, I think this was just system load. I can't reproduce it now. Even when reverting the BTreeMap changes I only get a 13% increase in speed (builds per second).
I was under the impression I included my results - my bad!
This just gets weirder, I am now unable to reproduce it with the flush.
I don't really have any special suggestions here, just the usual (Matrix or Libera.Chat; Zulip is also a thing some swear by but I haven't used it much). |
Hello I'm experiencing the same as we're trying to implement Stork into Emanote (srid/emanote#327). When using To repro:
(Using Stork v1.5.0 btw) |
@jilleJr - thanks for the repro steps. I'll take a look later today and report back what I find. |
Related to #261. This makes it impossible to use stork as a filter. Notably,
/dev/stdout
does not have the same issue, implying this is an issue with how Rust opens stdout.The text was updated successfully, but these errors were encountered: