@code-partner/codepipe 0.14.1-dev.342.g5ef1cc1d → 0.14.1-dev.346.g99807610
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +220 -215
- package/dist/skills/container-tooling/SKILL.md +9 -3
- package/package.json +1 -1
|
@@ -42,9 +42,15 @@ wastes a whole job on a false result.
|
|
|
42
42
|
- **No network for the workload by default is not the case** — the container has
|
|
43
43
|
network. Do not rely on isolation as a safety property here.
|
|
44
44
|
- **A service you need running** (a database for a test suite) goes up with
|
|
45
|
-
`-d` and a published port, and must be stopped when you are done
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
`-d` and a published port, and must be stopped when you are done. Other
|
|
46
|
+
jobs may run on this host at the same time, so NEVER use a fixed container
|
|
47
|
+
name or a fixed host port — derive the name from your workspace and let the
|
|
48
|
+
host port be assigned:
|
|
49
|
+
`NAME="db-$(basename "$PWD")-$$"; podman run -d --rm --name "$NAME" -p 127.0.0.1::5432 postgres:16`,
|
|
50
|
+
find the assigned port with `podman port "$NAME" 5432`, and stop it with
|
|
51
|
+
`podman rm -f "$NAME"` — only ever by that name, never by image or a
|
|
52
|
+
guessed name (you would kill another job's service). A leaked container
|
|
53
|
+
costs the next job on this host.
|
|
48
54
|
- **Pull failures are usually rate limits**, not typos. Say so plainly in your
|
|
49
55
|
result rather than retrying in a loop.
|
|
50
56
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-partner/codepipe",
|
|
3
|
-
"version": "0.14.1-dev.
|
|
3
|
+
"version": "0.14.1-dev.346.g99807610",
|
|
4
4
|
"description": "CodePipe turns tasks into reviewed pull requests: an AI agent analyzes, implements, and opens a PR under your control.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|