This message was deleted.
# report-bugs
s
This message was deleted.
2
m
Now when I re-run
gt dev cache --clear
I get
Copy code
ConcurrentExecutionError: Cannot run more than one Graphite process at once.
    at Object.lock (/usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/dist/src/lib/engine/cache_lock.js:11:23)
    at Object.handler (/usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/dist/src/commands/dev-commands/cache.js:20:15)
    at /usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/node_modules/yargs/build/index.cjs:1:8891
    at j (/usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/node_modules/yargs/build/index.cjs:1:4956)
    at M.handleValidationAndGetResult (/usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/node_modules/yargs/build/index.cjs:1:8860)
    at M.applyMiddlewareAndGetResult (/usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/node_modules/yargs/build/index.cjs:1:9502)
    at M.runCommand (/usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/node_modules/yargs/build/index.cjs:1:7231)
    at [runYargsParserAndExecuteCommands] (/usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/node_modules/yargs/build/index.cjs:1:57900)
    at M.parseAndUpdateUsage (/usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/node_modules/yargs/build/index.cjs:1:8000)
    at M.applyBuilderUpdateUsageAndParse (/usr/local/Cellar/graphite/0.20.13/libexec/lib/node_modules/@withgraphite/graphite-cli/node_modules/yargs/build/index.cjs:1:7707)
