Commit b15ca7d
release: 4.19.1 (#99)
* codegen metadata
* ci(docs): generate docs on the PR, publish Postman from the raw spec (#157)
* ci(docs): generate docs on the PR, publish Postman from the raw spec
Move the mintlify-docs sync off the post-merge Stainless build and onto the
PR, right after the preview generation — restoring the pre-#136 "docs PR from
the PR" flow. The post-merge build was flaky: a downstream SDK target (usually
cli) failing, or Stainless's content cache skipping a re-run of the same
commit, silently blocked the docs sync.
- sync_docs now runs on pull_request (needs: preview) and creates/updates the
docs PR (branch api-spec-<pr>) from the PR's own code-sample-decorated spec.
No auto-merge — a human merges the docs PR once this PR lands, matching the
original flow.
- publish_postman builds the collection straight from specs/openapi.yml (the
converter ignores x-codeSamples), so it no longer depends on the Stainless
build, and publishes the live public collection only on merge to main (push
is path-filtered to specs/**).
- sdk_release keeps the Stainless build@main that cuts the per-language SDK
release PRs; it no longer gates docs or Postman, so a cli flake is just a
re-run.
Also reword the bulk-replace tenant_id param ("Update" -> "Replace") to
exercise the new PR-based docs generation.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* docs(readme): document PR-time docs sync and raw-spec Postman flow
Rewrite the 'What happens in CI' section to match the restructured
workflow: docs sync now runs on the PR right after generation (no
auto-merge), and Postman/SDK-release run on merge — Postman built from
specs/openapi.yml, sdk_release no longer gating docs.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* ci(e2e): pass COURIER_RESENDABLE_MESSAGE_ID through to the e2e run
The resend test reads COURIER_RESENDABLE_MESSAGE_ID (repo secret exists,
listed in node/.env.example) but it was never mapped into the e2e env
block, so env() fell back to "" and courier.messages.resend("") hit
POST /messages//resend -> 404. Wire the secret through.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
* codegen metadata
* release: 4.19.1
---------
Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 16bc91f commit b15ca7d
9 files changed
Lines changed: 16 additions & 12 deletions
File tree
- lib/courier
- models/users
- resources/users
- rbi/courier
- models/users
- resources/users
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
3 | 7 | | |
4 | 8 | | |
5 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments