You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs(skills): clarify version bump scope and add conftest.py to test structure (#39)
- upgrading-sdk-v2: clarify that config.json version bump to 2.0.0 only
applies to existing integrations being upgraded, not new integrations
written directly against SDK 2.0.0
- writing-unit-tests: add conftest.py to file structure examples and
document its standard content (sys.path setup)
Copy file name to clipboardExpand all lines: skills/upgrading-sdk-v2/SKILL.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,8 @@ Increment the **major** version since the SDK dependency is a breaking change:
130
130
131
131
If the integration was already at a higher version (e.g. `1.1.0`), bump to `2.0.0`.
132
132
133
+
> **This step only applies to existing integrations being upgraded.** A brand-new integration written directly against SDK 2.0.0 should start at `"version": "1.0.0"` — the integration's own version reflects its release history, not the SDK version.
134
+
133
135
### Step 5 — Update unit tests (if they exist)
134
136
135
137
**A. Wrap fetch mocks in FetchResponse:**
@@ -256,7 +258,7 @@ Before considering an integration upgraded, verify:
256
258
-[ ]`ActionError` is imported from the SDK
257
259
-[ ]`"error"` and error-only `"result"` properties removed from output schemas in `config.json`
0 commit comments