I eventually found a workaround: recreating a branch
parent-branch
:
gco -b parent-branch
pointing to
parent-branch-split-2
made graphite cli operational again
cc @Pranathi Peri @Jacob Gold
Just cced you because though I eventually found a solution, it looks like there is a bug at cli level 🙂
p
Don’t think you got the right person there @Marc Agbanchenou 😉
🙈 2
m
Oh, my bad 🙈
j
Thanks for reporting, glad you were able to figure it out — we'll look into this!
👌 1
b
I just got the same issue
I tried
gt repo init --reset
that’s not working either
went into my
.git/
hopefully this is helpful:
.graphite_repo_config
Copy code
{
  "trunk": "master",
  "lastFetchedPRInfoMs": 1675970587082
}
.graphite_pr_info
Copy code
{
  "prInfoToUpsert": [
    {
      "prNumber": 77,
      "title": "add dot env config",
      "body": "## Description\nneed environmnetal variables to target development and production builds\n\n## GitHub Issue or Linear Task\nN/A\n## Why is this change required?\nneed to create different builds based off the enviroment the sdk is in\n## How Has This Been Tested?\nran tests locally, they passed\n\n\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n",
      "state": "OPEN",
      "reviewDecision": null,
      "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/77>",
      "headRefName": "add_dot_env_config",
      "baseRefName": "pull_request_template",
      "isDraft": false
    },
    {
      "prNumber": 78,
      "title": "update tsconfig with incremental",
      "body": "## Description\n<https://www.typescriptlang.org/docs/handbook/compiler-options.html>\n```\n--incremental\t\nboolean\ntrue if composite,\nfalse otherwise.\nSave .tsbuildinfo files to allow for incremental compilation of projects.\n```\n<https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#faster-subsequent-builds-with-the---incremental-flag>\n```\nTypeScript 3.4 introduces a new flag called incremental which tells TypeScript to save information about the project graph from the last compilation. The next time TypeScript is invoked with incremental, it will use that information to detect the least costly way to type-check and emit changes to your project.\n```\ncan ignore the .tsbuildinfo file in git\n## GitHub Issue or Linear Task\n\n## Why is this change required?\n\n## How Has This Been Tested?\n\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n",
      "state": "OPEN",
      "reviewDecision": null,
      "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/78>",
      "headRefName": "add_incremental_to_tsconfing",
      "baseRefName": "remove_tsconfig_module",
      "isDraft": true
    },
    {
      "prNumber": 62,
      "title": "add publish github workflow",
      "body": "add a workflow to publish and semvar entropyjs package\n",
      "state": "OPEN",
      "reviewDecision": "REVIEW_REQUIRED",
      "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/62>",
      "headRefName": "add_publish_github_workflow",
      "baseRefName": "master",
      "isDraft": true
    },
    {
      "prNumber": 79,
      "title": "create bundle browser and node configuration",
      "body": "## Description\nentropy-js needs to be built for but nodejs and browser.\n## GitHub Issue or Linear Task\n\n## Why is this change required?\nENT-146\n## How Has This Been Tested?\n- ran tests locally\n- ran commands locally\n\nbrowser scripts still not working because my branch didn't have the correct x25519 module\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n",
      "state": "OPEN",
      "reviewDecision": null,
      "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/79>",
      "headRefName": "create_bundle_browser_and_node_configuration",
      "baseRefName": "update_tsup_with_config",
      "isDraft": true
    },
    {
      "prNumber": 63,
      "title": "pull request template",
      "body": "\n## Description\nadded a pull request template from here: <https://www.talater.com/open-source-templates>\n\n## Related Issue\nN/A we have been talking about this for a while so, I just did it.\n\n## Motivation and Context\nPR descriptions are either left blank or they're all a bit different which makes review more difficult.\n<!--- Why is this change required? What problem does it solve? -->\nHaving a standard PR template will make getting context for the PR a bit easier for the reviewer. Also, help the developer explain changes.\n\n## How Has This Been Tested?\nwhen opening PR you should see this template\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n<!--- see how your change affects other areas of the code, etc. -->\n\n## Screenshots (if appropriate):\n\n## Types of changes\n\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\n\n- [ ] Bug fix (non-breaking change which fixes an issue)\n- [ ] New feature (non-breaking change which adds functionality)\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\n- [x] Documentation\n## Checklist:\n\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\n\n- [x] My code follows the code style of this project.\n- [ ] My change requires a change to the documentation.\n- [ ] I have updated the documentation accordingly.\n",
      "state": "OPEN",
      "reviewDecision": "REVIEW_REQUIRED",
      "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/63>",
      "headRefName": "pull_request_template",
      "baseRefName": "master",
      "isDraft": false
    },
    {
      "prNumber": 75,
      "title": "remove tsconfig module",
      "body": "## Description\nwe don't need to emit common cjs because tsup is doing that for us, can remove this option\n<https://stackoverflow.com/a/61215252/2402958>\n## GitHub Issue or Linear Task\nN/A\n## Why is this change required?\nremove tech debt\n## How Has This Been Tested?\nran tests locally, they passed.\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n",
      "state": "OPEN",
      "reviewDecision": null,
      "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/75>",
      "headRefName": "remove_tsconfig_module",
      "baseRefName": "add_dot_env_config",
      "isDraft": false
    },
    {
      "prNumber": 76,
      "title": "update tsup with config",
      "body": "## Description\n\nAdd scripts to create production bundles\n\n\n## GitHub Issue or Linear Task\nfixes: ENT-147\n## Why is this change required?\nNeed production version of js\n## How Has This Been Tested?\nCommands run, and test do not break locally, however. I'm having issues up stack with `@polkadot/*` import an `fs` module so this js will likely crash a browser.\n\nThese commands do create bundles, will work in browser once #79 is landed`\n\nCode doesn't break anything in the package, and commands aren't used in actions, yet. \n\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n ",
      "state": "OPEN",
      "reviewDecision": null,
      "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/76>",
      "headRefName": "update_tsup_with_config",
      "baseRefName": "use_x255_from_git_repo_link",
      "isDraft": false
    },
    {
      "prNumber": 72,
      "title": "use x255 from git repo link",
      "body": "<!--- Provide a general summary of your changes in the Title above -->\n\n## Description\nyarn install and use nodejs build from hard linked repo\nthe github links in the package.json are temp until we can get the x255 PR merged and I can get a PAT from jordo to push modules to github packages\n<!--- Describe your changes in detail -->\n\n## Related Issue\n\n<!--- This project only accepts pull requests related to open issues -->\n<!--- If suggesting a new feature or change, please discuss it in an issue first -->\n<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->\n<!--- Please link to the issue here: -->\n\n## Motivation and Context\nfirst step in conditional import of sdk to nodejs and web\n<!--- Why is this change required? What problem does it solve? -->\nrun sdk in multiple environments\n## How Has This Been Tested?\nran tests locally\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n<!--- see how your change affects other areas of the code, etc. -->\n\n## Screenshots (if appropriate):\n\n## Types of changes\n\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\n\n- [ ] Bug fix (non-breaking change which fixes an issue)\n- [ ] New feature (non-breaking change which adds functionality)\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\n\n## Checklist:\n\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\n\n- [ ] My code follows the code style of this project.\n- [ ] My change requires a change to the documentation.\n- [ ] I have updated the documentation accordingly.\n",
      "state": "OPEN",
      "reviewDecision": null,
      "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/72>",
      "headRefName": "use_x255_from_git_repo_link",
      "baseRefName": "add_incremental_to_tsconfing",
      "isDraft": false
    }
  ]
}
graphite cache persist
Copy code
{
  "sha": "f35fecb7ee649ea71e7a4c10f641adf9359455b7",
  "branches": [
    [
      "master",
      {
        "validationResult": "TRUNK",
        "branchRevision": "5f620b49d5382849f93e166d913fe6bb9ceb668c",
        "children": [
          "add_publish_github_workflow",
          "pull_request_template"
        ]
      }
    ],
    [
      "add_publish_github_workflow",
      {
        "parentBranchName": "master",
        "branchRevision": "8deb436b570e2f12d9dd00faa81d1f0efc070dad",
        "prInfo": {
          "title": "add publish github workflow",
          "body": "add a workflow to publish and semvar entropyjs package\n",
          "number": 62,
          "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/62>",
          "base": "master",
          "state": "OPEN",
          "draft": true,
          "isDraft": true,
          "reviewDecision": "REVIEW_REQUIRED"
        },
        "children": [],
        "validationResult": "VALID",
        "parentBranchRevision": "e1637ebfa99fb1b89a4bdf4a6c64341a84936703"
      }
    ],
    [
      "spin-up-testing-env",
      {
        "validationResult": "BAD_PARENT_NAME",
        "branchRevision": "3096e9f0f1cd2bb152d1f448a6610752e813d627",
        "children": []
      }
    ],
    [
      "02-01-update_entropy-metadata.json_to_reflect_core_master",
      {
        "validationResult": "BAD_PARENT_NAME",
        "branchRevision": "b617d0fd9b735f9b4cffede57828db8264fb6b16",
        "children": []
      }
    ],
    [
      "01-30-Add_tests_for_isValidSubstrateAddress",
      {
        "validationResult": "BAD_PARENT_NAME",
        "branchRevision": "d03c3a71e1be34b9c5935da3cf54afb5f229a217",
        "children": []
      }
    ],
    [
      "remove_requires",
      {
        "validationResult": "BAD_PARENT_NAME",
        "branchRevision": "224bedf25e84286ccbc80104aa81c4081df05c11",
        "children": []
      }
    ],
    [
      "pull_request_template",
      {
        "parentBranchName": "master",
        "branchRevision": "e85e488658c6c867f399306fe257a8d5b14ef91f",
        "prInfo": {
          "title": "pull request template",
          "body": "\n## Description\nadded a pull request template from here: <https://www.talater.com/open-source-templates>\n\n## Related Issue\nN/A we have been talking about this for a while so, I just did it.\n\n## Motivation and Context\nPR descriptions are either left blank or they're all a bit different which makes review more difficult.\n<!--- Why is this change required? What problem does it solve? -->\nHaving a standard PR template will make getting context for the PR a bit easier for the reviewer. Also, help the developer explain changes.\n\n## How Has This Been Tested?\nwhen opening PR you should see this template\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n<!--- see how your change affects other areas of the code, etc. -->\n\n## Screenshots (if appropriate):\n\n## Types of changes\n\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\n\n- [ ] Bug fix (non-breaking change which fixes an issue)\n- [ ] New feature (non-breaking change which adds functionality)\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\n- [x] Documentation\n## Checklist:\n\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\n\n- [x] My code follows the code style of this project.\n- [ ] My change requires a change to the documentation.\n- [ ] I have updated the documentation accordingly.\n",
          "number": 63,
          "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/63>",
          "base": "master",
          "state": "OPEN",
          "draft": false,
          "isDraft": false,
          "reviewDecision": "REVIEW_REQUIRED"
        },
        "children": [
          "add_dot_env_config"
        ],
        "validationResult": "VALID",
        "parentBranchRevision": "5f620b49d5382849f93e166d913fe6bb9ceb668c"
      }
    ],
    [
      "use_x255_from_git_repo_link",
      {
        "parentBranchName": "temp_disable_build_command",
        "branchRevision": "46765a779970fddc495eebafd3ca401528623708",
        "prInfo": {
          "title": "use x255 from git repo link",
          "body": "<!--- Provide a general summary of your changes in the Title above -->\n\n## Description\nyarn install and use nodejs build from hard linked repo\nthe github links in the package.json are temp until we can get the x255 PR merged and I can get a PAT from jordo to push modules to github packages\n<!--- Describe your changes in detail -->\n\n## Related Issue\n\n<!--- This project only accepts pull requests related to open issues -->\n<!--- If suggesting a new feature or change, please discuss it in an issue first -->\n<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->\n<!--- Please link to the issue here: -->\n\n## Motivation and Context\nfirst step in conditional import of sdk to nodejs and web\n<!--- Why is this change required? What problem does it solve? -->\nrun sdk in multiple environments\n## How Has This Been Tested?\nran tests locally\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n<!--- see how your change affects other areas of the code, etc. -->\n\n## Screenshots (if appropriate):\n\n## Types of changes\n\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\n\n- [ ] Bug fix (non-breaking change which fixes an issue)\n- [ ] New feature (non-breaking change which adds functionality)\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\n\n## Checklist:\n\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\n\n- [ ] My code follows the code style of this project.\n- [ ] My change requires a change to the documentation.\n- [ ] I have updated the documentation accordingly.\n",
          "number": 72,
          "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/72>",
          "base": "add_incremental_to_tsconfing",
          "state": "OPEN",
          "draft": true,
          "isDraft": false
        },
        "children": [],
        "validationResult": "VALID",
        "parentBranchRevision": "c3022635d290496bb33abee5db3148c5ff96cc34"
      }
    ],
Copy code
"parentBranchRevision": "c3022635d290496bb33abee5db3148c5ff96cc34"
      }
    ],
    [
      "update_tsup_with_config",
      {
        "validationResult": "VALID",
        "parentBranchName": "add_incremental_to_tsconfing",
        "parentBranchRevision": "a4fa4bbc80532627aa14f8f3b0d3e257bf08f5d8",
        "branchRevision": "2614295ef0e0708d478307ca90ebe42481b5f96f",
        "children": [
          "create_bundle_browser_and_node_configuration"
        ],
        "prInfo": {
          "title": "update tsup with config",
          "body": "## Description\n\nAdd scripts to create production bundles\n\n\n## GitHub Issue or Linear Task\nfixes: ENT-147\n## Why is this change required?\nNeed production version of js\n## How Has This Been Tested?\nCommands run, and test do not break locally, however. I'm having issues up stack with `@polkadot/*` import an `fs` module so this js will likely crash a browser.\n\nThese commands do create bundles, will work in browser once #79 is landed`\n\nCode doesn't break anything in the package, and commands aren't used in actions, yet. \n\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n ",
          "number": 76,
          "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/76>",
          "base": "use_x255_from_git_repo_link",
          "state": "OPEN",
          "draft": true,
          "isDraft": false
        }
      }
    ],
    [
      "remove_tsconfig_module",
      {
        "validationResult": "VALID",
        "parentBranchName": "add_dot_env_config",
        "parentBranchRevision": "4a5e2a12d94a6dd675d0f0748a1546b88aee77d7",
        "branchRevision": "de3acaed5148974690d030c437d9d0e34e6755f6",
        "children": [
          "add_incremental_to_tsconfing"
        ],
        "prInfo": {
          "title": "remove tsconfig module",
          "body": "## Description\nwe don't need to emit common cjs because tsup is doing that for us, can remove this option\n<https://stackoverflow.com/a/61215252/2402958>\n## GitHub Issue or Linear Task\nN/A\n## Why is this change required?\nremove tech debt\n## How Has This Been Tested?\nran tests locally, they passed.\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n",
          "number": 75,
          "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/75>",
          "base": "add_dot_env_config",
          "state": "OPEN",
          "draft": false,
          "isDraft": false
        }
      }
    ],
    [
      "add_dot_env_config",
      {
        "validationResult": "VALID",
        "parentBranchName": "pull_request_template",
        "parentBranchRevision": "e85e488658c6c867f399306fe257a8d5b14ef91f",
        "branchRevision": "4a5e2a12d94a6dd675d0f0748a1546b88aee77d7",
        "children": [
          "remove_tsconfig_module"
        ],
        "prInfo": {
          "title": "add dot env config",
          "body": "## Description\nneed environmnetal variables to target development and production builds\n\n## GitHub Issue or Linear Task\nN/A\n## Why is this change required?\nneed to create different builds based off the enviroment the sdk is in\n## How Has This Been Tested?\nran tests locally, they passed\n\n\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n",
          "number": 77,
          "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/77>",
          "base": "pull_request_template",
          "state": "OPEN",
          "draft": false,
          "isDraft": false
        }
      }
    ],
    [
      "add_incremental_to_tsconfing",
      {
        "validationResult": "VALID",
        "parentBranchName": "remove_tsconfig_module",
        "parentBranchRevision": "de3acaed5148974690d030c437d9d0e34e6755f6",
        "branchRevision": "a4fa4bbc80532627aa14f8f3b0d3e257bf08f5d8",
        "children": [
          "update_tsup_with_config"
        ],
        "prInfo": {
          "title": "update tsconfig with incremental",
          "body": "## Description\n<https://www.typescriptlang.org/docs/handbook/compiler-options.html>\n```\n--incremental\t\nboolean\ntrue if composite,\nfalse otherwise.\nSave .tsbuildinfo files to allow for incremental compilation of projects.\n```\n<https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-4.html#faster-subsequent-builds-with-the---incremental-flag>\n```\nTypeScript 3.4 introduces a new flag called incremental which tells TypeScript to save information about the project graph from the last compilation. The next time TypeScript is invoked with incremental, it will use that information to detect the least costly way to type-check and emit changes to your project.\n```\ncan ignore the .tsbuildinfo file in git\n## GitHub Issue or Linear Task\n\n## Why is this change required?\n\n## How Has This Been Tested?\n\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n",
          "number": 78,
          "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/78>",
          "base": "remove_tsconfig_module",
          "state": "OPEN",
          "draft": true,
          "isDraft": true
        }
      }
    ],
    [
      "create_bundle_browser_and_node_configuration",
      {
        "validationResult": "VALID",
        "parentBranchName": "update_tsup_with_config",
        "parentBranchRevision": "2614295ef0e0708d478307ca90ebe42481b5f96f",
        "branchRevision": "ad8b30092411f829a9d3b520311c641223634251",
        "children": [],
        "prInfo": {
          "title": "create bundle browser and node configuration",
          "body": "## Description\nentropy-js needs to be built for but nodejs and browser.\n## GitHub Issue or Linear Task\n\n## Why is this change required?\nENT-146\n## How Has This Been Tested?\n- ran tests locally\n- ran commands locally\n\nbrowser scripts still not working because my branch didn't have the correct x25519 module\n<!--- Please describe in detail how you tested your changes. -->\n<!--- Include details of your testing environment, and the tests you ran to -->\n\n## Screenshots (if appropriate):\n\n## Checklist:\n\n- [ ] My change requires a change to the documentation.\n",
          "number": 79,
          "url": "<https://app.graphite.dev/github/pr/entropyxyz/entropy-js/79>",
          "base": "update_tsup_with_config",
          "state": "OPEN",
          "draft": true,
          "isDraft": true
        }
      }
    ]
  ]
}
after deleting all of the
.graphite
files in my
.git
I was able to reset gt and get it working again
m
My gt state is borked. I think it happened after renaming a branch in the middle of a stack with the parent submitted for PR review. From:
feat/reset-email-response
to
feat/XXX-186/reset-email-response
.
Copy code
$ gt ls
ERROR: Cannot read properties of undefined (reading 'branchRevision')
And
gt ls
and
gt branch checkout
don’t draw the same tree. Running
gt dev cache --clear
worked for me to at least clear the error. Oh, it’s back again. If I untrack the problematic branch the error goes away. But then tracking a new branch shows very limited options:
Copy code
$ gt branch track
? Select a parent for fix/XXX-190/user-create-exists (autocomplete or arrow keys) ›
❯   feat/file-rename
    main
p
@Jacob Gold