)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":38496,"name":"Andressa Cabistani","display_name":"Andressa","email":"acabistani@gmail.com","username":"andressadotpy","status":"I\u0027m a Software Engineer at Red Hat and I love Open Source and connect with people! Feel free to DM through IRC, I\u0027ll be delighted to chat"},"change_message_id":"5352fa0d83131765dd9ab88174942990c60b4348","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"9291adaa_f21813a7","updated":"2026-10-16 10:03:25.000000000","message":"All five passed in SAIO without modification.\n\nNote: `test_auto_repair_root_multiple_paths` and `test_auto_repair_root_gap` replace the previous `test_manage_shard_ranges_repair_root` and `test_manage_shard_ranges_repair_root_gap`, which tested the `swift-manage-shard-ranges repair` CLI path directly. That CLI coverage is now gone. If `swift-manage-shard-ranges repair` should still be tested end-to-end, the old tests should be kept alongside these rather than replaced.","commit_id":"8aa3c00d264d14fc2fdb8f3d77b913e2d75b01cb"}],"test/probe/test_sharder.py":[{"author":{"_account_id":38496,"name":"Andressa Cabistani","display_name":"Andressa","email":"acabistani@gmail.com","username":"andressadotpy","status":"I\u0027m a Software Engineer at Red Hat and I love Open Source and connect with people! Feel free to DM through IRC, I\u0027ll be delighted to chat"},"change_message_id":"5352fa0d83131765dd9ab88174942990c60b4348","unresolved":true,"context_lines":[{"line_number":3332,"context_line":""},{"line_number":3333,"context_line":""},{"line_number":3334,"context_line":"class TestManagedContainerSharding(BaseTestContainerSharding):"},{"line_number":3335,"context_line":"    \"\"\"Test sharding using swift-manage-shard-ranges\"\"\""},{"line_number":3336,"context_line":""},{"line_number":3337,"context_line":"    @requires_auto_sharding"},{"line_number":3338,"context_line":"    @unittest.skipUnless("}],"source_content_type":"text/x-python","patch_set":3,"id":"29846a13_5cd61c32","line":3335,"updated":"2026-10-16 10:03:25.000000000","message":"The class docstring says `Test sharding using swift-manage-shard-ranges` but four of the methods added in this patch, `test_auto_sharding_churn_soak`, `test_auto_sharding_cleaving_recovery`, `test_auto_repair_root_multiple_paths`, and `test_auto_repair_root_gap` use `auto_shard\u003dTrue` as the primary mechanism and do not rely on `swift-manage-shard-ranges` to drive the repair. The docstring is now wrong.\n\nSuggestion: Update the docstring to reflect the broader scope of the class, or move the auto-repair tests into a new class with an accurate name such as `TestAutoShardingRecovery`.","commit_id":"8aa3c00d264d14fc2fdb8f3d77b913e2d75b01cb"},{"author":{"_account_id":38496,"name":"Andressa Cabistani","display_name":"Andressa","email":"acabistani@gmail.com","username":"andressadotpy","status":"I\u0027m a Software Engineer at Red Hat and I love Open Source and connect with people! Feel free to DM through IRC, I\u0027ll be delighted to chat"},"change_message_id":"5352fa0d83131765dd9ab88174942990c60b4348","unresolved":true,"context_lines":[{"line_number":3340,"context_line":"        \u0027set SWIFT_TEST_SHARDER_SOAK_DURATION to run the SAIO soak\u0027)"},{"line_number":3341,"context_line":"    def test_auto_sharding_churn_soak(self):"},{"line_number":3342,"context_line":"        \"\"\"Exercise automatic cleaving and shrinking while clients churn.\"\"\""},{"line_number":3343,"context_line":"        self.assertGreaterEqual(AUTO_SHARD_SOAK_DURATION, 30)"},{"line_number":3344,"context_line":"        sharder_conf \u003d {"},{"line_number":3345,"context_line":"            \u0027auto_shard\u0027: True,"},{"line_number":3346,"context_line":"            \u0027shard_container_threshold\u0027: 10,"}],"source_content_type":"text/x-python","patch_set":3,"id":"7c780573_1b2a1706","line":3343,"updated":"2026-10-16 10:03:25.000000000","message":"The `skipUnless` decorator skips the test only when `SWIFT_TEST_SHARDER_SOAK_DURATION` is unset or `SWIFT_TEST_SHARDER_SOAK_DURATION\u003d0`. But if someone sets `SWIFT_TEST_SHARDER_SOAK_DURATION\u003d5`, the test runs and immediately hits `assertGreaterEqual(5, 30)`, which produces a hard test FAIL instead of a skip.\n\nSuggestion: replace with an explicit skip\n```python\nif AUTO_SHARD_SOAK_DURATION \u003c 30:\n    raise unittest.SkipTest(\n        \u0027SWIFT_TEST_SHARDER_SOAK_DURATION must be \u003e\u003d 30 to run soak tests\u0027)\n```\n\nTo reproduce:\n`SWIFT_TEST_SHARDER_SOAK_DURATION\u003d5 python -m pytest test/probe/test_sharder.py::TestManagedContainerSharding::test_auto_sharding_churn_soak`. The test will `FAIL` rather than `SKIP`.","commit_id":"8aa3c00d264d14fc2fdb8f3d77b913e2d75b01cb"},{"author":{"_account_id":38496,"name":"Andressa Cabistani","display_name":"Andressa","email":"acabistani@gmail.com","username":"andressadotpy","status":"I\u0027m a Software Engineer at Red Hat and I love Open Source and connect with people! Feel free to DM through IRC, I\u0027ll be delighted to chat"},"change_message_id":"5352fa0d83131765dd9ab88174942990c60b4348","unresolved":true,"context_lines":[{"line_number":4630,"context_line":"                 for sr in broker.get_shard_ranges(include_deleted\u003dTrue)])"},{"line_number":4631,"context_line":""},{"line_number":4632,"context_line":"    @requires_auto_sharding"},{"line_number":4633,"context_line":"    def test_auto_repair_root_gap(self):"},{"line_number":4634,"context_line":"        # Create a gap in a root container and repair it automatically."},{"line_number":4635,"context_line":"        # note: be careful not to add a container listing to this test which"},{"line_number":4636,"context_line":"        # would get shard ranges into memcache"}],"source_content_type":"text/x-python","patch_set":3,"id":"0b46ed31_ccc7d049","line":4633,"updated":"2026-10-16 10:03:25.000000000","message":"Suggestion: After the repair sharder pass but before running the replicator, add an assertion that the gap was detected. For example by checking the sharder log for the expected message, or by asserting the intermediate expanded range boundaries directly on the broker before replication spreads them.","commit_id":"8aa3c00d264d14fc2fdb8f3d77b913e2d75b01cb"}]}
