finestructure,
@finestructure@mastodon.social avatar

You know how we all run failing tests twice in the hopes for a better outcome?

Yesterday I found weird behaviour in Vapor that caused test failures. Ran them many times, isolated the issue and reported it.

Got feedback this morning that this is weird and should be working (agreed!) and so I went to make a minimal reproducer. Which didn't reproduce.

Then I re-ran the tests I'd left in failing state since yesterday. And now they pass. 🫠… (1/2)

finestructure,
@finestructure@mastodon.social avatar

I should really just take the win and move on but I'm veeery tempted to figure out what happened here. How is this even possible 😵‍💫 (2/2)

icanzilb,
@icanzilb@mastodon.social avatar

@finestructure you can look the other way but if the test isn't deterministic the problems will be back

terminator GIF

finestructure,
@finestructure@mastodon.social avatar

@icanzilb If this test isn't deterministic*) I'm going to retire 🤣

*) for “normal" reasons not to be – at this point I'm suspecting a stale build

icanzilb,
@icanzilb@mastodon.social avatar

@finestructure that's a good question, what you gonna even do when retired? Live in the south by the sea, enjoy sports and fine life and poke at computer stuff? 🥴

finestructure,
@finestructure@mastodon.social avatar

@icanzilb you kinda make it sound like I’ve already retired 😅

finestructure,
@finestructure@mastodon.social avatar

One nice outcome is that I found Vapor is now working out of the box with our "Try in a Playground" feature. In the past that was problematic due to some C modules if I recall correctly.

https://swiftpackageindex.com/blog/launching-the-swift-package-index-playgrounds-app-for-macos

mattiem,
@mattiem@mastodon.social avatar

@finestructure Uses a very spooky voice “test environment”

cthielen,
@cthielen@mastodon.social avatar

@finestructure I’m sure it’ll reproduce when we’re in the right moon phase.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • ngwrru68w68
  • rosin
  • GTA5RPClips
  • osvaldo12
  • love
  • Youngstown
  • slotface
  • khanakhh
  • everett
  • kavyap
  • mdbf
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • megavids
  • InstantRegret
  • normalnudes
  • tacticalgear
  • cubers
  • ethstaker
  • modclub
  • cisconetworking
  • Durango
  • anitta
  • Leos
  • tester
  • provamag3
  • JUstTest
  • All magazines