Skip to content

docs(testing-shape): test --local shares the deploy dir; restart run --local after it (#230) - #251

Closed
MendixMau wants to merge 1 commit into
masterfrom
docs/testing-shape-local-deploy
Closed

MendixMau wants to merge 1 commit into
masterfrom
docs/testing-shape-local-deploy

Conversation

@MendixMau

Copy link
Copy Markdown
Owner

What changed and why

skills/testing-shape.md claimed a warm run --local keeps serving while mxcli test --local runs. It does not: test --local has its own ports and DB but shares the deployment directory, so a test run breaks the live app. The passage now says to restart run --local after any test --local run, and describes what --attach does (hot-applies into the live app and its DB, so restart before row-counting journeys). Fixes #230.

The upstream ask (mxcli's own test help text says the same wrong thing) is still open.

Field evidence

Existing app, mxcli v0.25, Mendix 11.15, field run 2026-10-07 (#230).

Checklist

  • Size cap: 2 files
  • Test tier: T0 (docs only)
  • Instrument rules: n/a
  • CHANGELOG line under Unreleased
  • Leak guard, check-pr-discipline clean

🤖 Generated with Claude Code

https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw


Generated by Claude Code

…cal (#230)

The skill claimed a warm run --local app keeps serving during mxcli test --local.
Ports and DB are separate but mxbuild writes <app dir>/deployment for both, so a
building test run breaks the live app. Rewrote the passage: restart run --local
after test --local; --attach hot-applies into the live app and its database.
No other contradicting sentences found (--attach mentions at lines 317-333 are consistent).
Checks: check-docs-numbering (nothing staged to examine), leak guard clean,
check-pr-discipline clean. Docs only; no fixture covers this file.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw
MendixMau added a commit that referenced this pull request Oct 8, 2026
Squash of integration/2026-10-08, which merges:

- #225 perf(ui-loop): test-stack-up.sh recognises a live mxcli run --local
- #231 fix(sync): sync-project.sh no longer exits 1 silently before its bin/ refresh
- #242 fix(init): local by default, no Dev Container
- #243 docs(lint): process/lint-backlog.md, the lint rollout plan
- #247 new(lint): the lint gate keeps a ledger
- #249 learn(test): skills/e2e-locators-that-lie.md
- #250 learn(skills): unhappy-path-testing.md
- #251 fix(testing-shape): mxcli test --local shares the deploy directory (#230)
- #252 fix(obligations): LOOK staleness reads the newest VALID AT stamp (#155)
- #253 docs(lint): quality-source review, Batch 4 backlog rows and skill additions
- #254 fix(lint): CONV020 works out of the box, page navigation counts as feedback (#229, #245)
- #255 fix(e2e): journey-runner rung 2 runs for a negative-only span claim (#150)
- #256 fix(gates): Stage 6 Surface, source-sufficiency title, ${JOURNEY_DIR} manifest token (#233, #234, #235)

Verified on the branch: tests/run-tests.sh 33/0, tests/test-lint-delivery.sh ALL GREEN, tests/wave2 73/75 (two environmental), render-routing --check, check-scripts, check-portability, leak guard, check-no-private-citations, check-pr-discipline all clean; scaffold smoke run without crashes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VJgWP5vEoAsNsJYqCDMGNw
@MendixMau

Copy link
Copy Markdown
Owner Author

Merged into master via integration PR #258 (squash 9dd9be4), on the maintainer's approval. Closing this PR; its branch is part of that squash.


Generated by Claude Code

@MendixMau MendixMau closed this Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] testing-shape.md says a warm run --local app keeps serving during mxcli test --local; both --local and --attach broke the running app

2 participants