How a Little Environment Variable Can Break Your Integration Tests in ReSharper & Rider

Last week we run into a strange problem with our integration tests. On some developer machines everything worked fine, while other machines got errors like this one: System.InvalidOperationException : Cannot resolve scoped service ‘my.application.IOrderRepository’ from root provider. at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteValidator.ValidateResolution(Type serviceType, IServiceScope scope, IServiceScope rootScope)   The problem It took us hours to understand what was …

Read more

How to Fix Apt Packages Release File for XY Is Not Valid Yet

As I tried to update my WSL (Windows Subsystem for Linux) installation, I run into this error message:

E: Release file for http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease is not valid yet (invalid for another 58min 27s). Updates for this repository will not be applied. How could that be? The difference of nearly an hour got me thinking about …

Read more