@webpieces/rules-config 0.4.566 → 0.4.567
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@webpieces/rules-config",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.567",
|
|
4
4
|
"description": "Shared webpieces.config.json loader. Single source of truth for validation rule configuration consumed by @webpieces/ai-hook-rules, @webpieces/code-rules, and @webpieces/nx-webpieces-rules.",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -219,6 +219,32 @@ must **never** acquire another developer's commits — landing that PR would shi
|
|
|
219
219
|
production. Conflict resolutions therefore live on the throwaway copy, never on your branch. After any
|
|
220
220
|
command here, `git log <your-branch>` shows it did not move.
|
|
221
221
|
|
|
222
|
+
### Is it deployed yet? — two questions, in this order
|
|
223
|
+
|
|
224
|
+
`wp-push-dev` prints both, **fully substituted with your sha and refs**, so you can paste them straight
|
|
225
|
+
in. Nothing here is blocked: they are read-only git queries plus `gh run list|watch|view`.
|
|
226
|
+
|
|
227
|
+
1. **Did YOUR code land in the composed branch?** Pure git, works whatever the CI is:
|
|
228
|
+
```bash
|
|
229
|
+
git fetch origin dev
|
|
230
|
+
git merge-base --is-ancestor <the sha wp-push-dev printed> origin/dev && echo IN || echo "not yet"
|
|
231
|
+
```
|
|
232
|
+
`dev` is rebuilt from `origin/main` plus every copy on each run, so **ancestry is inclusion**. If it
|
|
233
|
+
says "not yet", the composition simply has not run since you published — re-check, do not re-push.
|
|
234
|
+
|
|
235
|
+
2. **Did the CI/CD run finish?** GitHub Actions, if that is where this repo's dev deploy lives:
|
|
236
|
+
```bash
|
|
237
|
+
gh run list --branch dev-include/<your-branch> --limit 5 # the run your push triggered, if any
|
|
238
|
+
gh run list --branch dev --limit 5 # the composition / deploy run
|
|
239
|
+
gh run watch <run-id> # follow one to completion
|
|
240
|
+
```
|
|
241
|
+
**Empty output is an answer, not a failure** — it means this repo deploys from somewhere other than
|
|
242
|
+
Actions. Ask the human where, and do not guess.
|
|
243
|
+
|
|
244
|
+
**A green run on `dev` is NOT proof your change deployed.** That branch carries everyone's copies and the
|
|
245
|
+
composition may have excluded yours. Question 1 is the one that answers for *your* code; question 2 only
|
|
246
|
+
tells you the machinery finished. Answer them in that order, and report both.
|
|
247
|
+
|
|
222
248
|
### When two branches conflict in the composition
|
|
223
249
|
|
|
224
250
|
CI will name the branch you conflict with. Compose locally, so what you resolve is what CI will build:
|