Skip to content

Add tracing spans - #4

Merged
miguelaferreira merged 1 commit into
mainfrom
add-trace-spans
May 2, 2026
Merged

Add tracing spans#4
miguelaferreira merged 1 commit into
mainfrom
add-trace-spans

Conversation

@miguelaferreira

Copy link
Copy Markdown
Member

This PR adds a few trace spans on the main methods called during the execution.

@miguelaferreira
miguelaferreira merged commit baa0aad into main May 2, 2026
4 checks passed
ff-team-sobrado added a commit that referenced this pull request May 5, 2026
…tionKey contract change

Two amendments from Tomás's ADR review (PR #7):

1. Obs #1 — CI grep bypass via fully-qualified-name. The original pattern
   `import com.fasterxml.jackson` misses legal Java like
   `new com.fasterxml.jackson.databind.ObjectMapper()` (no import). Drop
   the `import` prefix; unanchored `com.fasterxml.jackson` catches both
   imports AND FQN uses.

2. Obs #4 — ReservationKey.fromStripeMetadata dual-shape parsing
   investigation. PaymentLambda's stripeMetadata helper writes every
   field as a String via Long.toString(...). Stripe metadata API contract
   is strings-only. The numeric-shape defensive branch in `requireLong`
   exists purely for test ergonomics (PaymentIntentSucceededHandlerTest
   uses ObjectNode.put(String, long) which produces a JSON numeric node).
   Migration PR drops the numeric branch in production code AND updates
   test fixtures to Long.toString(...) to match the production wire
   shape. Documented in the new "Notes from review" section.

Co-Authored-By: Rui (Tech Lead) <team-sobrado@functorful.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant