{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":512635464,"defaultBranch":"master","name":"pulumi","ownerLogin":"theplatformer","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2022-07-11T06:05:14.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/25452743?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1657519521.49073","currentOid":""},"activityList":{"items":[{"before":"79e8ef9adfc35d6d04d604607f482c8607c14c3c","after":"79171e1d5709dd572f73ce314ce7a4971bb1666a","ref":"refs/heads/master","pushedAt":"2024-02-01T09:52:26.000Z","pushType":"push","commitsCount":1099,"pusher":{"login":"theplatformer","name":"Chris Simmons","path":"/theplatformer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25452743?s=80&v=4"},"commit":{"message":"Refreeze v3.104.1 (#15337)\n\n### Bug Fixes\n\n- [backend/diy] Revert gocloud.dev upgrade\n [#15333](https://github.com/pulumi/pulumi/pull/15333)","shortMessageHtmlLink":"Refreeze v3.104.1 (pulumi#15337)"}},{"before":"b65840f683ee32cc22aad54fbdd4da05f27fe354","after":"79e8ef9adfc35d6d04d604607f482c8607c14c3c","ref":"refs/heads/master","pushedAt":"2023-06-14T10:36:20.948Z","pushType":"push","commitsCount":1127,"pusher":{"login":"theplatformer","name":"Chris Simmons","path":"/theplatformer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25452743?s=80&v=4"},"commit":{"message":"Merge #13077\n\n13077: filestate/upgrade: Add hook to fill missing project names r=abhinav a=abhinav\n\nCommits are individually reviewable.\n\n---\n\nThe filestate upgrade operation is limited: it can only upgrade stacks\nfor which it's able to guess a project name by inspecting resources.\nIt cannot upgrade empty stacks, or stacks where someone recently called\n`pulumi destroy` because they don't have any resources for it to inspect.\n\nTo resolve this, we need to support an external hook:\nsome means for the caller to fill in project names for stacks\nwhere the names could not be guessed.\nWe'll use this hook in the CLI to prompt the user.\n\nThis change adds an UpgradeOptions argument to the Upgrade operation.\nUpgradeOptions includes an option ProjectsForDetachedStacks.\nThis is a callback in the form:\n\n func(stacks []Name) (projects []Name, err error)\n\nIt takes a list of stack names and returns a list of project names for them\nin the same order.\n\nThis also has the effect of splitting the upgrade operation.\nPreviously, it was roughly:\n\n for _, s := range stacks {\n go func(s) {\n proj := guessProject()\n if proj == \"\" { skip }\n upgrade(s, proj)\n }(s)\n }\n\nA single parallelizable unit of work.\n\nWith this change, we have three separate steps. Roughly:\n\n for _, s := range stacks {\n go func(s) {\n guessProject(s)\n // ...\n }(s)\n }\n\n fillMissingProjects(...)\n\n for _, s := range stacks {\n go upgrade(s, projects[s])\n }\n\nOnly the first and third step are run concurrently.\nThe fillMissingProjects is blocking and runs after the first phase\nhas finished completely.\n\nThis change leverages the abstraction introduced in #13076\nto make the above more manageable than it would be otherwise.\n\nRefs #12600\n\n\nCo-authored-by: Abhinav Gupta ","shortMessageHtmlLink":"Merge pulumi#13077"}},{"before":"b65840f683ee32cc22aad54fbdd4da05f27fe354","after":"79e8ef9adfc35d6d04d604607f482c8607c14c3c","ref":"refs/heads/master","pushedAt":"2023-06-14T10:36:20.901Z","pushType":"push","commitsCount":1127,"pusher":{"login":"theplatformer","name":"Chris Simmons","path":"/theplatformer","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/25452743?s=80&v=4"},"commit":{"message":"Merge #13077\n\n13077: filestate/upgrade: Add hook to fill missing project names r=abhinav a=abhinav\n\nCommits are individually reviewable.\n\n---\n\nThe filestate upgrade operation is limited: it can only upgrade stacks\nfor which it's able to guess a project name by inspecting resources.\nIt cannot upgrade empty stacks, or stacks where someone recently called\n`pulumi destroy` because they don't have any resources for it to inspect.\n\nTo resolve this, we need to support an external hook:\nsome means for the caller to fill in project names for stacks\nwhere the names could not be guessed.\nWe'll use this hook in the CLI to prompt the user.\n\nThis change adds an UpgradeOptions argument to the Upgrade operation.\nUpgradeOptions includes an option ProjectsForDetachedStacks.\nThis is a callback in the form:\n\n func(stacks []Name) (projects []Name, err error)\n\nIt takes a list of stack names and returns a list of project names for them\nin the same order.\n\nThis also has the effect of splitting the upgrade operation.\nPreviously, it was roughly:\n\n for _, s := range stacks {\n go func(s) {\n proj := guessProject()\n if proj == \"\" { skip }\n upgrade(s, proj)\n }(s)\n }\n\nA single parallelizable unit of work.\n\nWith this change, we have three separate steps. Roughly:\n\n for _, s := range stacks {\n go func(s) {\n guessProject(s)\n // ...\n }(s)\n }\n\n fillMissingProjects(...)\n\n for _, s := range stacks {\n go upgrade(s, projects[s])\n }\n\nOnly the first and third step are run concurrently.\nThe fillMissingProjects is blocking and runs after the first phase\nhas finished completely.\n\nThis change leverages the abstraction introduced in #13076\nto make the above more manageable than it would be otherwise.\n\nRefs #12600\n\n\nCo-authored-by: Abhinav Gupta ","shortMessageHtmlLink":"Merge pulumi#13077"}}],"hasNextPage":false,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMi0wMVQwOTo1MjoyNi4wMDAwMDBazwAAAAPu9CkN","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wMi0wMVQwOTo1MjoyNi4wMDAwMDBazwAAAAPu9CkN","endCursor":"Y3Vyc29yOnYyOpK7MjAyMy0wNi0xNFQxMDozNjoyMC45MDE4MzFazwAAAANBPAkH"}},"title":"Activity ยท theplatformer/pulumi"}