Mathias Bogaert

Results 66 issues of Mathias Bogaert

Improve performance in frequently used cache methods: 1. Values method: - Move time.Now() outside of lock - Simplify iteration 2. DeleteExpired method: - Replace key slice allocation with direct list...

Removes the external dependency on the abandoned yamlpatch package, remove {{ and }} handling from format_pipeline.

Replace manual byte conversion and null terminator handling with the standard unix.ByteSliceToString function from golang.org/x/sys/unix. This improves cross-platform compatibility and eliminates potential panic conditions when processing kernel release strings. The...

misc

This commit: - Adds a BUILD_URL env parameter to step metadata - Adds proper handling for one-off jobs with a different URL pattern Was also requested here: https://github.com/concourse/concourse/issues/1588

enhancement

Improve rendering performance by synchronizing visual DOM operations with the browser's rendering cycle. This change specifically targets operations that directly influence what the user sees, such as: - Pipeline SVG...

This commit fixes a potential nil pointer dereference bug in the DNS server's error handling code. The bug occurred when all upstream DNS servers failed, creating an uninitialized *dns.Msg then...

- Replace fmt.Sscanf with strconv.ParseUint for more efficient header parsing - Replace fmt.Sprintf("%d", id) with strconv.FormatUint for more efficient string conversion - Use Header().Set() to prevent duplicate headers - Add...

Improve code readability by removing redundant boolean operation and temporary variable in the hasPermission method. No functional change as this simplification would likely be performed by the compiler anyway.