Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intermittent panic #499

Open
kwonoj opened this issue Dec 25, 2024 · 3 comments
Open

Intermittent panic #499

kwonoj opened this issue Dec 25, 2024 · 3 comments

Comments

@kwonoj
Copy link

kwonoj commented Dec 25, 2024

Mostly when av pr, observing panic thrown like below, 1~2 times a day. Would like to provide more context but not sure about other conditions.

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x1010af1d0]

goroutine 1 [running]:
github.com/aviator-co/av/internal/actions.UpdatePullRequestWithStack({0x101830998, 0x101e5f320}, 0x140004847b0, {0x1018351d8, 0x14000330280}, {0x140005005a0, 0x1a})
	/home/runner/work/av/av/internal/actions/pr.go:900 +0xd0
github.com/aviator-co/av/internal/actions.UpdatePullRequestsWithStack({0x101830998, 0x101e5f320}, 0x140004847b0, {0x1018351d8, 0x14000330280}, {0x1400034a630?, 0x1?, 0x101830998?})
	/home/runner/work/av/av/internal/actions/pr.go:942 +0x78
main.init.func16(0x101e0ed00, {0x101e5f320?, 0x4?, 0x10131d167?})
	/home/runner/work/av/av/cmd/av/pr.go:159 +0x5e4
github.com/spf13/cobra.(*Command).execute(0x101e0ed00, {0x101e5f320, 0x0, 0x0})
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x101e0d320)
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
main.main()
	/home/runner/work/av/av/cmd/av/main.go:124 +0x3c
@jainankit
Copy link
Contributor

Hi @kwonoj , when you observe this issue, is this reproducible? As in, if you run the same command again, does it happen again? If so, can you retry with --debug and give us the logs:

av pr --debug

@kwonoj
Copy link
Author

kwonoj commented Dec 25, 2024

Unfortunately this is intermittent + retrying usually doesn't retrigger panic. I'll try debug if I can repro again.

@kwonoj
Copy link
Author

kwonoj commented Dec 27, 2024

@jainankit Was able to grab one:

av pr --debug
DEBU[0000] enabled debug logging                         av_version=v0.1.3
DEBU[0000] git [rev-parse --git-common-dir]              duration=11.241083ms repo=[REDACTED]
DEBU[0000] loaded Git repo                               git_common_dir=/Users/[REDACTED]/github/[REDACTED]/.git
DEBU[0000] loaded config file                            config_file=/Users/[REDACTED]/.config/av/config.yaml
DEBU[0000] git [symbolic-ref --short HEAD]               duration=11.649084ms repo=[REDACTED]
DEBU[0000] querying existing open PRs from GitHub        branch=subdomain-5-extract-middleware
DEBU[0000] executing GitHub API query...                 variables="map[string]interface {}{\"after\":(*githubv4.String)(nil), \"baseRefName\":(*githubv4.String)(0x1400046d640), \"first\":50, \"headRefName\":(*githubv4.String)(0x1400046d630), \"owner\":\"[REDACTED]\", \"repo\":\"[REDACTED]\", \"states\":(*[]githubv4.PullRequestState)(0x14000290270)}"
DEBU[0000] GitHub API query succeeded                    elapsed=634.740458ms result="&struct { Repository struct { PullRequests struct { Nodes []gh.PullRequest; PageInfo gh.PageInfo } \"graphql:\\\"pullRequests(states: $states, headRefName: $headRefName, baseRefName: $baseRefName, first: $first, after: $after)\\\"\" } \"graphql:\\\"repository(owner: $owner, name: $repo)\\\"\" }{Repository:struct { PullRequests struct { Nodes []gh.PullRequest; PageInfo gh.PageInfo } \"graphql:\\\"pullRequests(states: $states, headRefName: $headRefName, baseRefName: $baseRefName, first: $first, after: $after)\\\"\" }{PullRequests:struct { Nodes []gh.PullRequest; PageInfo gh.PageInfo }{Nodes:[]gh.PullRequest{}, PageInfo:gh.PageInfo{EndCursor:\"\", HasNextPage:false, HasPreviousPage:false, StartCursor:\"\"}}}}" variables="map[string]interface {}{\"after\":(*githubv4.String)(nil), \"baseRefName\":(*githubv4.String)(0x1400046d640), \"first\":50, \"headRefName\":(*githubv4.String)(0x1400046d630), \"owner\":\"[REDACTED]\", \"repo\":\"[REDACTED]\", \"states\":(*[]githubv4.PullRequestState)(0x14000290270)}"
Creating pull request for branch subdomain-5-extract-middleware:
DEBU[0000] pushing latest changes                       
  - pushing to origin/subdomain-5-extract-middleware
