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
Copy file name to clipboardExpand all lines: AGENTS.md
+4-3Lines changed: 4 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,7 @@ It captures practical rules that prevent avoidable CI and PR churn.
20
20
- If a public API changes, update the relevant docs in the same PR.
21
21
- If new types are made part of the public API, export them from the package's `index.ts` in the same PR.
22
22
- If new learnings or misunderstandings are discovered, propose an `AGENTS.md` update in the same PR.
23
+
- In docs Markdown, keep `<!--codeinclude-->` blocks tight with no blank lines between the markers and the include line, or the rendered snippet will contain blank lines between code lines.
23
24
- Tests should verify observable behavior changes, not only internal/config state.
24
25
- Example: for a security option, assert a real secure/insecure behavior difference.
25
26
- Test-only helper files under `src` (for example `*-test-utils.ts`) must be explicitly excluded from package `tsconfig.build.json` so they are not emitted into `build` and accidentally published.
@@ -50,9 +51,9 @@ It captures practical rules that prevent avoidable CI and PR churn.
50
51
- Never bypass signing (for example, do not use `--no-gpg-sign`).
51
52
- If signing fails (for example, passphrase/key issues), stop and ask the user to resolve signing, then retry.
52
53
8. Push branch. Ask for explicit user permission before any force push.
53
-
9. Open PR against `main` using a human-readable title (no `feat(...)` / `fix(...)` prefixes).
54
-
-When using `gh` to create/edit PR descriptions, prefer `--body-file <path>` over inline `--body`.
55
-
-This avoids shell command substitution issues when the body contains backticks.
54
+
9. Open PR against `main` using a human-readable title (no `feat(...)` / `fix(...)` prefixes, and no agent-identifying prefixes or suffixes).
55
+
-Default to a ready-for-review PR. Only open or keep a PR in draft when the user explicitly asks for a draft.
56
+
-When using `gh` to create/edit PR descriptions, prefer `--body-file <path>` over inline `--body`; this avoids shell command substitution issues when the body contains backticks.
56
57
10. Add labels for both change type and semantic version impact.
Copy file name to clipboardExpand all lines: docs/modules/localstack.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,9 +16,27 @@ These examples use the following libraries:
16
16
17
17
Choose an image from the [container registry](https://hub.docker.com/r/localstack/localstack) and substitute `IMAGE`.
18
18
19
+
!!! note "Authentication requirements"
20
+
Starting on March 23, 2026, LocalStack moved to authenticated image releases. Older pinned tags may continue to work without `LOCALSTACK_AUTH_TOKEN`, but newer releases require it.
21
+
22
+
Prefer pinning a specific image tag instead of using `latest`. If the image tag you use requires authentication, pass `LOCALSTACK_AUTH_TOKEN` when starting the container:
23
+
24
+
```typescript
25
+
const token = process.env.LOCALSTACK_AUTH_TOKEN;
26
+
27
+
if (!token) {
28
+
throw new Error("LOCALSTACK_AUTH_TOKEN must be set for authenticated LocalStack images");
29
+
}
30
+
31
+
const container = await new LocalstackContainer("localstack/localstack:IMAGE")
0 commit comments