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
This problem is flacky and occurs in random places in our codebase. We have a couple of dozens avdl files and they are converted to scala.
From time to time the following scala code is generated (pieces of the generated files): def put(field$: Int, value: ...): Unit = { (field$: @...) match { final case class ExperimentSegments(var experiment_segment_id: ..., var name: ..., var type: String) extends ... {
The problem after the retry. Looks like the parser misses types from time to time (sync issues?) and leaves ... instead.
My feeling is that the issue goes down to treehugger but I'm not sure.
Any hints/ideas?
The text was updated successfully, but these errors were encountered:
We have multiple tasks that compile different avdl files separately. The problem goes away when we limit the concurrency in sbt for such tasks so only one avdl file is compiled at any given moment of time:
val Avdl = Tags.Tag("avdl")
concurrentRestrictions in Global := {
...
Seq(..., Tags.limit(Avdl, 1), ...)
}
...
Compile / sourceGenerators += (Compile / avroScalaGenerateSpecific).tag(Avdl).taskValue,
...
This problem is flacky and occurs in random places in our codebase. We have a couple of dozens avdl files and they are converted to scala.
From time to time the following scala code is generated (pieces of the generated files):
def put(field$: Int, value: ...): Unit = {
(field$: @...) match {
final case class ExperimentSegments(var experiment_segment_id: ..., var name: ..., var
type: String) extends ... {
The problem after the retry. Looks like the parser misses types from time to time (sync issues?) and leaves
...
instead.My feeling is that the issue goes down to
treehugger
but I'm not sure.Any hints/ideas?
The text was updated successfully, but these errors were encountered: