Skip to content

Pull upstream for fixing vulnerability - #76

Merged
jerrytfleung merged 1 commit into
swofrom
20260820_pull
Aug 20, 2026
Merged

Pull upstream for fixing vulnerability #76
jerrytfleung merged 1 commit into
swofrom
20260820_pull

Conversation

@jerrytfleung

@jerrytfleung jerrytfleung commented Aug 20, 2026

Copy link
Copy Markdown

Pulled upstream code 2026-08-20 for fixing vulnerability.

Related to
https://swicloud.atlassian.net/browse/NH-145364
https://swicloud.atlassian.net/browse/NH-146403

@jerrytfleung jerrytfleung changed the title Pull-ed Pull upstream for fixing vulnerability Aug 20, 2026
@jerrytfleung
jerrytfleung marked this pull request as ready for review August 20, 2026 17:30
@jerrytfleung
jerrytfleung requested review from a team and a lite review from Copilot August 20, 2026 17:30

@tammy-baylis-swi tammy-baylis-swi left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, lots of upgrades 👍

@jerrytfleung
jerrytfleung merged commit 57f896c into swo Aug 20, 2026
5 checks passed
@jerrytfleung
jerrytfleung deleted the 20260820_pull branch August 20, 2026 17:34

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR pulls newer upstream dependencies (OpenTelemetry Collector/contrib and related libraries) to address a reported vulnerability, and updates the Lambda collector codebase to remain compatible with upstream API/semantic convention changes.

Changes:

  • Bumps OpenTelemetry Collector/contrib and assorted transitive dependencies across modules (v0.156.0v0.158.0, v1.62.0v1.64.0, etc.).
  • Updates cold start correlation to support the semantic conventions rename from faas.execution to faas.invocation_id, with added test coverage.
  • Adds lifecycle startup-duration logging and tests for the new log field.

Reviewed changes

Copilot reviewed 15 out of 21 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
collector/receiver/telemetryapireceiver/go.mod Updates receiver module dependencies to newer upstream versions.
collector/receiver/telemetryapireceiver/go.sum Refreshes dependency checksums for the receiver module after upgrades.
collector/receiver/telemetryapireceiver/config_test.go Switches config validation helper and adjusts expected config behavior for types.
collector/processor/decoupleprocessor/go.mod Updates processor module dependencies to newer upstream versions.
collector/processor/decoupleprocessor/go.sum Large go.sum cleanup/refresh consistent with upgraded dependency graph.
collector/processor/decoupleprocessor/config_test.go Switches config validation from xconfmap.Validate to confmap.Validate.
collector/processor/coldstartprocessor/README.md Updates documentation to reference faas.invocation_id (and legacy fallback).
collector/processor/coldstartprocessor/processor.go Implements dual-key lookup (faas.invocation_id and legacy faas.execution) for pairing.
collector/processor/coldstartprocessor/processor_test.go Updates semconv usage, xxhash import, and adds coverage for invocation-id pairing.
collector/processor/coldstartprocessor/go.mod Updates coldstartprocessor deps and moves to go.opentelemetry.io/otel semconv.
collector/processor/coldstartprocessor/go.sum Updates coldstartprocessor checksum set after dependency changes.
collector/processor/coldstartprocessor/doc.go Updates package docs to reference faas.invocation_id (and legacy fallback).
collector/main.go Captures process start time and passes it into lifecycle manager construction.
collector/lambdacomponents/go.mod Upgrades bundled component set to newer Collector/contrib versions and related deps.
collector/internal/tools/go.mod Upgrades tooling dependency to golangci-lint/v2 and refreshes toolchain deps.
collector/internal/lifecycle/manager.go Accepts startTime and logs a startup_duration when startup completes.
collector/internal/lifecycle/manager_test.go Adds tests asserting startup-duration log behavior and improves goroutine-safe assertions.
collector/go.mod Upgrades top-level collector module deps to newer Collector/contrib versions and related deps.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 52 to 55
name: "all types",
id: component.NewIDWithName(component.MustNewType("telemetryapi"), "1"),
expected: createExpectedConfig([]string{}),
expected: createExpectedConfig([]string{platform, function, extension}),
},
return err
}

lm.logger.Info("OpenTelemetry Lambda extension startup complete", zap.Duration("startup_duration", time.Since(lm.startTime)))
Comment on lines +18 to +19
// It reads the following of incoming Lambda execution spans, identified by the faas.invocation_id
// attribute (or faas.execution, the name it replaced in semantic conventions v1.19.0):
Comment on lines 9 to +10
This processor associates cold start information generated by the [telemetryapireceiver](../../receiver/telemetryapireceiver) with incoming span data processed by
the Collector extension. It reads the following of incoming Lambda execution spans identified by the `faas.execution` attribute:
the Collector extension. It reads the following of incoming Lambda execution spans, identified by the `faas.invocation_id` attribute (or `faas.execution`, the name it replaced in semantic conventions v1.19.0):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants