Repository navigation
Use neutral fixtures instead of a real development setup - #33
Merged
Merged
Conversation
The docs, scripts, a probe result and a test helper carried values from one workstation: a LAN hostname, home-directory paths, a saved CRM resource release UID and a personal first name. Replace them with reserved or generic values: - docs/local-development-backend.md: `http://dev-backend.test:8000`, `~/mainsequence-dev`, and generic hostname-mapping steps. - docs/conversational-mcp.md: say "the backend still authorizes every call" in plain words. - experiments/.../desktop-v3-recovery.json: a `<repo>/...` path. - scripts/preview-panel.mjs: a `/home/fixture/mainsequence` folder. - scripts/verify-update-lifecycle-live.mjs: pick the saved connection named `crm`, or the release in MAINSEQUENCE_CRM_RELEASE_UID, instead of a hardcoded UID. - tests/helpers.cjs: the fixture username is `Zoë`. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Some docs, scripts, a probe result and a test helper carried values from one developer workstation: a LAN hostname, home-directory paths, a saved CRM resource release UID and a personal first name. This PR replaces them with reserved or generic values. Published releases and git history stay as they are.
docs/local-development-backend.mdhttp://dev-backend.test:8000,~/mainsequence-dev, generic hostname-mapping stepsdocs/conversational-mcp.mdexperiments/codex-host-probe/results/desktop-v3-recovery.json<repo>/experiments/codex-host-probe/.local-marketplacescripts/preview-panel.mjsbaseDir/home/fixture/mainsequencescripts/verify-update-lifecycle-live.mjscrm(same rule asverify-crm-read-live.mjs), orMAINSEQUENCE_CRM_RELEASE_UIDtests/helpers.cjsZoë(keeps a non-ASCII username in the fixtures)~/mainsequence-devis a valid value: the settings save expands a leading~/to the home directory.Test plan
npm test: 85 passed, 0 failednpm run check:docsnpm run typechecknode --checkon both changed scripts; the probe result is still valid JSONscripts/verify-update-lifecycle-live.mjsnot run live (it needs a signed-in account with a saved CRM connection)🤖 Generated with Claude Code