Repository navigation
Conversation
|
|
Member
|
Hey, thanks for the PR. Could you sign the CLA when you get a chance so we can review it? |
This branch has not been deployed
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.
Fixes #3020.
Summary
useAppHomeEarlyincmd/codeaf/app_home.gosocodeaf phone serve --home <dir>applies--homeat the start ofmain(using the samenewPhoneServeFlags()andreorder(...)parsing asrunPhoneContext), matchingcodeaf app --home <dir>.home.Adopt,home.Witness, and startup telemetry config lookup read the--homefolder instead of the defaultCODEAF_HOME/~/.codeaf.cmd/codeaf/app_home_login_test.gocoveringphone serve --homeflag forms (--home,--home=,-home,--accept-older-list --home), non-servenegative cases, and verifyingtelemetryConfiguredOff()reads from--homerather than$HOME/.codeaf.docs/changes/unreleased/.Verification
make test-focus PKGS=./cmd/codeaf RUN='^(TestAppHome|TestAppWithoutHome|TestPhoneServeHome)'— passed (1.270s)go test -race -count=1 ./cmd/codeaf -run '^(TestAppHome|TestAppWithoutHome|TestPhone)'— passed (2.823s)make test-quick(build-check,vetincl.GOOS=windows,fmt-check,test-packed-manual,changelog-check,manual-gates,test-laws,test-carried-help,test-belt-pages) — verified after adding the numbered changelog entryHOMEand unsetCODEAF_HOME:codeaf phone serve --home <tmp-state>printederror: no phone is paired with this computer yet. Approve one first, then run this again.and did not create$HOME/.codeaf.Limitations
make test-quick.