DEBU[0002] git [push --force-with-lease origin subdomain-5-extract-middleware]  duration=2.112378083s repo=[REDACTED]
DEBU[0002] git [config branch.subdomain-5-extract-middleware.av-pushed-remote origin]  repo=[REDACTED]
DEBU[0002] git [config branch.subdomain-5-extract-middleware.av-pushed-ref refs/heads/subdomain-5-extract-middleware]  repo=[REDACTED]
DEBU[0002] git [rev-list --reverse subdomain-4-manager-registry..subdomain-5-extract-middleware]  duration=10.575959ms repo=[REDACTED]
DEBU[0002] git [show --quiet --format=%H%n%s%n%b 3ec6dfc264640133e2c67956514cd2efec651445]  repo=[REDACTED]
DEBU[0002] got commit info                               output="3ec6dfc264640133e2c67956514cd2efec651445\nrefactor(redux): extract middleware\n\n" rev=3ec6dfc264640133e2c67956514cd2efec651445
DEBU[0002] git [show --quiet --format=%H%n%s%n%b bfe4cfe676809be6e86ec8dbddd4415258b77c93]  repo=[REDACTED]
DEBU[0002] got commit info                               output="bfe4cfe676809be6e86ec8dbddd4415258b77c93\nrefactor(utils): extract network-probe base types\n\n" rev=bfe4cfe676809be6e86ec8dbddd4415258b77c93
DEBU[0002] git [show --quiet --format=%H%n%s%n%b 78779eb1295de2ebf5a6121fbac7e6452f3f5755]  repo=[REDACTED]
DEBU[0002] got commit info                               output="78779eb1295de2ebf5a6121fbac7e6452f3f5755\nrefactor(temporal): extract datetime constants for scheduleservice\n\n" rev=78779eb1295de2ebf5a6121fbac7e6452f3f5755
DEBU[0003] git [var GIT_EDITOR]                          duration=9.637ms repo=[REDACTED]
DEBU[0003] launching editor                              cmd="/opt/homebrew/bin/nvim /var/folders/5m/1m5fnhvd763_srt0st0dn9s00000gp/T/pr-4011176232.av.md"
DEBU[0061] could not parse PR metadata (assuming it doesn't exist)  error="decoding PR metadata: unexpected end of JSON input"
DEBU[0061] executing GitHub API mutation...              input="githubv4.CreatePullRequestInput{RepositoryID:\"MDEwOlJlcG9zaXRvcnk3OTQwNjg0MA==\", BaseRefName:\"subdomain-4-manager-registry\", HeadRefName:\"subdomain-5-extract-middleware\", Title:\"COR-16698: extract parital middleware to redux package\", ClientMutationID:(*githubv4.String)(nil), HeadRepositoryID:(*githubv4.ID)(nil), Body:(*githubv4.String)(0x14000043100), MaintainerCanModify:(*githubv4.Boolean)(nil), Draft:(*githubv4.Boolean)(0x14000600528)}"
DEBU[0062] GitHub API mutation succeeded                 elapsed=1.22741025s input="githubv4.CreatePullRequestInput{RepositoryID:\"MDEwOlJlcG9zaXRvcnk3OTQwNjg0MA==\", BaseRefName:\"subdomain-4-manager-registry\", HeadRefName:\"subdomain-5-extract-middleware\", Title:\"COR-16698: extract parital middleware to redux package\", ClientMutationID:(*githubv4.String)(nil), HeadRepositoryID:(*githubv4.ID)(nil), Body:(*githubv4.String)(0x14000043100), MaintainerCanModify:(*githubv4.Boolean)(nil), Draft:(*githubv4.Boolean)(0x14000600528)}" result="&struct { CreatePullRequest struct { PullRequest gh.PullRequest } \"graphql:\\\"createPullRequest(input: $input)\\\"\" }{CreatePullRequest:struct { PullRequest gh.PullRequest }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GVbzP\", Number:30065, HeadRefName:\"subdomain-5-extract-middleware\", BaseRefName:\"subdomain-4-manager-registry\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30065\", State:\"OPEN\", Title:\"COR-16698: extract parital middleware to redux package\", Body:\"<!-- Staging link and Linear tickets sections are automatically generated for you after creating your PR. Make sure to include Linear tickets in your PR title. You can leave this comment here when creating your PR. -->\\n\\n## Description\\n\\nThis PR moves some of /middleware and other base types being used in subdomainmanager and its dependencies.\\n\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"subdomain-4-manager-registry\\\",\\\"parentHead\\\":\\\"c6a7e1b8443dc055361400d80573654bf5b447da\\\",\\\"parentPull\\\":30047,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\\n\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}"
  - created pull request https://github.com/[REDACTED]/[REDACTED]/pull/30065
DEBU[0062] finding subsequent branches for "style-eslint-import-type" 
DEBU[0062] finding subsequent branches for "test-fixture-refactor" 
DEBU[0062] finding subsequent branches for "subdomain-3-devui-store" 
DEBU[0062] finding subsequent branches for "subdomain-4-manager-registry" 
DEBU[0062] finding subsequent branches for "refactor-domain-controller" 
DEBU[0062] finding subsequent branches for "subdomain-5-extract-middleware" 
DEBU[0062] finding subsequent branches for "domain-controller-worktree" 
DEBU[0062] Updating pull requests with stack             branch=style-eslint-import-type pr=PR_kwDOBLum-M6GMUo0
DEBU[0062] finding subsequent branches for "style-eslint-import-type" 
DEBU[0062] finding subsequent branches for "test-fixture-refactor" 
DEBU[0062] finding subsequent branches for "subdomain-3-devui-store" 
DEBU[0062] finding subsequent branches for "subdomain-4-manager-registry" 
DEBU[0062] finding subsequent branches for "refactor-domain-controller" 
DEBU[0062] finding subsequent branches for "subdomain-5-extract-middleware" 
DEBU[0062] finding subsequent branches for "domain-controller-worktree" 
DEBU[0062] querying data for existing PR from GitHub     pr=30038
DEBU[0062] executing GitHub API query...                 variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GMUo0\"}"
DEBU[0062] GitHub API query succeeded                    elapsed=304.569875ms result="&struct { Node struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" } \"graphql:\\\"node(id: $id)\\\"\" }{Node:struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GMUo0\", Number:30038, HeadRefName:\"style-eslint-import-type\", BaseRefName:\"master\", IsDraft:false, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30038\", State:\"OPEN\", Title:\"fix(eslint): explicit auto type import\", Body:\"Staging links: [prod backend cf](https://style-eslint-import-type.command.prod.cf.[REDACTED].com) | [staging backend cf](https://style-eslint-import-type.command.staging.cf.vcamera.net) | [styleguide](https://style-eslint-import-type.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://style-eslint-import-type.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://style-eslint-import-type.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\nWith our new transpiler & bundler support, it is required to ensure type-only exports are marked with type specifier. It can be confusing if import is not marked with type specifier - TypeScript can catch if it's correctly marked.\\n\\nPR enables a rule for /packages to automatically fix type only specifiers to make this practice easier.\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"master\\\",\\\"parentHead\\\":\\\"\\\",\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}" variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GMUo0\"}"
DEBU[0062] could not parse PR metadata (assuming it doesn't exist)  error="decoding PR metadata: unexpected end of JSON input"
DEBU[0062] executing GitHub API mutation...              input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GMUo0\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x140007025e0), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}"
DEBU[0063] GitHub API mutation succeeded                 elapsed=964.2165ms input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GMUo0\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x140007025e0), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}" result="&struct { UpdatePullRequest struct { PullRequest gh.PullRequest } \"graphql:\\\"updatePullRequest(input: $input)\\\"\" }{UpdatePullRequest:struct { PullRequest gh.PullRequest }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GMUo0\", Number:30038, HeadRefName:\"style-eslint-import-type\", BaseRefName:\"master\", IsDraft:false, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30038\", State:\"OPEN\", Title:\"fix(eslint): explicit auto type import\", Body:\"<!-- av pr stack begin -->\\n<table><tr><td><details><summary>This PR is part of a stack created with <a href=\\\"https://github.com/aviator-co/av\\\">Aviator</a>.</summary>\\n\\n* `master`\\n  * ➡️ **#30038**\\n    * **#30044**\\n      * **#30046**\\n        * **#30047**\\n          * **#30045**\\n          * **#30065**\\n            * `domain-controller-worktree`\\n</details></td></tr></table>\\n<!-- av pr stack end -->\\n\\nStaging links: [prod backend cf](https://style-eslint-import-type.command.prod.cf.[REDACTED].com) | [staging backend cf](https://style-eslint-import-type.command.staging.cf.vcamera.net) | [styleguide](https://style-eslint-import-type.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://style-eslint-import-type.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://style-eslint-import-type.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\nWith our new transpiler & bundler support, it is required to ensure type-only exports are marked with type specifier. It can be confusing if import is not marked with type specifier - TypeScript can catch if it's correctly marked.\\n\\nPR enables a rule for /packages to automatically fix type only specifiers to make this practice easier.\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"master\\\",\\\"parentHead\\\":\\\"\\\",\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\\n\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}"
DEBU[0063] Updating pull requests with stack             branch=test-fixture-refactor pr=PR_kwDOBLum-M6GOIlW
DEBU[0063] finding subsequent branches for "style-eslint-import-type" 
DEBU[0063] finding subsequent branches for "test-fixture-refactor" 
DEBU[0063] finding subsequent branches for "subdomain-3-devui-store" 
DEBU[0063] finding subsequent branches for "subdomain-4-manager-registry" 
DEBU[0063] finding subsequent branches for "refactor-domain-controller" 
DEBU[0063] finding subsequent branches for "subdomain-5-extract-middleware" 
DEBU[0063] finding subsequent branches for "domain-controller-worktree" 
DEBU[0063] querying data for existing PR from GitHub     pr=30044
DEBU[0063] executing GitHub API query...                 variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GOIlW\"}"
DEBU[0063] GitHub API query succeeded                    elapsed=279.014209ms result="&struct { Node struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" } \"graphql:\\\"node(id: $id)\\\"\" }{Node:struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GOIlW\", Number:30044, HeadRefName:\"test-fixture-refactor\", BaseRefName:\"style-eslint-import-type\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30044\", State:\"OPEN\", Title:\"COR-16681: move some of test fixtures setup [Subdomain (2/N)]\", Body:\"Staging links: [prod backend cf](https://test-fixture-refactor.command.prod.cf.[REDACTED].com) | [staging backend cf](https://test-fixture-refactor.command.staging.cf.vcamera.net) | [styleguide](https://test-fixture-refactor.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://test-fixture-refactor.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://test-fixture-refactor.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\nThis PR moves some of test fixtures setup / mocks / constants in `/common/tests` to a new package, `command-test-fixture`. These are being used by subdomain manager's unit tests, so required to be moved first.\\n\\nOne thing to note is as wrote briefly in readme, this package's store no longer provides a default reducer for every store: this makes package requires to depends on every feature / package's store and state as dependencies, impossible to make it being imported by individual package to use it for its test setup.\\n\\nInstead, mock store now requires to inject `reducers` to construct mock store for the given package's test. This is possible by each feature package should aware `slice` of the store state being used and can inject only necessary reducers instead. Current PR does not have the actual usage yet, however in the following PR there'll be actual example.\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"style-eslint-import-type\\\",\\\"parentHead\\\":\\\"6ec79e62b8fa0a57ee0f938281b5e104c77a618d\\\",\\\"parentPull\\\":30038,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}" variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GOIlW\"}"
DEBU[0063] could not parse PR metadata (assuming it doesn't exist)  error="decoding PR metadata: unexpected end of JSON input"
DEBU[0063] executing GitHub API mutation...              input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GOIlW\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x1400040a550), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}"
DEBU[0065] GitHub API mutation succeeded                 elapsed=1.161118042s input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GOIlW\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x1400040a550), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}" result="&struct { UpdatePullRequest struct { PullRequest gh.PullRequest } \"graphql:\\\"updatePullRequest(input: $input)\\\"\" }{UpdatePullRequest:struct { PullRequest gh.PullRequest }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GOIlW\", Number:30044, HeadRefName:\"test-fixture-refactor\", BaseRefName:\"style-eslint-import-type\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30044\", State:\"OPEN\", Title:\"COR-16681: move some of test fixtures setup [Subdomain (2/N)]\", Body:\"<!-- av pr stack begin -->\\n<table><tr><td><details><summary><b>Depends on #30038.</b> This PR is part of a stack created with <a href=\\\"https://github.com/aviator-co/av\\\">Aviator</a>.</summary>\\n\\n* `master`\\n  * **#30038**\\n    * ➡️ **#30044**\\n      * **#30046**\\n        * **#30047**\\n          * **#30045**\\n          * **#30065**\\n            * `domain-controller-worktree`\\n</details></td></tr></table>\\n<!-- av pr stack end -->\\n\\nStaging links: [prod backend cf](https://test-fixture-refactor.command.prod.cf.[REDACTED].com) | [staging backend cf](https://test-fixture-refactor.command.staging.cf.vcamera.net) | [styleguide](https://test-fixture-refactor.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://test-fixture-refactor.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://test-fixture-refactor.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\nThis PR moves some of test fixtures setup / mocks / constants in `/common/tests` to a new package, `command-test-fixture`. These are being used by subdomain manager's unit tests, so required to be moved first.\\n\\nOne thing to note is as wrote briefly in readme, this package's store no longer provides a default reducer for every store: this makes package requires to depends on every feature / package's store and state as dependencies, impossible to make it being imported by individual package to use it for its test setup.\\n\\nInstead, mock store now requires to inject `reducers` to construct mock store for the given package's test. This is possible by each feature package should aware `slice` of the store state being used and can inject only necessary reducers instead. Current PR does not have the actual usage yet, however in the following PR there'll be actual example.\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"style-eslint-import-type\\\",\\\"parentHead\\\":\\\"6ec79e62b8fa0a57ee0f938281b5e104c77a618d\\\",\\\"parentPull\\\":30038,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\\n\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}"
DEBU[0065] Updating pull requests with stack             branch=subdomain-3-devui-store pr=PR_kwDOBLum-M6GOSrb
DEBU[0065] finding subsequent branches for "style-eslint-import-type" 
DEBU[0065] finding subsequent branches for "test-fixture-refactor" 
DEBU[0065] finding subsequent branches for "subdomain-3-devui-store" 
DEBU[0065] finding subsequent branches for "subdomain-4-manager-registry" 
DEBU[0065] finding subsequent branches for "refactor-domain-controller" 
DEBU[0065] finding subsequent branches for "subdomain-5-extract-middleware" 
DEBU[0065] finding subsequent branches for "domain-controller-worktree" 
DEBU[0065] querying data for existing PR from GitHub     pr=30046
DEBU[0065] executing GitHub API query...                 variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GOSrb\"}"
DEBU[0065] GitHub API query succeeded                    elapsed=295.593458ms result="&struct { Node struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" } \"graphql:\\\"node(id: $id)\\\"\" }{Node:struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GOSrb\", Number:30046, HeadRefName:\"subdomain-3-devui-store\", BaseRefName:\"test-fixture-refactor\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30046\", State:\"OPEN\", Title:\"COR-16682: move partial devUI store state [Subdomain (3/N)]\", Body:\"Staging links: [prod backend cf](https://subdomain-3-devui-store.command.prod.cf.[REDACTED].com) | [staging backend cf](https://subdomain-3-devui-store.command.staging.cf.vcamera.net) | [styleguide](https://subdomain-3-devui-store.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://subdomain-3-devui-store.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://subdomain-3-devui-store.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\n<!-- Staging link and Linear tickets sections are automatically generated for you after creating your PR. Make sure to include Linear tickets in your PR title. You can leave this comment here when creating your PR. -->\\r\\n\\r\\n## Description\\r\\n\\r\\nThis PR moves part of the devui store / state to command-store package, to prepare subdomain manager extraction. \\n\\nMostly these are simple file move, but unlike other changes there's one refactor made to bubble up default devUI state to app level. This isn't probably the final shape, but to unblock the work immediately. This is due to dependency chain, subdomain manager's transitive deps requires devui store, and devui store's default state also requires subdomain manager. It wasn't trivial to cut those circular references, probably something to investigate further.\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"test-fixture-refactor\\\",\\\"parentHead\\\":\\\"c6394ea272e24d3561625f8c8bed872dbdc5b286\\\",\\\"parentPull\\\":30044,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}" variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GOSrb\"}"
DEBU[0065] could not parse PR metadata (assuming it doesn't exist)  error="decoding PR metadata: unexpected end of JSON input"
DEBU[0065] executing GitHub API mutation...              input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GOSrb\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x1400040abd0), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}"
DEBU[0066] GitHub API mutation succeeded                 elapsed=921.302292ms input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GOSrb\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x1400040abd0), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}" result="&struct { UpdatePullRequest struct { PullRequest gh.PullRequest } \"graphql:\\\"updatePullRequest(input: $input)\\\"\" }{UpdatePullRequest:struct { PullRequest gh.PullRequest }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GOSrb\", Number:30046, HeadRefName:\"subdomain-3-devui-store\", BaseRefName:\"test-fixture-refactor\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30046\", State:\"OPEN\", Title:\"COR-16682: move partial devUI store state [Subdomain (3/N)]\", Body:\"<!-- av pr stack begin -->\\n<table><tr><td><details><summary><b>Depends on #30044.</b> This PR is part of a stack created with <a href=\\\"https://github.com/aviator-co/av\\\">Aviator</a>.</summary>\\n\\n* `master`\\n  * **#30038**\\n    * **#30044**\\n      * ➡️ **#30046**\\n        * **#30047**\\n          * **#30045**\\n          * **#30065**\\n            * `domain-controller-worktree`\\n</details></td></tr></table>\\n<!-- av pr stack end -->\\n\\nStaging links: [prod backend cf](https://subdomain-3-devui-store.command.prod.cf.[REDACTED].com) | [staging backend cf](https://subdomain-3-devui-store.command.staging.cf.vcamera.net) | [styleguide](https://subdomain-3-devui-store.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://subdomain-3-devui-store.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://subdomain-3-devui-store.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\n<!-- Staging link and Linear tickets sections are automatically generated for you after creating your PR. Make sure to include Linear tickets in your PR title. You can leave this comment here when creating your PR. -->\\r\\n\\r\\n## Description\\r\\n\\r\\nThis PR moves part of the devui store / state to command-store package, to prepare subdomain manager extraction. \\n\\nMostly these are simple file move, but unlike other changes there's one refactor made to bubble up default devUI state to app level. This isn't probably the final shape, but to unblock the work immediately. This is due to dependency chain, subdomain manager's transitive deps requires devui store, and devui store's default state also requires subdomain manager. It wasn't trivial to cut those circular references, probably something to investigate further.\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"test-fixture-refactor\\\",\\\"parentHead\\\":\\\"c6394ea272e24d3561625f8c8bed872dbdc5b286\\\",\\\"parentPull\\\":30044,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\\n\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}"
DEBU[0066] Updating pull requests with stack             branch=subdomain-4-manager-registry pr=PR_kwDOBLum-M6GOfti
DEBU[0066] finding subsequent branches for "style-eslint-import-type" 
DEBU[0066] finding subsequent branches for "test-fixture-refactor" 
DEBU[0066] finding subsequent branches for "subdomain-3-devui-store" 
DEBU[0066] finding subsequent branches for "subdomain-4-manager-registry" 
DEBU[0066] finding subsequent branches for "refactor-domain-controller" 
DEBU[0066] finding subsequent branches for "subdomain-5-extract-middleware" 
DEBU[0066] finding subsequent branches for "domain-controller-worktree" 
DEBU[0066] querying data for existing PR from GitHub     pr=30047
DEBU[0066] executing GitHub API query...                 variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GOfti\"}"
DEBU[0066] GitHub API query succeeded                    elapsed=422.282458ms result="&struct { Node struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" } \"graphql:\\\"node(id: $id)\\\"\" }{Node:struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GOfti\", Number:30047, HeadRefName:\"subdomain-4-manager-registry\", BaseRefName:\"subdomain-3-devui-store\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30047\", State:\"OPEN\", Title:\"COR-16684: extract getManager into a new package [Subdomain (4/N)]\", Body:\"Staging links: [prod backend cf](https://subdomain-4-manager-registry.command.prod.cf.[REDACTED].com) | [staging backend cf](https://subdomain-4-manager-registry.command.staging.cf.vcamera.net) | [styleguide](https://subdomain-4-manager-registry.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://subdomain-4-manager-registry.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://subdomain-4-manager-registry.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\n<!-- Staging link and Linear tickets sections are automatically generated for you after creating your PR. Make sure to include Linear tickets in your PR title. You can leave this comment here when creating your PR. -->\\r\\n\\r\\n## Description\\r\\n\\r\\nThis PR extracts `controllers/modules` into a new package. Since given module only have one purpose (getManager), new package's named as manager-registry. This is some sort of workaround decisions to clear up dependency chain between the consumers of getManager and the subdomainManager - please refer the whole picture should be available in the final PR.\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"subdomain-3-devui-store\\\",\\\"parentHead\\\":\\\"f878885dc55dc03e5ec4c223ab3e8c4bd5790afc\\\",\\\"parentPull\\\":30046,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}" variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GOfti\"}"
DEBU[0066] could not parse PR metadata (assuming it doesn't exist)  error="decoding PR metadata: unexpected end of JSON input"
DEBU[0066] executing GitHub API mutation...              input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GOfti\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x1400040b220), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}"
DEBU[0067] GitHub API mutation succeeded                 elapsed=707.992209ms input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GOfti\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x1400040b220), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}" result="&struct { UpdatePullRequest struct { PullRequest gh.PullRequest } \"graphql:\\\"updatePullRequest(input: $input)\\\"\" }{UpdatePullRequest:struct { PullRequest gh.PullRequest }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GOfti\", Number:30047, HeadRefName:\"subdomain-4-manager-registry\", BaseRefName:\"subdomain-3-devui-store\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30047\", State:\"OPEN\", Title:\"COR-16684: extract getManager into a new package [Subdomain (4/N)]\", Body:\"<!-- av pr stack begin -->\\n<table><tr><td><details><summary><b>Depends on #30046.</b> This PR is part of a stack created with <a href=\\\"https://github.com/aviator-co/av\\\">Aviator</a>.</summary>\\n\\n* `master`\\n  * **#30038**\\n    * **#30044**\\n      * **#30046**\\n        * ➡️ **#30047**\\n          * **#30045**\\n          * **#30065**\\n            * `domain-controller-worktree`\\n</details></td></tr></table>\\n<!-- av pr stack end -->\\n\\nStaging links: [prod backend cf](https://subdomain-4-manager-registry.command.prod.cf.[REDACTED].com) | [staging backend cf](https://subdomain-4-manager-registry.command.staging.cf.vcamera.net) | [styleguide](https://subdomain-4-manager-registry.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://subdomain-4-manager-registry.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://subdomain-4-manager-registry.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\n<!-- Staging link and Linear tickets sections are automatically generated for you after creating your PR. Make sure to include Linear tickets in your PR title. You can leave this comment here when creating your PR. -->\\r\\n\\r\\n## Description\\r\\n\\r\\nThis PR extracts `controllers/modules` into a new package. Since given module only have one purpose (getManager), new package's named as manager-registry. This is some sort of workaround decisions to clear up dependency chain between the consumers of getManager and the subdomainManager - please refer the whole picture should be available in the final PR.\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"subdomain-3-devui-store\\\",\\\"parentHead\\\":\\\"f878885dc55dc03e5ec4c223ab3e8c4bd5790afc\\\",\\\"parentPull\\\":30046,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\\n\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}"
DEBU[0067] Updating pull requests with stack             branch=refactor-domain-controller pr=PR_kwDOBLum-M6GOI7H
DEBU[0067] finding subsequent branches for "style-eslint-import-type" 
DEBU[0067] finding subsequent branches for "test-fixture-refactor" 
DEBU[0067] finding subsequent branches for "subdomain-3-devui-store" 
DEBU[0067] finding subsequent branches for "subdomain-4-manager-registry" 
DEBU[0067] finding subsequent branches for "refactor-domain-controller" 
DEBU[0067] finding subsequent branches for "subdomain-5-extract-middleware" 
DEBU[0067] finding subsequent branches for "domain-controller-worktree" 
DEBU[0067] querying data for existing PR from GitHub     pr=30045
DEBU[0067] executing GitHub API query...                 variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GOI7H\"}"
DEBU[0067] GitHub API query succeeded                    elapsed=329.116125ms result="&struct { Node struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" } \"graphql:\\\"node(id: $id)\\\"\" }{Node:struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GOI7H\", Number:30045, HeadRefName:\"refactor-domain-controller\", BaseRefName:\"subdomain-4-manager-registry\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30045\", State:\"OPEN\", Title:\"[WIP] DONOTMERGE\", Body:\"Staging links: [prod backend cf](https://refactor-domain-controller.command.prod.cf.[REDACTED].com) | [staging backend cf](https://refactor-domain-controller.command.staging.cf.vcamera.net) | [styleguide](https://refactor-domain-controller.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://refactor-domain-controller.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://refactor-domain-controller.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\n<!-- Staging link and Linear tickets sections are automatically generated for you after creating your PR. Make sure to include Linear tickets in your PR title. You can leave this comment here when creating your PR. -->\\r\\n\\r\\n## Description\\r\\n\\r\\n<!-- <DESCRIPTION HERE> -->\\r\\n\\r\\n## Testing\\r\\n\\r\\n<!--\\nInsert details on how the PR reviewers can easily test your changes.\\nAdding specific test cases can help you get reviews more quickly,\\nespecially from teams that may not be as familiar with your areas\\nof the product.\\n\\nFeel free to un-comment and use the below format or replace with your own!\\n-->\\n\\n<!--\\r\\n\\r\\n### Config\\r\\n\\r\\n- Feature Flag: `PUT_HERE`\\n- Page to test feature on: `PUT_HERE`\\n- Backend Environment: `Production`\\n- Org to test in: `PUT_HERE`\\n- User permission level needed: `PUT_HERE`\\r\\n\\r\\n### Steps\\r\\n\\r\\n1.\\n-->\\r\\n\\r\\n## Details on Added Tests\\r\\n\\r\\n<!-- Talk about the e2e or unit tests you added for this change -->\\n\\n<!--\\nReminders!\\n- [ ] Is this feature released? If not, is your code behind a feature flag?\\n- [ ] Is your local branch way behind the latest master? If so, rebase?\\n-->\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"subdomain-4-manager-registry\\\",\\\"parentHead\\\":\\\"c6a7e1b8443dc055361400d80573654bf5b447da\\\",\\\"parentPull\\\":30047,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}" variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GOI7H\"}"
DEBU[0067] could not parse PR metadata (assuming it doesn't exist)  error="decoding PR metadata: unexpected end of JSON input"
DEBU[0067] executing GitHub API mutation...              input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GOI7H\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x1400040a4e0), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}"
DEBU[0068] GitHub API mutation succeeded                 elapsed=893.473541ms input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GOI7H\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x1400040a4e0), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}" result="&struct { UpdatePullRequest struct { PullRequest gh.PullRequest } \"graphql:\\\"updatePullRequest(input: $input)\\\"\" }{UpdatePullRequest:struct { PullRequest gh.PullRequest }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GOI7H\", Number:30045, HeadRefName:\"refactor-domain-controller\", BaseRefName:\"subdomain-4-manager-registry\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30045\", State:\"OPEN\", Title:\"[WIP] DONOTMERGE\", Body:\"<!-- av pr stack begin -->\\n<table><tr><td><details><summary><b>Depends on #30047.</b> This PR is part of a stack created with <a href=\\\"https://github.com/aviator-co/av\\\">Aviator</a>.</summary>\\n\\n* `master`\\n  * **#30038**\\n    * **#30044**\\n      * **#30046**\\n        * **#30047**\\n          * ➡️ **#30045**\\n          * **#30065**\\n            * `domain-controller-worktree`\\n</details></td></tr></table>\\n<!-- av pr stack end -->\\n\\nStaging links: [prod backend cf](https://refactor-domain-controller.command.prod.cf.[REDACTED].com) | [staging backend cf](https://refactor-domain-controller.command.staging.cf.vcamera.net) | [styleguide](https://refactor-domain-controller.vstyleguide.staging.cf.[REDACTED].com) | [bundle analysis](https://refactor-domain-controller.command.prod.cf.[REDACTED].com/bundle_analysis.html) | [staging gov](https://refactor-domain-controller.command.dev-govus-pine.govkada.com)\\r\\n\\r\\n## Description\\r\\n\\r\\n<!-- Staging link and Linear tickets sections are automatically generated for you after creating your PR. Make sure to include Linear tickets in your PR title. You can leave this comment here when creating your PR. -->\\r\\n\\r\\n## Description\\r\\n\\r\\n<!-- <DESCRIPTION HERE> -->\\r\\n\\r\\n## Testing\\r\\n\\r\\n<!--\\nInsert details on how the PR reviewers can easily test your changes.\\nAdding specific test cases can help you get reviews more quickly,\\nespecially from teams that may not be as familiar with your areas\\nof the product.\\n\\nFeel free to un-comment and use the below format or replace with your own!\\n-->\\n\\n<!--\\r\\n\\r\\n### Config\\r\\n\\r\\n- Feature Flag: `PUT_HERE`\\n- Page to test feature on: `PUT_HERE`\\n- Backend Environment: `Production`\\n- Org to test in: `PUT_HERE`\\n- User permission level needed: `PUT_HERE`\\r\\n\\r\\n### Steps\\r\\n\\r\\n1.\\n-->\\r\\n\\r\\n## Details on Added Tests\\r\\n\\r\\n<!-- Talk about the e2e or unit tests you added for this change -->\\n\\n<!--\\nReminders!\\n- [ ] Is this feature released? If not, is your code behind a feature flag?\\n- [ ] Is your local branch way behind the latest master? If so, rebase?\\n-->\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"subdomain-4-manager-registry\\\",\\\"parentHead\\\":\\\"c6a7e1b8443dc055361400d80573654bf5b447da\\\",\\\"parentPull\\\":30047,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\\n\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}"
DEBU[0068] Updating pull requests with stack             branch=subdomain-5-extract-middleware pr=PR_kwDOBLum-M6GVbzP
DEBU[0068] finding subsequent branches for "style-eslint-import-type" 
DEBU[0068] finding subsequent branches for "test-fixture-refactor" 
DEBU[0068] finding subsequent branches for "subdomain-3-devui-store" 
DEBU[0068] finding subsequent branches for "subdomain-4-manager-registry" 
DEBU[0068] finding subsequent branches for "refactor-domain-controller" 
DEBU[0068] finding subsequent branches for "subdomain-5-extract-middleware" 
DEBU[0068] finding subsequent branches for "domain-controller-worktree" 
DEBU[0068] querying data for existing PR from GitHub     pr=30065
DEBU[0068] executing GitHub API query...                 variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GVbzP\"}"
DEBU[0068] GitHub API query succeeded                    elapsed=287.6365ms result="&struct { Node struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" } \"graphql:\\\"node(id: $id)\\\"\" }{Node:struct { PullRequest gh.PullRequest \"graphql:\\\"... on PullRequest\\\"\" }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GVbzP\", Number:30065, HeadRefName:\"subdomain-5-extract-middleware\", BaseRefName:\"subdomain-4-manager-registry\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30065\", State:\"OPEN\", Title:\"COR-16698: extract parital middleware to redux package\", Body:\"<!-- Staging link and Linear tickets sections are automatically generated for you after creating your PR. Make sure to include Linear tickets in your PR title. You can leave this comment here when creating your PR. -->\\n\\n## Description\\n\\nThis PR moves some of /middleware and other base types being used in subdomainmanager and its dependencies.\\n\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"subdomain-4-manager-registry\\\",\\\"parentHead\\\":\\\"c6a7e1b8443dc055361400d80573654bf5b447da\\\",\\\"parentPull\\\":30047,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\\n\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}" variables="map[string]interface {}{\"id\":\"PR_kwDOBLum-M6GVbzP\"}"
DEBU[0068] could not parse PR metadata (assuming it doesn't exist)  error="decoding PR metadata: unexpected end of JSON input"
DEBU[0068] executing GitHub API mutation...              input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GVbzP\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x14000703020), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}"
DEBU[0069] GitHub API mutation succeeded                 elapsed=644.704417ms input="githubv4.UpdatePullRequestInput{PullRequestID:\"PR_kwDOBLum-M6GVbzP\", ClientMutationID:(*githubv4.String)(nil), BaseRefName:(*githubv4.String)(nil), Title:(*githubv4.String)(nil), Body:(*githubv4.String)(0x14000703020), State:(*githubv4.PullRequestUpdateState)(nil), MaintainerCanModify:(*githubv4.Boolean)(nil), AssigneeIDs:(*[]githubv4.ID)(nil), MilestoneID:(*githubv4.ID)(nil), LabelIDs:(*[]githubv4.ID)(nil), ProjectIDs:(*[]githubv4.ID)(nil)}" result="&struct { UpdatePullRequest struct { PullRequest gh.PullRequest } \"graphql:\\\"updatePullRequest(input: $input)\\\"\" }{UpdatePullRequest:struct { PullRequest gh.PullRequest }{PullRequest:gh.PullRequest{ID:\"PR_kwDOBLum-M6GVbzP\", Number:30065, HeadRefName:\"subdomain-5-extract-middleware\", BaseRefName:\"subdomain-4-manager-registry\", IsDraft:true, Permalink:\"https://github.com/[REDACTED]/[REDACTED]/pull/30065\", State:\"OPEN\", Title:\"COR-16698: extract parital middleware to redux package\", Body:\"<!-- av pr stack begin -->\\n<table><tr><td><details><summary><b>Depends on #30047.</b> This PR is part of a stack created with <a href=\\\"https://github.com/aviator-co/av\\\">Aviator</a>.</summary>\\n\\n* `master`\\n  * **#30038**\\n    * **#30044**\\n      * **#30046**\\n        * **#30047**\\n          * **#30045**\\n          * ➡️ **#30065**\\n            * `domain-controller-worktree`\\n</details></td></tr></table>\\n<!-- av pr stack end -->\\n\\n<!-- Staging link and Linear tickets sections are automatically generated for you after creating your PR. Make sure to include Linear tickets in your PR title. You can leave this comment here when creating your PR. -->\\n\\n## Description\\n\\nThis PR moves some of /middleware and other base types being used in subdomainmanager and its dependencies.\\n\\n<!-- av pr metadata\\nThis information is embedded by the av CLI when creating PRs to track the status of stacks when using Aviator. Please do not delete or edit this section of the PR.\\n```\\n{\\\"parent\\\":\\\"subdomain-4-manager-registry\\\",\\\"parentHead\\\":\\\"c6a7e1b8443dc055361400d80573654bf5b447da\\\",\\\"parentPull\\\":30047,\\\"trunk\\\":\\\"master\\\"}\\n```\\n-->\\n\", PRIVATE_MergeCommit:struct { Oid string }{Oid:\"\"}, PRIVATE_TimelineItems:struct { Nodes []struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" } }{Nodes:[]struct { ClosedEvent struct { Closer struct { Commit struct { Oid string } \"graphql:\\\"... on Commit\\\"\" } } \"graphql:\\\"... on ClosedEvent\\\"\" }{}}}}}"
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x2 addr=0x0 pc=0x104e3b1d0]

goroutine 1 [running]:
github.com/aviator-co/av/internal/actions.UpdatePullRequestWithStack({0x1055bc998, 0x105beb320}, 0x1400046d110, {0x1055c11d8, 0x14000302700}, {0x14000501cc0, 0x1a})
	/home/runner/work/av/av/internal/actions/pr.go:900 +0xd0
github.com/aviator-co/av/internal/actions.UpdatePullRequestsWithStack({0x1055bc998, 0x105beb320}, 0x1400046d110, {0x1055c11d8, 0x14000302700}, {0x14000305f10?, 0x1?, 0x1055bc998?})
	/home/runner/work/av/av/internal/actions/pr.go:942 +0x78
main.init.func16(0x105b9ad00, {0x1400046c660?, 0x4?, 0x1050a9167?})
	/home/runner/work/av/av/cmd/av/pr.go:159 +0x5e4
github.com/spf13/cobra.(*Command).execute(0x105b9ad00, {0x1400046c640, 0x1, 0x1})
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:985 +0x834
github.com/spf13/cobra.(*Command).ExecuteC(0x105b99320)
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1117 +0x344
github.com/spf13/cobra.(*Command).Execute(...)
	/home/runner/go/pkg/mod/github.com/spf13/[email protected]/command.go:1041
main.main()
	/home/runner/work/av/av/cmd/av/main.go:124 +0x3c

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

No branches or pull requests

2 participants