Closed simonmckenzie closed 1 year ago
Hi @simonmckenzie,
Thank you for reporting this issue. This appears to be a bug in a transitive dependency used by one of the ancillary features of code references (flag extinctions).
I'll begin an investigation to remediate this issue. For the time being, you can work around this error by disabled extinctions by setting the lookback
arg (LD_LOOKBACK
as an env var) to 0.
If you have been able to pin this issue down to a particular change in your codebase and are comfortable sharing nonsensitive details about that, please feel free to contact me at our private support email - support@launchdarkly.com.
Thanks for looking into this, @atrakh.
I'm not sure whether this helps, but the merge that broke the pipeline was one that removed some React bundles from source control. These bundles were large .js
files, and would have contained a lot of references to flags.
Thanks for the additional context @simonmckenzie,
This issue appears to correlate well with a known bug diffing large files in a transitive dependency. We're working on producing a new version with a fix.
If you don't expect your React bundles to contain code references (or duplicative of the base source files), another way to resolve this issue for the time being would be by adding the bundle directory to your .ldignore
file
I'll leave this issue open until we release a fix.
Cheers!
Hi @atrakh, Will there be a new release coming soon? I see that the update to go-diff has been released...
Hi @simonmckenzie, I’m not working at LaunchDarkly any more, but I paged the team and it sounds like they’re aware of the latest update to go-diff. You should get an update on this issue soon!
Hey @simonmckenzie, apologies for the radio silence. We'll be looking into pulling in the updated version of go-diff soon.
This is still blocked until it gets merged into the git-go
repo. Here is the original issue @atrakh opened https://github.com/go-git/go-git/issues/254
Is there any update on this issue?
This is still an issue.
Hi,
I'm using the BitBucket coderefs pipe, and it's been working fine until recently, when it started failing with this error:
Here is the pipeline yml that I'm using:
I'm afraid I can't really give much more detail than this, as reproducing it involves the content of my codebase. Please tell me if there's anything I can do from my side to aid diagnosis.