)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":37112,"name":"Christoph Kulla","display_name":"Christoph Kulla","email":"christoph.kulla@de.bosch.com","username":"ckulla"},"change_message_id":"3ee04edacc89256a1992b9f7cd9c525a27586a69","unresolved":true,"context_lines":[],"source_content_type":"","patch_set":1,"id":"8bcbb56e_a29f0591","updated":"2025-12-11 11:17:07.000000000","message":"We could mention that per-branch queues get the branch name automatically added to the queue name, e.g. \"my-queue (main)\" with main being the branch name. But these names are internal and can\u0027t be used to assign project/branch combinations to it. Instead, the user has to use branch assigned queues and choose queue names to \"emulate\" per-branch queue names.\n\nGiven the following example:\n\n```\nqueue:\n    name: my-queue\n    type: per-branch\n\nproject:\n    name: super\n    queue: my-queue\n\nproject:\n    name: child\n    branch: master # foo is using master instead of main\n    queue: my-queue (main) # not possible\n```\n\nThis definition is not allowed, instead the user would use branch assigned queues:\n\n```\nqueue:\n    name: my-queue (main)\n    type: branch-assigned\n\nproject:\n    name: super\n    queue: my-queue (main)\n\nproject:\n    name: child\n    branch: master\n    queue: my-queue (main)\n```\n\nThis is relevant when having a super-project and adding child projects to a queue defined in a super project. The branch name in parenthesis would reflect the branch name of the super-project. When branching the above definition (using branch-assigned queues), the user has to rename the \"my-queue (main)\" to \"my-queue (new-branch-name)\" if separate queues are needed. Branching of a super project requires editing the Zuul configuration. This could be addressed in future but is not in scope of this spec. Therefore the spec is fine to me as it is.","commit_id":"612880f553bb69e1a88203dbd17bbd22462ec8f7"}],"doc/source/developer/specs/branch-assigned-queues.rst":[{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"9d9351ae21f9c059b2baaef0515209afa702eb9d","unresolved":true,"context_lines":[{"line_number":133,"context_line":""},{"line_number":134,"context_line":"We will add a ``type`` attribute to the queue object which can be one"},{"line_number":135,"context_line":"of the following values: ``all-branches``, ``per-branch``, and"},{"line_number":136,"context_line":"``branch-assigned``."},{"line_number":137,"context_line":""},{"line_number":138,"context_line":"The ``all-branches`` value will be the default and is the traditional"},{"line_number":139,"context_line":"queue behavior.  The ``per-branch`` value will be a synonym for"}],"source_content_type":"text/x-rst","patch_set":1,"id":"5ce6af84_0c1255dd","line":136,"updated":"2025-12-03 16:02:13.000000000","message":"One side effect of this that will be a new behavior compared to the preexisting options is that if you create a new branch off of an old branch they will initially share a branch assigned queue. Previously, you either got the default project wide queue for all branches (same as every other branch) or you got a new branch specific queue (same for every other branch).\n\nI think the choices in UI here are reasonable and this is a necessary consequence of these decisions. In other words I don\u0027t think anything needs to change in terms of design. But I do think we may want to call out the behavior difference in documentation to users to help avoid surprises.","commit_id":"612880f553bb69e1a88203dbd17bbd22462ec8f7"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"9d9351ae21f9c059b2baaef0515209afa702eb9d","unresolved":true,"context_lines":[{"line_number":163,"context_line":"Only the first queue assignment for a given project-branch combination"},{"line_number":164,"context_line":"will be honored; subsequent appearances will be ignored."},{"line_number":165,"context_line":""},{"line_number":166,"context_line":"The following example would assign `project1@legacy` to the `legacy` queue,"},{"line_number":167,"context_line":"while all other branches of the project are assigned to the `general`"},{"line_number":168,"context_line":"queue:"},{"line_number":169,"context_line":""}],"source_content_type":"text/x-rst","patch_set":1,"id":"170c0082_7998f33f","line":166,"range":{"start_line":166,"start_character":61,"end_line":166,"end_character":67},"updated":"2025-12-03 16:02:13.000000000","message":"Nit the queue name is `legacy-queue`. Could rename it to just `legacy` to match the name here. Or update the name here.","commit_id":"612880f553bb69e1a88203dbd17bbd22462ec8f7"}]}
