ConnectEverything / nats-by-example

Collection of runnable, reference examples using NATS (https://nats.io)
https://natsbyexample.com
152 stars 37 forks source link

Adding nats micro example for Rust #144

Closed autodidaddict closed 11 months ago

autodidaddict commented 11 months ago

Adds an example for micro/intro in Rust. The change to the rust Dockerfile is, for some odd reason, required in order to allow output to show up from running the Rust examples (thanks @Jarema)

bruth commented 11 months ago

Ugh, the output is empty.. same weird side effect with other Rust examples.. until we figure this out, let's generate the recording locally and commit. The CI will use that if present rather than generate one.

autodidaddict commented 11 months ago

Ugh, the output is empty.. same weird side effect with other Rust examples.. until we figure this out, let's generate the recording locally and commit. The CI will use that if present rather than generate one.

There is another PR somewhere that @Jarema pushed that actually fixes the output problem. Will generate locally

autodidaddict commented 11 months ago

w00t! :partying_face: the bullets rendered properly.

autodidaddict commented 11 months ago

Ugh, the output is empty.. same weird side effect with other Rust examples.. until we figure this out, let's generate the recording locally and commit. The CI will use that if present rather than generate one.

It seems to have ignored the manually created output.txt

bruth commented 11 months ago

Still no output 🙁

bruth commented 11 months ago

Ah needs the output.cast also

bruth commented 11 months ago

A condition that checks for one but not the other..

Jarema commented 11 months ago

I will take a deeper look tomorrow in that generation issue with Docker

autodidaddict commented 11 months ago

@Jarema @bruth I'd like to get this merged.. please let me know what I can do in order to get the CI to pass here.

bruth commented 11 months ago

@Jarema pushed a commit to the fix-rust-output branch a few days ago that you can merge in here to test if it fixes the issue.

Jarema commented 11 months ago

Ok. Will work on this one today.

autodidaddict commented 11 months ago

These look like Python failures, which is weird... https://github.com/ConnectEverything/nats-by-example/actions/runs/6615260740/job/17967034931?pr=144#step:8:2174