toga-ai 1.0.733 → 1.0.734
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.
|
@@ -6,8 +6,8 @@ project: TOGa Blox
|
|
|
6
6
|
client: shared
|
|
7
7
|
type: workflow
|
|
8
8
|
status: active
|
|
9
|
-
updated: 2026-
|
|
10
|
-
owners: [jcardinal, apeterson]
|
|
9
|
+
updated: 2026-09-02
|
|
10
|
+
owners: [jcardinal, apeterson, tcox]
|
|
11
11
|
files:
|
|
12
12
|
- toga-blox/.github/workflows/publish.yml
|
|
13
13
|
- toga-blox/package.json
|
|
@@ -86,12 +86,13 @@ environment needs its own maintained `_<mode>` branch in `toga-blox-npm`.
|
|
|
86
86
|
## Gotchas
|
|
87
87
|
|
|
88
88
|
- **⚠ There is a STALE UNDERSCORED dist-tag on the registry — `_sandbox-client` (with the
|
|
89
|
-
underscore) is NOT the channel.**
|
|
90
|
-
`_sandbox-client` = `1.0.316-sandbox-client.1` (vestigial, predates the current pipeline
|
|
91
|
-
`sandbox-client` = `1.1.
|
|
89
|
+
underscore) is NOT the channel.** Re-verified 2026-09-02, the registry still carries **both**
|
|
90
|
+
`_sandbox-client` = `1.0.316-sandbox-client.1` (vestigial, predates the current pipeline; it has
|
|
91
|
+
**not** moved in over a month) **and** `sandbox-client` = `1.1.2-sandbox-client.142` (the live
|
|
92
|
+
channel head). Branch `_<mode>` maps to
|
|
92
93
|
channel `<mode>` with the underscore **stripped** (same convention as `amplify.yml`), so the
|
|
93
94
|
**branch** `_sandbox-client` tracks the **tag** `sandbox-client`. Asking npm for "the latest
|
|
94
|
-
`_sandbox-client` tag" literally installs something **
|
|
95
|
+
`_sandbox-client` tag" literally installs something **141 publishes behind**. Always resolve the
|
|
95
96
|
head with `npm view @agilant/toga-blox dist-tags` and install the underscore-less name.
|
|
96
97
|
- **Publish before build.** `npm install @agilant/toga-blox@<mode>` fails `ETARGET No matching
|
|
97
98
|
version` in the app build until this repo has published that channel. GitHub Actions runs the
|
|
@@ -131,8 +132,19 @@ environment needs its own maintained `_<mode>` branch in `toga-blox-npm`.
|
|
|
131
132
|
was then made **on `_sandbox-client`**, at the developer's explicit direction. That **deviates
|
|
132
133
|
from the `deploy-sandbox-client` skill's "never commit the bump directly to `_sandbox-client`"
|
|
133
134
|
rule.** It was safe *only* because the feature branch does not carry the version line, so nothing
|
|
134
|
-
could be clobbered
|
|
135
|
-
|
|
135
|
+
could be clobbered. CI then published base+1 → `1.0.334-sandbox-client.136`.
|
|
136
|
+
- **Bumping the base directly on `_sandbox-client` is the ACTUAL practice — it is safe under three
|
|
137
|
+
preconditions, and it is no longer a one-off.** Second occurrence 2026-09-02 (`1.1.0` → `1.1.1`,
|
|
138
|
+
commit `543a7186`, published `1.1.2-sandbox-client.142`), same shape as 2026-08-26. Stop treating
|
|
139
|
+
the skill's "never bump on `_sandbox-client`" line as absolute; treat it as conditional. The bump
|
|
140
|
+
on the release branch is fine when **all three** hold:
|
|
141
|
+
1. The working tree is **clean**.
|
|
142
|
+
2. The branch is **in sync with `origin`** (nothing unpushed, nothing to pull).
|
|
143
|
+
3. No feature branch pending merge **touches the `version` line** — which is normally true,
|
|
144
|
+
because feature branches never edit it (see the gotcha above).
|
|
145
|
+
If any one fails, bump on the feature branch instead. Note the bump commit lands *only* on
|
|
146
|
+
`_sandbox-client` and is never merged back, which is precisely what generates the "N behind"
|
|
147
|
+
release plumbing described two gotchas up.
|
|
136
148
|
- **`gh` is not installed on every dev machine.** The skill's `gh run watch` monitoring step simply
|
|
137
149
|
does not work there. Fall back to polling the registry:
|
|
138
150
|
`npm view @agilant/toga-blox@sandbox-client version` (or `npm dist-tag ls @agilant/toga-blox`)
|
|
@@ -200,6 +212,17 @@ environment needs its own maintained `_<mode>` branch in `toga-blox-npm`.
|
|
|
200
212
|
you push to a release branch.
|
|
201
213
|
|
|
202
214
|
## Change history
|
|
215
|
+
- 2026-09-02 — Released `1.1.2-sandbox-client.142` (base `1.1.0` → `1.1.1` on `_sandbox-client`,
|
|
216
|
+
commit `543a7186`) and rolled it into `toga25-supply` (pin `1.1.1-sandbox-client.140` →
|
|
217
|
+
`1.1.2-sandbox-client.142`, clean `npm install`, `tsc --noEmit` zero errors). The documented
|
|
218
|
+
workflow was accurate end-to-end — no new gotchas. **Promoted the on-branch version bump from a
|
|
219
|
+
"one-off deviation" to the actual practice with three stated preconditions** (clean tree, in sync
|
|
220
|
+
with origin, no pending merge touching the `version` line); this was its second occurrence under
|
|
221
|
+
identical conditions. Refreshed the live `sandbox-client` head in the stale-dist-tag gotcha
|
|
222
|
+
(`.140` → `.142`); the vestigial `_sandbox-client` tag is unmoved at `1.0.316-sandbox-client.1`.
|
|
223
|
+
Confirmed the registry-polling fallback (`npm view @agilant/toga-blox@sandbox-client version`)
|
|
224
|
+
is the working verification path where `gh` is absent, and that publish lands ~2 min after the
|
|
225
|
+
push. (tcox)
|
|
203
226
|
- 2026-08-31 — Recorded the **stale underscored dist-tag trap**: the registry carries both
|
|
204
227
|
`_sandbox-client` (`1.0.316-sandbox-client.1`, vestigial) and `sandbox-client`
|
|
205
228
|
(`1.1.1-sandbox-client.140`, live head). Installing the underscored name silently pins 139
|
package/package.json
CHANGED