{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":10270250,"defaultBranch":"main","name":"react","ownerLogin":"facebook","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2013-05-24T16:15:54.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/69631?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1718221865.0","currentOid":""},"activityList":{"items":[{"before":null,"after":"0596ff3de55b3ea53b60772c751137540a959fa0","ref":"refs/heads/gh/mofeiZ/1/orig","pushedAt":"2024-06-12T19:51:05.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34200447?s=80&v=4"},"commit":{"message":"[compiler][fixtures] Bug repros: codegen, alignScope, phis\n\nghstack-source-id: 2dfcfcd1e33a276615eec59bdf5e705e8e4097dc\nPull Request resolved: https://github.com/facebook/react/pull/29878","shortMessageHtmlLink":"[compiler][fixtures] Bug repros: codegen, alignScope, phis"}},{"before":null,"after":"2827cbc594448a7bc2dd5e50fa013b040210372c","ref":"refs/heads/gh/mofeiZ/1/head","pushedAt":"2024-06-12T19:51:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34200447?s=80&v=4"},"commit":{"message":"[compiler][fixtures] Bug repros: codegen, alignScope, phis\n\n[ghstack-poisoned]","shortMessageHtmlLink":"[compiler][fixtures] Bug repros: codegen, alignScope, phis"}},{"before":null,"after":"55c9d45f3b9239d5997788f10b8cdad5bcb81daf","ref":"refs/heads/gh/mofeiZ/1/base","pushedAt":"2024-06-12T19:51:02.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"mofeiZ","name":null,"path":"/mofeiZ","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/34200447?s=80&v=4"},"commit":{"message":"[Flight] Let environmentName vary over time by making it a function of string (#29867)\n\nThis lets the environment name vary within a request by the context a\r\ncomponent, log or error being executed in.\r\n\r\nA potentially different API would be something like\r\n`setEnvironmentName()` but we'd have to extend the `ReadableStream` or\r\nsomething to do that like we do for `.allReady`. As a function though it\r\nhas some expansion possibilities, e.g. we could potentially also pass\r\nsome information to it for context about what is being asked for.\r\n\r\nIf it changes before completing a task, we also emit the change so that\r\nwe have the debug info for what the environment was before entering a\r\ncomponent and what it was after completing it.","shortMessageHtmlLink":"[Flight] Let environmentName vary over time by making it a function o…"}},{"before":"8cd41090d395a95791bcd43bb8ac01e064a8b1f0","after":"bf7873152c9cc1a1de13bee012fe2332d111d9a2","ref":"refs/heads/builds/facebook-www","pushedAt":"2024-06-12T18:19:47.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Avoid acccessing React internals from `use-sync-external-store/shim` (#29868)\n\nCo-authored-by: eps1lon \n\nDiffTrain build for [50e89ec9f2d44ab140e771e585226f7771da9652](https://github.com/facebook/react/commit/50e89ec9f2d44ab140e771e585226f7771da9652)","shortMessageHtmlLink":"Avoid acccessing React internals from use-sync-external-store/shim (#…"}},{"before":"f3e09d6328eb0eca53d8dbc19ea6f8f4aa43db25","after":"50e89ec9f2d44ab140e771e585226f7771da9652","ref":"refs/heads/main","pushedAt":"2024-06-12T18:13:17.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"eps1lon","name":"Sebastian Silbermann","path":"/eps1lon","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/12292047?s=80&v=4"},"commit":{"message":"Avoid acccessing React internals from `use-sync-external-store/shim` (#29868)\n\nCo-authored-by: eps1lon ","shortMessageHtmlLink":"Avoid acccessing React internals from use-sync-external-store/shim (#…"}},{"before":"925f1dd2a83de8cbdc88c9bea3764d610f60fd66","after":"64d81be5975523cf33c05cab8ac89d7789998ab6","ref":"refs/heads/vscode-workspace","pushedAt":"2024-06-12T17:31:18.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"vzaidman","name":"Vitali Zaidman","path":"/vzaidman","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5188459?s=80&v=4"},"commit":{"message":"created a vscode workspace file for the repo","shortMessageHtmlLink":"created a vscode workspace file for the repo"}},{"before":"7000bd392368b44d80ef98c3879b129e85e9e9f4","after":"8cd41090d395a95791bcd43bb8ac01e064a8b1f0","ref":"refs/heads/builds/facebook-www","pushedAt":"2024-06-12T15:22:23.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Bump braces from 3.0.2 to 3.0.3 in /fixtures/flight-esm (#29857)\n\nBumps [braces](https://github.com/micromatch/braces) from 3.0.2 to\n3.0.3.\n
\nCommits\n
    \n
  • 74b2db2\n3.0.3
  • \n
  • 88f1429\nupdate eslint. lint, fix unit tests.
  • \n
  • 415d660\nSnyk js braces 6838727 (#40)
  • \n
  • 190510f\nfix tests, skip 1 test in test/braces.expand
  • \n
  • 716eb9f\nreadme bump
  • \n
  • a5851e5\nMerge pull request #37\nfrom coderaiser/fix/vulnerability
  • \n
  • 2092bd1\nfeature: braces: add maxSymbols (https://github.com/micromatch/braces/issues/...
  • \n
  • 9f5b4cf\nfix: vulnerability (https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727)
  • \n
  • 98414f9\nremove funding file
  • \n
  • 665ab5d\nupdate keepEscaping doc (#27)
  • \n
  • Additional commits viewable in compare\nview
  • \n
\n
\n
\n\n[![Dependabot compatibility\nscore](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=braces&package-manager=npm_and_yarn&previous-version=3.0.2&new-version=3.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't\nalter it yourself. You can also trigger a rebase manually by commenting\n`@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits\nthat have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after\nyour CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge\nand block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating\nit. You can achieve the same result by closing it manually\n- `@dependabot show ignore conditions` will show all\nof the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop\nDependabot creating any more for this major version (unless you reopen\nthe PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop\nDependabot creating any more for this minor version (unless you reopen\nthe PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop\nDependabot creating any more for this dependency (unless you reopen the\nPR or upgrade to it yourself)\nYou can disable automated security fix PRs for this repo from the\n[Security Alerts\npage](https://github.com/facebook/react/network/alerts).\n\n
\n\nSigned-off-by: dependabot[bot] \nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>\n\nDiffTrain build for [f3e09d6328eb0eca53d8dbc19ea6f8f4aa43db25](https://github.com/facebook/react/commit/f3e09d6328eb0eca53d8dbc19ea6f8f4aa43db25)","shortMessageHtmlLink":"Bump braces from 3.0.2 to 3.0.3 in /fixtures/flight-esm (#29857)"}},{"before":"da35a56f97008e3d1502cfe78d3ac9c2ac5a43bf","after":"ff845557349749fd29112e7c6b926e27673e2985","ref":"refs/heads/builds/facebook-fbsource","pushedAt":"2024-06-12T15:22:18.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Bump braces from 3.0.2 to 3.0.3 in /fixtures/flight-esm (#29857)\n\nBumps [braces](https://github.com/micromatch/braces) from 3.0.2 to\n3.0.3.\n
\nCommits\n
    \n
  • 74b2db2\n3.0.3
  • \n
  • 88f1429\nupdate eslint. lint, fix unit tests.
  • \n
  • 415d660\nSnyk js braces 6838727 (#40)
  • \n
  • 190510f\nfix tests, skip 1 test in test/braces.expand
  • \n
  • 716eb9f\nreadme bump
  • \n
  • a5851e5\nMerge pull request #37\nfrom coderaiser/fix/vulnerability
  • \n
  • 2092bd1\nfeature: braces: add maxSymbols (https://github.com/micromatch/braces/issues/...
  • \n
  • 9f5b4cf\nfix: vulnerability (https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727)
  • \n
  • 98414f9\nremove funding file
  • \n
  • 665ab5d\nupdate keepEscaping doc (#27)
  • \n
  • Additional commits viewable in compare\nview
  • \n
\n
\n
\n\n[![Dependabot compatibility\nscore](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=braces&package-manager=npm_and_yarn&previous-version=3.0.2&new-version=3.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\n\nDependabot will resolve any conflicts with this PR as long as you don't\nalter it yourself. You can also trigger a rebase manually by commenting\n`@dependabot rebase`.\n\n[//]: # (dependabot-automerge-start)\n[//]: # (dependabot-automerge-end)\n\n---\n\n
\nDependabot commands and options\n
\n\nYou can trigger Dependabot actions by commenting on this PR:\n- `@dependabot rebase` will rebase this PR\n- `@dependabot recreate` will recreate this PR, overwriting any edits\nthat have been made to it\n- `@dependabot merge` will merge this PR after your CI passes on it\n- `@dependabot squash and merge` will squash and merge this PR after\nyour CI passes on it\n- `@dependabot cancel merge` will cancel a previously requested merge\nand block automerging\n- `@dependabot reopen` will reopen this PR if it is closed\n- `@dependabot close` will close this PR and stop Dependabot recreating\nit. You can achieve the same result by closing it manually\n- `@dependabot show ignore conditions` will show all\nof the ignore conditions of the specified dependency\n- `@dependabot ignore this major version` will close this PR and stop\nDependabot creating any more for this major version (unless you reopen\nthe PR or upgrade to it yourself)\n- `@dependabot ignore this minor version` will close this PR and stop\nDependabot creating any more for this minor version (unless you reopen\nthe PR or upgrade to it yourself)\n- `@dependabot ignore this dependency` will close this PR and stop\nDependabot creating any more for this dependency (unless you reopen the\nPR or upgrade to it yourself)\nYou can disable automated security fix PRs for this repo from the\n[Security Alerts\npage](https://github.com/facebook/react/network/alerts).\n\n
\n\nSigned-off-by: dependabot[bot] \nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>\n\nDiffTrain build for commit https://github.com/facebook/react/commit/f3e09d6328eb0eca53d8dbc19ea6f8f4aa43db25.","shortMessageHtmlLink":"Bump braces from 3.0.2 to 3.0.3 in /fixtures/flight-esm (#29857)"}},{"before":"25dfa8e6018d707b7d0f7856ddaf592c47e7e25e","after":"7000bd392368b44d80ef98c3879b129e85e9e9f4","ref":"refs/heads/builds/facebook-www","pushedAt":"2024-06-12T15:19:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"remove unstable_renderSubtreeIntoContainer (#29771)\n\nremove unstable_renderSubtreeIntoContainer\n\nThis is finally no longer used and can be deleted.\n\nDiffTrain build for [93826c8483ffaf6676c437c25619d82f13444413](https://github.com/facebook/react/commit/93826c8483ffaf6676c437c25619d82f13444413)","shortMessageHtmlLink":"remove unstable_renderSubtreeIntoContainer (#29771)"}},{"before":"d7dee0d1ad24beed512cb7eabf669219480982dd","after":"da35a56f97008e3d1502cfe78d3ac9c2ac5a43bf","ref":"refs/heads/builds/facebook-fbsource","pushedAt":"2024-06-12T15:19:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"remove unstable_renderSubtreeIntoContainer (#29771)\n\nremove unstable_renderSubtreeIntoContainer\n\nThis is finally no longer used and can be deleted.\n\nDiffTrain build for commit https://github.com/facebook/react/commit/93826c8483ffaf6676c437c25619d82f13444413.","shortMessageHtmlLink":"remove unstable_renderSubtreeIntoContainer (#29771)"}},{"before":"ef54b3025306c4286fbdaeefcbdedce56df2e4d6","after":null,"ref":"refs/heads/dependabot/npm_and_yarn/fixtures/flight-esm/braces-3.0.3","pushedAt":"2024-06-12T15:17:13.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"dependabot[bot]","name":null,"path":"/apps/dependabot","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/29110?s=80&v=4"}},{"before":"93826c8483ffaf6676c437c25619d82f13444413","after":"f3e09d6328eb0eca53d8dbc19ea6f8f4aa43db25","ref":"refs/heads/main","pushedAt":"2024-06-12T15:17:06.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kassens","name":"Jan Kassens","path":"/kassens","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11849?s=80&v=4"},"commit":{"message":"Bump braces from 3.0.2 to 3.0.3 in /fixtures/flight-esm (#29857)\n\nBumps [braces](https://github.com/micromatch/braces) from 3.0.2 to\r\n3.0.3.\r\n
\r\nCommits\r\n
    \r\n
  • 74b2db2\r\n3.0.3
  • \r\n
  • 88f1429\r\nupdate eslint. lint, fix unit tests.
  • \r\n
  • 415d660\r\nSnyk js braces 6838727 (#40)
  • \r\n
  • 190510f\r\nfix tests, skip 1 test in test/braces.expand
  • \r\n
  • 716eb9f\r\nreadme bump
  • \r\n
  • a5851e5\r\nMerge pull request #37\r\nfrom coderaiser/fix/vulnerability
  • \r\n
  • 2092bd1\r\nfeature: braces: add maxSymbols (https://github.com/micromatch/braces/issues/...
  • \r\n
  • 9f5b4cf\r\nfix: vulnerability (https://security.snyk.io/vuln/SNYK-JS-BRACES-6838727)
  • \r\n
  • 98414f9\r\nremove funding file
  • \r\n
  • 665ab5d\r\nupdate keepEscaping doc (#27)
  • \r\n
  • Additional commits viewable in compare\r\nview
  • \r\n
\r\n
\r\n
\r\n\r\n\r\n[![Dependabot compatibility\r\nscore](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=braces&package-manager=npm_and_yarn&previous-version=3.0.2&new-version=3.0.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)\r\n\r\nDependabot will resolve any conflicts with this PR as long as you don't\r\nalter it yourself. You can also trigger a rebase manually by commenting\r\n`@dependabot rebase`.\r\n\r\n[//]: # (dependabot-automerge-start)\r\n[//]: # (dependabot-automerge-end)\r\n\r\n---\r\n\r\n
\r\nDependabot commands and options\r\n
\r\n\r\nYou can trigger Dependabot actions by commenting on this PR:\r\n- `@dependabot rebase` will rebase this PR\r\n- `@dependabot recreate` will recreate this PR, overwriting any edits\r\nthat have been made to it\r\n- `@dependabot merge` will merge this PR after your CI passes on it\r\n- `@dependabot squash and merge` will squash and merge this PR after\r\nyour CI passes on it\r\n- `@dependabot cancel merge` will cancel a previously requested merge\r\nand block automerging\r\n- `@dependabot reopen` will reopen this PR if it is closed\r\n- `@dependabot close` will close this PR and stop Dependabot recreating\r\nit. You can achieve the same result by closing it manually\r\n- `@dependabot show ignore conditions` will show all\r\nof the ignore conditions of the specified dependency\r\n- `@dependabot ignore this major version` will close this PR and stop\r\nDependabot creating any more for this major version (unless you reopen\r\nthe PR or upgrade to it yourself)\r\n- `@dependabot ignore this minor version` will close this PR and stop\r\nDependabot creating any more for this minor version (unless you reopen\r\nthe PR or upgrade to it yourself)\r\n- `@dependabot ignore this dependency` will close this PR and stop\r\nDependabot creating any more for this dependency (unless you reopen the\r\nPR or upgrade to it yourself)\r\nYou can disable automated security fix PRs for this repo from the\r\n[Security Alerts\r\npage](https://github.com/facebook/react/network/alerts).\r\n\r\n
\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bump braces from 3.0.2 to 3.0.3 in /fixtures/flight-esm (#29857)"}},{"before":"62af6b22803d743ff5101f89be6f088ecfd46b00","after":"93826c8483ffaf6676c437c25619d82f13444413","ref":"refs/heads/main","pushedAt":"2024-06-12T15:14:51.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kassens","name":"Jan Kassens","path":"/kassens","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11849?s=80&v=4"},"commit":{"message":"remove unstable_renderSubtreeIntoContainer (#29771)\n\nremove unstable_renderSubtreeIntoContainer\r\n\r\nThis is finally no longer used and can be deleted.","shortMessageHtmlLink":"remove unstable_renderSubtreeIntoContainer (#29771)"}},{"before":"55c9d45f3b9239d5997788f10b8cdad5bcb81daf","after":"62af6b22803d743ff5101f89be6f088ecfd46b00","ref":"refs/heads/main","pushedAt":"2024-06-12T15:12:22.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"kassens","name":"Jan Kassens","path":"/kassens","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/11849?s=80&v=4"},"commit":{"message":"delete ReactServerStreamConfig.dom-fb-experimental.js (#29836)\n\ndelete ReactServerStreamConfig.dom-fb-experimental.js\r\n\r\nThis config is no longer used since\r\n1cd77a4ff7a2189003965246a3cfc475d2d9857d","shortMessageHtmlLink":"delete ReactServerStreamConfig.dom-fb-experimental.js (#29836)"}},{"before":"fb57fc5a8a66f38d65e3bc9f83213a0003da5702","after":"55c9d45f3b9239d5997788f10b8cdad5bcb81daf","ref":"refs/heads/main","pushedAt":"2024-06-12T14:55:42.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sebmarkbage","name":"Sebastian Markbåge","path":"/sebmarkbage","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/63648?s=80&v=4"},"commit":{"message":"[Flight] Let environmentName vary over time by making it a function of string (#29867)\n\nThis lets the environment name vary within a request by the context a\r\ncomponent, log or error being executed in.\r\n\r\nA potentially different API would be something like\r\n`setEnvironmentName()` but we'd have to extend the `ReadableStream` or\r\nsomething to do that like we do for `.allReady`. As a function though it\r\nhas some expansion possibilities, e.g. we could potentially also pass\r\nsome information to it for context about what is being asked for.\r\n\r\nIf it changes before completing a task, we also emit the change so that\r\nwe have the debug info for what the environment was before entering a\r\ncomponent and what it was after completing it.","shortMessageHtmlLink":"[Flight] Let environmentName vary over time by making it a function o…"}},{"before":null,"after":"94ef9593eedb2ab37563f280c3ebf1990c8d78eb","ref":"refs/heads/dev-tools-dynamic-auto-theme","pushedAt":"2024-06-12T11:10:37.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"vzaidman","name":"Vitali Zaidman","path":"/vzaidman","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/5188459?s=80&v=4"},"commit":{"message":"temp","shortMessageHtmlLink":"temp"}},{"before":"383b2a18456215d2d3ec46f33c0c912e84efa08f","after":"fb57fc5a8a66f38d65e3bc9f83213a0003da5702","ref":"refs/heads/main","pushedAt":"2024-06-11T23:12:39.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sebmarkbage","name":"Sebastian Markbåge","path":"/sebmarkbage","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/63648?s=80&v=4"},"commit":{"message":"[Flight] Let Errored/Blocked Direct References Turn Nearest Element Lazy (#29823)\n\nStacked on #29807.\r\n\r\nThis lets the nearest Suspense/Error Boundary handle it even if that\r\nboundary is defined by the model itself.\r\n\r\nIt also ensures that when we have an error during serialization of\r\nproperties, those can be associated with the nearest JSX element and\r\nsince we have a stack/owner for that element we can use it to point to\r\nthe source code of that line. We can't track the source of any nested\r\narbitrary objects deeper inside since objects don’t track their stacks\r\nbut close enough. Ideally we have the property path but we don’t have\r\nthat right now. We have a partial in the message itself.\r\n\r\n\"Screenshot\r\n\r\nNote: The component name (Counter) is lost in the first message because\r\nwe don't print it in the Task. We use `\"use client\"` instead because we\r\nexpect the next stack frame to have the name. We also don't include it\r\nin the actual error message because the Server doesn't know the\r\ncomponent name yet. Ideally Client References should be able to have a\r\nname. If the nearest is a Host Component then we do use the name though.\r\nHowever, it's not actually inside that Component that the error happens\r\nit's in App and that points to the right line number.\r\n\r\nAn interesting case is that if something that's actually going to be\r\nconsumed by the props to a Suspense/Error Boundary or the Client\r\nComponent that wraps them fails, then it can't be handled by the\r\nboundary. However, a counter intuitive case might be when that's on the\r\n`children` props. E.g.\r\n`{clientReferenceOrInvalidSerialization}`.\r\nThis value can be inspected by the boundary so it's not safe to pass it\r\nso if it's errored it is not caught.\r\n\r\n## Implementation\r\n\r\nThe first insight is that this is best solved on the Client rather than\r\nin the Server because that way it also covers Client References that end\r\nup erroring.\r\n\r\nThe key insight is that while we don't have a true stack when using\r\n`JSON.parse` and therefore no begin/complete we can still infer these\r\nphases for Elements because the first child of an Element is always\r\n`'$'` which is also a leaf. In depth first that's our begin phase. When\r\nthe Element itself completes, we have the complete phase. Anything in\r\nbetween is within the Element.\r\n\r\nUsing this idea I was able to refactor the blocking tracking mechanism\r\nto stash the blocked information on `initializingHandler` and then on\r\nthe way up do we let whatever is nearest handle it - whether that's an\r\nElement or the root Chunk. It's kind of like an Algebraic Effect.\r\n\r\ncc @unstubbable This is something you might want to deep dive into to\r\nfind more edge cases. I'm sure I've missed something.\r\n\r\n---------\r\n\r\nCo-authored-by: eps1lon ","shortMessageHtmlLink":"[Flight] Let Errored/Blocked Direct References Turn Nearest Element L…"}},{"before":"5ad4e799fa7127370e03a9a2ef78dd9ee23374cf","after":"25dfa8e6018d707b7d0f7856ddaf592c47e7e25e","ref":"refs/heads/builds/facebook-www","pushedAt":"2024-06-11T22:17:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Use the Nearest Parent of an Errored Promise as its Owner (#29814)\n\nStacked on #29807.\n\nConceptually the error's owner/task should ideally be captured when the\nError constructor is called but neither `console.createTask` does this,\nnor do we override `Error` to capture our `owner`. So instead, we use\nthe nearest parent as the owner/task of the error. This is usually the\nsame thing when it's thrown from the same async component but not if you\nawait a promise started from a different component/task.\n\nBefore this stack the \"owner\" and \"task\" of a Lazy that errors was the\nnearest Fiber but if the thing erroring is a Server Component, we need\nto get that as the owner from the inner most part of debugInfo.\n\nTo get the Task for that Server Component, we need to expose it on the\nReactComponentInfo object. Unfortunately that makes the object not\nserializable so we need to special case this to exclude it from\nserialization. It gets restored again on the client.\n\nBefore (Shell):\n\"Screenshot\n\nAfter (App):\n\"Screenshot\n\nDiffTrain build for [383b2a18456215d2d3ec46f33c0c912e84efa08f](https://github.com/facebook/react/commit/383b2a18456215d2d3ec46f33c0c912e84efa08f)","shortMessageHtmlLink":"Use the Nearest Parent of an Errored Promise as its Owner (#29814)"}},{"before":"39d07c2acde2cf6e332c9b9ad6bf94a538d58095","after":"d7dee0d1ad24beed512cb7eabf669219480982dd","ref":"refs/heads/builds/facebook-fbsource","pushedAt":"2024-06-11T22:17:19.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Use the Nearest Parent of an Errored Promise as its Owner (#29814)\n\nStacked on #29807.\n\nConceptually the error's owner/task should ideally be captured when the\nError constructor is called but neither `console.createTask` does this,\nnor do we override `Error` to capture our `owner`. So instead, we use\nthe nearest parent as the owner/task of the error. This is usually the\nsame thing when it's thrown from the same async component but not if you\nawait a promise started from a different component/task.\n\nBefore this stack the \"owner\" and \"task\" of a Lazy that errors was the\nnearest Fiber but if the thing erroring is a Server Component, we need\nto get that as the owner from the inner most part of debugInfo.\n\nTo get the Task for that Server Component, we need to expose it on the\nReactComponentInfo object. Unfortunately that makes the object not\nserializable so we need to special case this to exclude it from\nserialization. It gets restored again on the client.\n\nBefore (Shell):\n\"Screenshot\n\nAfter (App):\n\"Screenshot\n\nDiffTrain build for commit https://github.com/facebook/react/commit/383b2a18456215d2d3ec46f33c0c912e84efa08f.","shortMessageHtmlLink":"Use the Nearest Parent of an Errored Promise as its Owner (#29814)"}},{"before":"7200de2134e85d04ce07d569e29575090f7369d5","after":"7aaa0cd95186fb32f6710fab5b735d821eb5006c","ref":"refs/heads/gh/josephsavona/28/orig","pushedAt":"2024-06-11T22:16:45.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"josephsavona","name":"Joseph Savona","path":"/josephsavona","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6425824?s=80&v=4"},"commit":{"message":"[compiler] Instruction reordering\n\nAdds a pass just after DCE to reorder safely reorderable instructions (jsx, primitives, globals) closer to where they are used, to allow other optimization passes to be more effective. Notably, the reordering allows scope merging to be more effective, since that pass relies on two scopes not having intervening instructions — in many cases we can now reorder such instructions out of the way and unlock merging, as demonstrated in the changed fixtures.\n\nThe algorithm itself is described in the docblock.\n\nnote: This is a cleaned up version of #29579 that is ready for review.\n\nghstack-source-id: fe01f94e186e62171e7cc82e10d7864c48f932be\nPull Request resolved: https://github.com/facebook/react/pull/29863","shortMessageHtmlLink":"[compiler] Instruction reordering"}},{"before":"6b5cab78b4d6399634eb7fe4a6e3c12d9bd9705c","after":"d77fe0ad23668cc8312d071b3990956f187624fb","ref":"refs/heads/gh/josephsavona/28/head","pushedAt":"2024-06-11T22:16:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"josephsavona","name":"Joseph Savona","path":"/josephsavona","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/6425824?s=80&v=4"},"commit":{"message":"Update on \"[compiler] Instruction reordering\"\n\n\nAdds a pass just after DCE to reorder safely reorderable instructions (jsx, primitives, globals) closer to where they are used, to allow other optimization passes to be more effective. Notably, the reordering allows scope merging to be more effective, since that pass relies on two scopes not having intervening instructions — in many cases we can now reorder such instructions out of the way and unlock merging, as demonstrated in the changed fixtures.\n\nThe algorithm itself is described in the docblock.\n\nnote: This is a cleaned up version of #29579 that is ready for review.\n\n[ghstack-poisoned]","shortMessageHtmlLink":"Update on \"[compiler] Instruction reordering\""}},{"before":"a26e3f403e1d732ecde87db119b4ce21cee20038","after":"383b2a18456215d2d3ec46f33c0c912e84efa08f","ref":"refs/heads/main","pushedAt":"2024-06-11T22:10:24.000Z","pushType":"pr_merge","commitsCount":1,"pusher":{"login":"sebmarkbage","name":"Sebastian Markbåge","path":"/sebmarkbage","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/63648?s=80&v=4"},"commit":{"message":"Use the Nearest Parent of an Errored Promise as its Owner (#29814)\n\nStacked on #29807.\r\n\r\nConceptually the error's owner/task should ideally be captured when the\r\nError constructor is called but neither `console.createTask` does this,\r\nnor do we override `Error` to capture our `owner`. So instead, we use\r\nthe nearest parent as the owner/task of the error. This is usually the\r\nsame thing when it's thrown from the same async component but not if you\r\nawait a promise started from a different component/task.\r\n\r\nBefore this stack the \"owner\" and \"task\" of a Lazy that errors was the\r\nnearest Fiber but if the thing erroring is a Server Component, we need\r\nto get that as the owner from the inner most part of debugInfo.\r\n\r\nTo get the Task for that Server Component, we need to expose it on the\r\nReactComponentInfo object. Unfortunately that makes the object not\r\nserializable so we need to special case this to exclude it from\r\nserialization. It gets restored again on the client.\r\n\r\nBefore (Shell):\r\n\"Screenshot\r\n\r\nAfter (App):\r\n\"Screenshot","shortMessageHtmlLink":"Use the Nearest Parent of an Errored Promise as its Owner (#29814)"}},{"before":"57550bbb7add096fb6289d789c763c72e795bd31","after":null,"ref":"refs/heads/gh/mvitousek/2/orig","pushedAt":"2024-06-11T21:08:35.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mvitousek","name":"Michael Vitousek","path":"/mvitousek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1629813?s=80&v=4"}},{"before":"2cd012258311f12aaed643d1a78941b1dd449b79","after":null,"ref":"refs/heads/gh/mvitousek/2/head","pushedAt":"2024-06-11T21:08:35.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mvitousek","name":"Michael Vitousek","path":"/mvitousek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1629813?s=80&v=4"}},{"before":"2cd012258311f12aaed643d1a78941b1dd449b79","after":null,"ref":"refs/heads/gh/mvitousek/2/base","pushedAt":"2024-06-11T21:08:35.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mvitousek","name":"Michael Vitousek","path":"/mvitousek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1629813?s=80&v=4"}},{"before":"3b9f33aa9be7ce1c22d1a8d22d0f88c774ba1bbf","after":null,"ref":"refs/heads/gh/mvitousek/1/orig","pushedAt":"2024-06-11T21:08:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mvitousek","name":"Michael Vitousek","path":"/mvitousek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1629813?s=80&v=4"}},{"before":"2386f0978a718d4e0c470f5446d3564faeb97db5","after":null,"ref":"refs/heads/gh/mvitousek/1/head","pushedAt":"2024-06-11T21:08:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mvitousek","name":"Michael Vitousek","path":"/mvitousek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1629813?s=80&v=4"}},{"before":"2386f0978a718d4e0c470f5446d3564faeb97db5","after":null,"ref":"refs/heads/gh/mvitousek/1/base","pushedAt":"2024-06-11T21:08:32.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mvitousek","name":"Michael Vitousek","path":"/mvitousek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1629813?s=80&v=4"}},{"before":"27175f261d26c762ac865c034ad192a1681b0c8e","after":null,"ref":"refs/heads/gh/mvitousek/0/orig","pushedAt":"2024-06-11T21:08:30.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mvitousek","name":"Michael Vitousek","path":"/mvitousek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1629813?s=80&v=4"}},{"before":"0024710e1aa96eca4ef5dac231915b64118b071b","after":null,"ref":"refs/heads/gh/mvitousek/0/head","pushedAt":"2024-06-11T21:08:30.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"mvitousek","name":"Michael Vitousek","path":"/mvitousek","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1629813?s=80&v=4"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAEY7KsEgA","startCursor":null,"endCursor":null}},"title":"Activity · facebook/react"}