)]}'
{"id":"openstack%2Fmistral~997593","triplet_id":"openstack%2Fmistral~master~Ib3284e33907a0e844d621bcb44731e96a232e816","project":"openstack/mistral","branch":"master","hashtags":[],"change_id":"Ib3284e33907a0e844d621bcb44731e96a232e816","subject":"scheduler: make DefaultScheduler in-memory jobs thread-safe","status":"MERGED","created":"2026-07-16 15:01:40.000000000","updated":"2026-08-14 00:17:13.000000000","submitted":"2026-08-14 00:16:23.000000000","submitter":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"submission_id":"997593","meta_rev_id":"b0e1b020f09c5c9945433d485ccd47f03d1e7a94","_number":997593,"virtual_id_number":997593,"owner":{"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"all":[{"tag":"autogenerated:zuul:gate","value":2,"date":"2026-08-14 00:16:23.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":0,"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"}],"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":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":2,"date":"2026-08-13 23:29:46.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"}],"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":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},"all":[{"value":0,"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},{"value":1,"date":"2026-08-13 23:29:46.000000000","permitted_voting_range":{"min":1,"max":1},"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2026-07-16 15:40:09.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"}],"messages":[{"id":"16e7c00b6fb1a81649339512292a81c46dd06914","tag":"autogenerated:gerrit:newPatchSet","author":{"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},"date":"2026-07-16 15:01:40.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"bd18cd1a09685d63d25dd375da540619b0c76619","tag":"autogenerated:zuul:check","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-07-16 15:40:09.000000000","message":"Patch Set 1: Verified+1\n\nBuild succeeded (check pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/d5a88d4727d34570a3e113855c39fd32\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/ffefa073c8f04faab721b246e81e2ac5 : SUCCESS in 5m 16s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/eaf9fa7ed6d440df80a9c44be63e8cc3 : SUCCESS in 10m 11s\n- openstack-tox-py313 https://zuul.opendev.org/t/openstack/build/252e3ed97faa49edb070a13121a8083b : SUCCESS in 9m 10s\n- openstack-tox-py314 https://zuul.opendev.org/t/openstack/build/8fce996f3a9d464dbafbc3d70e69e978 : SUCCESS in 11m 32s (non-voting)\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/20b183a40fb34faba22267eb24ae05f6 : SUCCESS in 8m 39s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/f5020a3bf38245b3961cf5c26d313fe7 : SUCCESS in 5m 06s\n- openstack-tox-cover https://zuul.opendev.org/t/openstack/build/dc63f70980d946839680aed6a615c92e : SUCCESS in 17m 32s (non-voting)\n- mistral-devstack https://zuul.opendev.org/t/openstack/build/df44092bbf5341d49069868999833b8f : SUCCESS in 28m 51s\n- mistral-devstack-tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/922cb3be57ca4918bc1acb6a60482130 : SUCCESS in 18m 43s","accounts_in_message":[],"_revision_number":1},{"id":"623ef22b3701194ac4830e92f17bd3640db92546","author":{"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},"date":"2026-08-13 23:29:46.000000000","message":"Patch Set 1: Code-Review+2 Workflow+1","accounts_in_message":[],"_revision_number":1},{"id":"ae8525b8cfb77a88609cd79eb67b88c1122250b6","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-08-13 23:30:20.000000000","message":"Patch Set 1: -Verified\n\nStarting gate jobs.","accounts_in_message":[],"_revision_number":1},{"id":"6abcd085a8e124eb3890eb547d50b7e4a90ba6f7","tag":"autogenerated:zuul:gate","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-08-14 00:16:23.000000000","message":"Patch Set 1: Verified+2\n\nBuild succeeded (gate pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/5fbc5ed7e92244828b427cd0c46f8567\n\n- openstack-tox-pep8 https://zuul.opendev.org/t/openstack/build/f25753e8118341b0ad60f0f56c617b26 : SUCCESS in 2m 46s\n- openstack-tox-py311 https://zuul.opendev.org/t/openstack/build/057ce8277642432c8e1ecb60dd89d8cb : SUCCESS in 9m 56s\n- openstack-tox-py313 https://zuul.opendev.org/t/openstack/build/104333ccf24246dabc6e44803a13dabe : SUCCESS in 10m 05s\n- openstack-tox-docs https://zuul.opendev.org/t/openstack/build/32d141a9ebdd4ca581257314f2e95551 : SUCCESS in 7m 23s\n- build-openstack-releasenotes https://zuul.opendev.org/t/openstack/build/a3886ea299d946e69573a7bb6223eb69 : SUCCESS in 4m 17s\n- mistral-devstack https://zuul.opendev.org/t/openstack/build/1a5acc704d3745b387a4b8fb772663f9 : SUCCESS in 21m 19s\n- mistral-devstack-tempest-ipv6-only https://zuul.opendev.org/t/openstack/build/3ae8815aacda4de2ade7bfc201f514f7 : SUCCESS in 41m 15s","accounts_in_message":[],"_revision_number":1},{"id":"fd2ea06704628f9bffa582877149e72b728331ad","tag":"autogenerated:gerrit:merged","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-08-14 00:16:23.000000000","message":"Change has been successfully merged","accounts_in_message":[],"_revision_number":1},{"id":"b0e1b020f09c5c9945433d485ccd47f03d1e7a94","tag":"autogenerated:zuul:promote","author":{"_account_id":22348,"name":"Zuul","username":"zuul","tags":["SERVICE_USER"]},"date":"2026-08-14 00:17:13.000000000","message":"Patch Set 1:\n\nBuild succeeded (promote pipeline).\nhttps://zuul.opendev.org/t/openstack/buildset/028175e26f824ec689e6a615d634f767\n\n- promote-openstack-tox-docs https://zuul.opendev.org/t/openstack/build/ce7c625944e24743b09ef0f5e7e2f511 : SUCCESS in 37s","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"e5ec549aff5862117d1a1e4b2450882bb373a305","revisions":{"e5ec549aff5862117d1a1e4b2450882bb373a305":{"kind":"REWORK","_number":1,"created":"2026-07-16 15:01:40.000000000","uploader":{"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"},"ref":"refs/changes/93/997593/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/mistral","ref":"refs/changes/93/997593/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/mistral refs/changes/93/997593/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/mistral refs/changes/93/997593/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/mistral refs/changes/93/997593/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/mistral refs/changes/93/997593/1"}}},"commit":{"parents":[{"commit":"a53e88433f5ddb25947c621feaeff3df5963e6cb","subject":"Fix cloudflow new url typo","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/mistral/commit/a53e88433f5ddb25947c621feaeff3df5963e6cb"}]}],"author":{"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","date":"2026-07-10 06:04:53.000000000","tz":120},"committer":{"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","date":"2026-07-10 06:04:53.000000000","tz":120},"subject":"scheduler: make DefaultScheduler in-memory jobs thread-safe","message":"scheduler: make DefaultScheduler in-memory jobs thread-safe\n\nThe in-memory jobs collection is mutated from the timer threads and read\nfrom the scheduling thread (has_scheduled_jobs) without any\nsynchronization, which could raise \"dictionary changed size during\niteration\". On top of that, a job that failed to be captured returned\nearly and left its entry in the collection forever.\n\nGuard the collection with a lock and always drop the entry once a timer\nhas run, whether or not the job was captured.\n\nSigned-off-by: Arnaud Morin \u003carnaud.morin@gmail.com\u003e\nCo-Authored-By: Claude Opus 4.8 (1M context) \u003cnoreply@anthropic.com\u003e\nChange-Id: Ib3284e33907a0e844d621bcb44731e96a232e816\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/mistral/commit/e5ec549aff5862117d1a1e4b2450882bb373a305"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/mistral/commit/e5ec549aff5862117d1a1e4b2450882bb373a305"}]},"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":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"}},{"label":"Workflow","status":"MAY","applied_by":{"_account_id":11583,"name":"Arnaud Morin","email":"arnaud.morin@gmail.com","username":"arnaudmorin"}}]}],"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":""}}}]}
