You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
v2/compiler/build: fix concurrent build+test
When concurrently building and testing, we would sometimes
get spurious compilation errors due to the code generation
being different between the build modes.
Fix this by using separate work directories for each build mode.
Avoid concurrent wrapper generation
We had logic to debounce regenerating wrappers,
but if there were a large stream of FS events it could
still lead to several instances of the code generation
running concurrently. Fix this by tracking when the
last run completed, and only then re-running the
code generation.
Remove timeout for 'encore gen wrappers'
The 'encore gen wrappers' command uses the
Go module cache for resolving external packages.
This can be quite slow when the Go cache is empty,
which is typical in CI/CD systems. Remove the timeout.
rewrite: support insert at end of file
In some rare situations Encore would try to add code at the end
of a file, which would panic because no segment exists at that pos.
Thanks Rob Gray for the report.
runtime: support streaming traces
This adds a new experiment that enables streaming traces
to the platform as they're happening, as opposed to waiting
for the trace to complete.