)]}'
{"id":"openstack%2Fpython-observabilityclient~1017978","triplet_id":"openstack%2Fpython-observabilityclient~master~I7b3122a5975c926d50d1de5ed226d3e43bcd7997","project":"openstack/python-observabilityclient","branch":"master","attention_set":{},"removed_from_attention_set":{"20676":{"account":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"last_update":"2026-12-02 11:46:32.000000000","reason":"Change was submitted"},"32968":{"account":{"_account_id":32968,"name":"Juan Larriba","email":"jlarriba@redhat.com","username":"jlarriba"},"last_update":"2026-12-02 11:46:32.000000000","reason":"Change was submitted"},"9816":{"account":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"last_update":"2026-12-02 11:46:32.000000000","reason":"Change was submitted"},"34975":{"account":{"_account_id":34975,"name":"Jaromír Wysoglad","email":"jwysogla@redhat.com","username":"jwysogla"},"last_update":"2026-12-02 11:46:32.000000000","reason":"Change was submitted"}},"hashtags":[],"change_id":"I7b3122a5975c926d50d1de5ed226d3e43bcd7997","subject":"Fix infinite loop in modify_query on invalid label sections","status":"MERGED","created":"2026-11-30 11:51:42.000000000","updated":"2026-12-02 11:47:33.000000000","submitted":"2026-12-02 11:46:32.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":1,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"1017978","meta_rev_id":"b38660b5d496a58dd904874321d2d07eb357d2c6","_number":1017978,"virtual_id_number":1017978,"owner":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"value":0,"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},{"tag":"autogenerated:zuul:gate","value":2,"date":"2026-12-02 11:46:31.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":34975,"name":"Jaromír Wysoglad","email":"jwysogla@redhat.com","username":"jwysogla"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"all":[{"value":2,"date":"2026-12-02 10:23:08.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":34975,"name":"Jaromír Wysoglad","email":"jwysogla@redhat.com","username":"jwysogla"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"all":[{"value":1,"date":"2026-12-02 10:23:08.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":34975,"name":"Jaromír Wysoglad","email":"jwysogla@redhat.com","username":"jwysogla"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},{"_account_id":32968,"name":"Juan Larriba","email":"jlarriba@redhat.com","username":"jlarriba"}],"reviewers":{"REVIEWER":[{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"_account_id":32968,"name":"Juan Larriba","email":"jlarriba@redhat.com","username":"jlarriba"},{"_account_id":34975,"name":"Jaromír Wysoglad","email":"jwysogla@redhat.com","username":"jwysogla"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-11-30 11:52:01.000000000","updated_by":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"reviewer":{"_account_id":9816,"name":"Takashi Kajinami","email":"kajinamit@oss.nttdata.com","username":"kajinamit"},"state":"REVIEWER"},{"updated":"2026-11-30 11:52:01.000000000","updated_by":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"reviewer":{"_account_id":32968,"name":"Juan Larriba","email":"jlarriba@redhat.com","username":"jlarriba"},"state":"REVIEWER"},{"updated":"2026-11-30 11:52:01.000000000","updated_by":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"reviewer":{"_account_id":34975,"name":"Jaromír Wysoglad","email":"jwysogla@redhat.com","username":"jwysogla"},"state":"REVIEWER"},{"updated":"2026-11-30 13:03:58.000000000","updated_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"reviewer":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"state":"REVIEWER"},{"updated":"2026-12-02 10:23:08.000000000","updated_by":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"reviewer":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"state":"REVIEWER"}],"messages":[{"id":"de0587d196b147fce1672ad2b691e746145ce1b5","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"date":"2026-11-30 11:51:42.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"e9fc277d5422966ca956b94c3da0da8f0e5fe480","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-11-30 13:03:58.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/53d8df7b22014658a5524e0a1d8d7c69\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/f977f1b88e9e40d983188c0a1cbb4032 : SUCCESS in 3m 29s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/008bd89dcd024f46bd077067677e31cb : SUCCESS in 3m 31s\n- openstack-tox-py314 https://zuul.opendev.org/t/openstack/build/3fe4c045db8b48fd9541218e0a867d36 : SUCCESS in 4m 10s\n- openstack-tox-py315 https://zuul.opendev.org/t/openstack/build/43e0ab8dc0fb4431add00bc69c02cb0d : SUCCESS in 3m 26s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/f86260fc2ec1487e87415d7c770862fe : SUCCESS in 2m 21s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/113e06cc2bda43e0a59381337d6a251b : SUCCESS in 3m 35s\n- telemetry-dsvm-integration https://zuul.opendev.org/t/openstack/build/fe6bfb38e2214de5b3e1578dbced1a9e : SUCCESS in 54m 03s (non-voting)\n- telemetry-dsvm-integration-ipv6-only https://zuul.opendev.org/t/openstack/build/8da7be3d50784c59b9af6d1975cb6e5d : SUCCESS in 49m 24s (non-voting)\n- telemetry-dsvm-integration-centos-9s https://zuul.opendev.org/t/openstack/build/40302c180ad943ea9544418d5940cd94 : SUCCESS in 32m 56s (non-voting)\n- telemetry-dsvm-integration-centos-9s-fips https://zuul.opendev.org/t/openstack/build/ff7fd140c11242779dd60b55e52081eb : SUCCESS in 1h 03m 28s (non-voting)\n- observabilityclient-dsvm-functional https://zuul.opendev.org/t/openstack/build/8cadcef4d8f94a15a18550a53898cb5c : SUCCESS in 35m 25s\n\nWarning:\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/openstack/devstack/playbooks/post.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/cleanup.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post-logs.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.","accounts_in_message":[],"_revision_number":1},{"id":"39ff3890e72cf3fae7be8de52d6e64b9638c420e","author":{"_account_id":34975,"name":"Jaromír Wysoglad","email":"jwysogla@redhat.com","username":"jwysogla"},"date":"2026-11-30 14:07:35.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"6e8680803c74e3c74a91824afc2f0a840c831e39","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"date":"2026-12-02 08:28:59.000000000","message":"Uploaded patch set 2.\n\nOutdated Votes:\n* Code-Review+2 (copy condition: \"changekind:TRIVIAL_REBASE OR is:MIN\")\n* Verified+1 (copy condition: \"NEVER\")\n","accounts_in_message":[],"_revision_number":2},{"id":"9ff84f85d22e72c769600409a0d9f2169705d04d","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"date":"2026-12-02 08:33:39.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"51e005e5cd6975f03f00cb634b47d1165b621009","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-02 09:41:58.000000000","message":"Patch Set 3: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/aadd0bdb512c41ddbe2fd96d77d661bd\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/20513f8285614b6892c67cb94d6f5d91 : SUCCESS in 3m 41s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/7d78467632a94cad849dfaa8e4691df9 : SUCCESS in 3m 52s\n- openstack-tox-py314 https://zuul.opendev.org/t/openstack/build/974b8e7af0024c499fcfbac9ec5cf6a8 : SUCCESS in 7m 43s\n- openstack-tox-py315 https://zuul.opendev.org/t/openstack/build/b095c9d8cf0146f28148542b4afaf52d : SUCCESS in 6m 06s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/27d3424985d8454784d169c473fd306e : SUCCESS in 3m 38s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/5b8bfa953f8943e9a1121ca7c9a2541f : SUCCESS in 3m 37s\n- telemetry-dsvm-integration https://zuul.opendev.org/t/openstack/build/5efe0507c2c44b08a358efe30df9d29e : SUCCESS in 58m 15s (non-voting)\n- telemetry-dsvm-integration-ipv6-only https://zuul.opendev.org/t/openstack/build/8945dc0e59d64d0a9eca560ec5e10919 : SUCCESS in 55m 38s (non-voting)\n- telemetry-dsvm-integration-centos-9s https://zuul.opendev.org/t/openstack/build/9495998155c544f9a924c6bbbc586cdc : SUCCESS in 1h 03m 03s (non-voting)\n- telemetry-dsvm-integration-centos-9s-fips https://zuul.opendev.org/t/openstack/build/eae9028601b84f08b3a36363b682d741 : SUCCESS in 44m 46s (non-voting)\n- observabilityclient-dsvm-functional https://zuul.opendev.org/t/openstack/build/cf98b7b3a060479e98f6e73d83bab58b : SUCCESS in 33m 52s\n\nWarning:\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/openstack/devstack/playbooks/post.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/cleanup.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post-logs.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.","accounts_in_message":[],"_revision_number":3},{"id":"35130c1d2002a1222820f27016be7cc81f4b3a8d","author":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"},"date":"2026-12-02 10:23:08.000000000","message":"Patch Set 3: Code-Review+2 Workflow+1\n\n(1 comment)","accounts_in_message":[],"_revision_number":3},{"id":"09e1d18c131a00b930f4df51abee8e93eca5058e","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-02 10:34:45.000000000","message":"Patch Set 3: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":3},{"id":"ffa9db93bf458bd6da5249f58d7c8e9f8af6166b","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-02 11:46:31.000000000","message":"Patch Set 3: Verified+2\n\nBuild succeeded (gate pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/5d35e5b572c84065aca042022138a9bf\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/8d52a63684a74250862c2af6e0f110f8 : SUCCESS in 3m 17s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/fc01546af4ed4c618c400aa826628f6d : SUCCESS in 4m 06s\n- openstack-tox-py314 https://zuul.opendev.org/t/openstack/build/fd0e5b5440d74e009df062c8e3e263b9 : SUCCESS in 6m 54s\n- openstack-tox-py315 https://zuul.opendev.org/t/openstack/build/102034a098ce44059e9ac58ddf7a7f51 : SUCCESS in 5m 19s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/6739e81726314523a16a159095351e79 : SUCCESS in 3m 53s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/5cdca3b3ffe040af9fb44415e2b1ed09 : SUCCESS in 3m 47s\n- telemetry-dsvm-integration https://zuul.opendev.org/t/openstack/build/b0a3f8a65dc441b4b645efafa2039b4a : SUCCESS in 35m 46s (non-voting)\n- telemetry-dsvm-integration-ipv6-only https://zuul.opendev.org/t/openstack/build/12e770f95cab479dace5edfe929ea7c4 : SUCCESS in 53m 02s (non-voting)\n- telemetry-dsvm-integration-centos-9s https://zuul.opendev.org/t/openstack/build/f9bb3a88157649d9acb3244ddfe44d86 : SUCCESS in 50m 28s (non-voting)\n- telemetry-dsvm-integration-centos-9s-fips https://zuul.opendev.org/t/openstack/build/89a280b1152b4093b37873b6013e6ac8 : SUCCESS in 1h 05m 57s (non-voting)\n- observabilityclient-dsvm-functional https://zuul.opendev.org/t/openstack/build/f99bbad870e14055915973eb1d7ed30d : SUCCESS in 36m 00s\n\nWarning:\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/openstack/devstack/playbooks/post.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/cleanup.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.\n  File .ssh/known_hosts.old found in build home directory during playbook opendev.org/opendev/base-jobs/playbooks/base/post-logs.yaml for job telemetry-dsvm-integration-centos-9s-fips.  Add to preserve-home-paths if safe, or otherwise remove.","accounts_in_message":[],"_revision_number":3},{"id":"3e91e97f3bf5f21579621a6ac52127b2c49098aa","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-02 11:46:32.000000000","message":"Change has been successfully merged","accounts_in_message":[],"_revision_number":3},{"id":"b38660b5d496a58dd904874321d2d07eb357d2c6","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-12-02 11:47:33.000000000","message":"Patch Set 3:\n\nBuild succeeded (promote pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/8a923122191b43d8bdd8949b4e99ff33\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/952d1c7b1c814a219e1f7e66197b39c1 : SUCCESS in 45s\n- promote-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/a7dfb2c7f3d24b578316b7357383f0a8 : SUCCESS in 50s","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"3a2fb8bab63807eb9ce8e9e2d03a1891a9faed51","revisions":{"59d45c157e67f1ce51b88110c73c5b956da4352d":{"kind":"REWORK","_number":1,"created":"2026-11-30 11:51:42.000000000","uploader":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"ref":"refs/changes/78/1017978/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-observabilityclient","ref":"refs/changes/78/1017978/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/1"}}},"commit":{"parents":[{"commit":"2ed092bde9f623a030f670941fd78ddbc951704c","subject":"Fix modify_query for __name__ matcher queries","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-observabilityclient/commit/2ed092bde9f623a030f670941fd78ddbc951704c"}]}],"author":{"name":"Daniel Pawlik","email":"dpawlik@redhat.com","date":"2026-11-30 11:48:48.000000000","tz":60},"committer":{"name":"Daniel Pawlik","email":"dpawlik@redhat.com","date":"2026-11-30 11:51:04.000000000","tz":60},"subject":"Fix infinite loop in modify_query on invalid label sections","message":"Fix infinite loop in modify_query on invalid label sections\n\n_find_label_value_end loops while end \u003d\u003d start, but when no quote\nfollows the label section start, e.g. for an unclosed \"{\" like\n\"sum({\" or a section without a label matcher, both are -1 and the\nloop never ends. A non-admin user can send such a query to aetos and\nkeep a worker busy forever.\n\nStop the loop when no quote is found and return -1 as the function\nalready documents. The query is then passed on and rejected by\nPrometheus.\n\nSince the fix for bug 2175029 [1] adds labels to every label section,\nalso ones without a metric name in front, more queries reach this\nloop than before.\n\n[1] https://review.opendev.org/c/openstack/python-observabilityclient/+/1017740\n\nRelated-Bug: #2175029\nChange-Id: I7b3122a5975c926d50d1de5ed226d3e43bcd7997\nSigned-off-by: Daniel Pawlik \u003cdpawlik@redhat.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-observabilityclient/commit/59d45c157e67f1ce51b88110c73c5b956da4352d"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-observabilityclient/commit/59d45c157e67f1ce51b88110c73c5b956da4352d"}]},"branch":"refs/heads/master"},"b8b6622406ffecd412863472479809feafbb7dca":{"kind":"REWORK","_number":2,"created":"2026-12-02 08:28:59.000000000","uploader":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"ref":"refs/changes/78/1017978/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-observabilityclient","ref":"refs/changes/78/1017978/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/2"}}},"commit":{"parents":[{"commit":"91b13bd2f1b9998965d2edebf75dab15957c6de0","subject":"Fix modify_query for __name__ matcher queries","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-observabilityclient/commit/91b13bd2f1b9998965d2edebf75dab15957c6de0"}]}],"author":{"name":"Daniel Pawlik","email":"dpawlik@redhat.com","date":"2026-11-30 11:48:48.000000000","tz":60},"committer":{"name":"Daniel Pawlik","email":"dpawlik@redhat.com","date":"2026-12-02 08:17:00.000000000","tz":60},"subject":"Fix infinite loop in modify_query on invalid label sections","message":"Fix infinite loop in modify_query on invalid label sections\n\n_find_label_value_end loops while end \u003d\u003d start, but when no quote\nfollows the label section start, e.g. for an unclosed \"{\" like\n\"sum({\" or a section without a label matcher, both are -1 and the\nloop never ends. A non-admin user can send such a query to aetos and\nkeep a worker busy forever.\n\nStop the loop when no quote is found and return -1 as the function\nalready documents. The query is then passed on and rejected by\nPrometheus.\n\nSince the fix for bug 2175029 [1] adds labels to every label section,\nalso ones without a metric name in front, more queries reach this\nloop than before.\n\n[1] https://review.opendev.org/c/openstack/python-observabilityclient/+/1017740\n\nRelated-Bug: #2175029\nChange-Id: I7b3122a5975c926d50d1de5ed226d3e43bcd7997\nSigned-off-by: Daniel Pawlik \u003cdpawlik@redhat.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-observabilityclient/commit/b8b6622406ffecd412863472479809feafbb7dca"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-observabilityclient/commit/b8b6622406ffecd412863472479809feafbb7dca"}]},"branch":"refs/heads/master"},"3a2fb8bab63807eb9ce8e9e2d03a1891a9faed51":{"kind":"REWORK","_number":3,"created":"2026-12-02 08:33:39.000000000","uploader":{"_account_id":20676,"name":"daniel.pawlik","display_name":"Daniel Pawlik","email":"dpawlik@redhat.com","username":"daniel.pawlik"},"ref":"refs/changes/78/1017978/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-observabilityclient","ref":"refs/changes/78/1017978/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-observabilityclient refs/changes/78/1017978/3"}}},"commit":{"parents":[{"commit":"91b13bd2f1b9998965d2edebf75dab15957c6de0","subject":"Fix modify_query for __name__ matcher queries","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-observabilityclient/commit/91b13bd2f1b9998965d2edebf75dab15957c6de0"}]}],"author":{"name":"Daniel Pawlik","email":"dpawlik@redhat.com","date":"2026-11-30 11:48:48.000000000","tz":60},"committer":{"name":"Daniel Pawlik","email":"dpawlik@redhat.com","date":"2026-12-02 08:33:33.000000000","tz":60},"subject":"Fix infinite loop in modify_query on invalid label sections","message":"Fix infinite loop in modify_query on invalid label sections\n\n_find_label_value_end loops while end \u003d\u003d start, but when no quote\nfollows the label section start, e.g. for an unclosed \"{\" like\n\"sum({\" or a section without a label matcher, both are -1 and the\nloop never ends. A non-admin user can send such a query to aetos and\nkeep a worker busy forever.\n\nStop the loop when no quote is found and return -1 as the function\nalready documents. The query is then passed on and rejected by\nPrometheus.\n\nSince the fix for bug 2175029 [1] adds labels to every label section,\nalso ones without a metric name in front, more queries reach this\nloop than before.\n\n[1] https://review.opendev.org/c/openstack/python-observabilityclient/+/1017740\n\nRelated-Bug: #2175029\nChange-Id: I7b3122a5975c926d50d1de5ed226d3e43bcd7997\nSigned-off-by: Daniel Pawlik \u003cdpawlik@redhat.com\u003e\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-observabilityclient/commit/3a2fb8bab63807eb9ce8e9e2d03a1891a9faed51"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-observabilityclient/commit/3a2fb8bab63807eb9ce8e9e2d03a1891a9faed51"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"CLOSED","labels":[{"label":"Verified","status":"MAY","applied_by":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}},{"label":"Code-Review","status":"MAY","applied_by":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"}},{"label":"Workflow","status":"MAY","applied_by":{"_account_id":4264,"name":"Matthias Runge","email":"mrunge@redhat.com","username":"mrunge"}}]}],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Verified\u003dMAX"],"failing_atoms":["label:Verified\u003dMIN"],"atom_explanations":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Code-Review\u003dMAX"],"failing_atoms":["label:Code-Review\u003dMIN"],"atom_explanations":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"SATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":true,"status":"PASS","passing_atoms":["label:Workflow\u003dMAX"],"failing_atoms":["label:Workflow\u003dMIN"],"atom_explanations":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
