Skip to content

Commit fb48149

Browse files
feat(utils,http-utils): trigger release for trace ID propagation (#1154)
## Problem PR #1152 was merged with a proper `feat:` commit message, but semantic-release did not trigger a release. This happened because: - **Empty commits are ignored by `semantic-release-monorepo`** - The monorepo plugin filters commits to only include those that modify files within each package directory - Since #1152 was an empty commit with no file changes, it wasn't associated with any package - Result: Both `spacecat-shared-utils` and `spacecat-shared-http-utils` were not released despite having new features from #1097 ## Solution This PR adds documentation updates to both affected packages: - **`spacecat-shared-utils`**: Added release note for trace ID propagation - **`spacecat-shared-http-utils`**: Added release note for trace ID extraction The commit includes: - Proper `feat(utils,http-utils):` prefix following conventional commits - Actual file modifications in both package directories - Will be correctly recognized by `semantic-release-monorepo` ## Changes from PR #1097 The original trace ID propagation feature includes: - Enhanced `logWrapper` to automatically include `traceId` in log messages - SQS message trace ID propagation via `sendMessage()`/`sqsEventAdapter()` - HTTP header trace ID extraction via `x-trace-id` header - New `addTraceIdHeader()` utility function This enables end-to-end distributed tracing across SpaceCat services. ## Expected Releases Once merged, semantic-release will publish: - `@adobe/[email protected]` (currently 1.75.0) - `@adobe/[email protected]` (currently 1.18.2) ## Related - Implements: #1097 - Supersedes: #1152 - Needed for: adobe/spacecat-audit-worker#1520
1 parent c1d878e commit fb48149

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/spacecat-shared-http-utils/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
A set of TypeScript functions for creating HTTP responses with standardized formats, and classes for dealing with
44
authenticating HTTP requests.
55

6+
> **v1.19.0**: Added trace ID extraction from HTTP headers for distributed tracing support.
7+
68
## Table of Contents
79

810
- [Introduction](#introduction)

packages/spacecat-shared-utils/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
This repository contains a collection of shared utility functions used across various SpaceCat projects. These utilities provide a range of checks and validations, from basic data type validation to more complex checks like ISO date strings and URL validation.
44

5+
> **v1.76.0**: Added trace ID propagation support for distributed tracing across SpaceCat services.
6+
57
## Installation
68

79
To install the SpaceCat Shared Utilities, you can use npm:

0 commit comments

Comments
 (0)