Skip to content

chore(journey-client): serve a published revision by id - #490

Draft
stewarthsoj wants to merge 1 commit into
mainfrom
josh/er-5421-journey-client-revision-id
Draft

chore(journey-client): serve a published revision by id#490
stewarthsoj wants to merge 1 commit into
mainfrom
josh/er-5421-journey-client-revision-id

Conversation

@stewarthsoj

@stewarthsoj stewarthsoj commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Regenerates @epilot/journey-client from journey-config spec 1.6.0, so the runtime can ask for a specific published revision.

The apps/journey-app-v3 pins a save-and-continue session to the revision it started on and refetches with that revision_id on resume.

What changed

  • clients/journey-client regenerated: getJourney takes an optional revision_id query parameter, and its 200 response gains revision_id (a new JourneyServedRevision schema in the response allOf).
  • 0.7.00.8.0 (minor — one parameter and one response field added, nothing changed), CHANGELOG entry and a changeset for the aggregate @epilot/sdk minor.
  • packages/epilot-sdk-v2 regenerated for the journey API (types, compact definition, docs). Only journey files changed this run.
  • A test asserting getJourney carries the revision_id parameter.

Test plan

  • openapi (local spec) → typegentypescriptbundle-definition clean; info.version 1.6.0, getJourney parameters id, version, revision_id, source, orgId, prod server URL preserved.
  • vitest green in the client (4 tests, incl. the new parameter assertion); pnpm lint (biome) clean across 524 files.
  • getJourneyV2 verified unchanged — no revision_id parameter, no revision_id in its response — so config-engine, Configuration Hub and blueprint-manifest-api are unaffected.
  • CI green — blocked on the journey-api prod deploy described above.
  • Release 0.8.0 and call getJourney({ id, revision_id }) from the builder against dev for a typed response — same gate.

Regenerates the journey client from journey-config spec 1.6.0: getJourney
takes an optional revision_id and answers with the revision the served
configuration came from. getJourneyV2 is unchanged.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0123k71emMcLvapztKWqmRTe
@stewarthsoj stewarthsoj changed the title ER-5421: journey-client — serve a published revision by id to the runtime chore(journey-client): serve a published revision by id Sep 10, 2026
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