)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":38767,"name":"Wael Halbawi","display_name":"Wael Halbawi","email":"whalbawi@nvidia.com","username":"whalbawi"},"change_message_id":"9ff871b64d4cef63e211c3ca45cb28de8e293686","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":3,"id":"e78d705f_66846e73","updated":"2026-09-22 23:44:51.000000000","message":"Nice improvement to the tests. My only concern is that the tests that directly exercise `audit_location` do not make the same assertion on the `hash_dirs` counter.","commit_id":"a2992cdc51bb31f25ba71a91833cd19d885cdcaa"},{"author":{"_account_id":38767,"name":"Wael Halbawi","display_name":"Wael Halbawi","email":"whalbawi@nvidia.com","username":"whalbawi"},"change_message_id":"77d3e9ee391aeaaeb526fa3ba4e4835ee679a3be","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":4,"id":"bb077c5e_4df2db12","updated":"2026-09-28 17:22:36.000000000","message":"LGTM. Thanks!","commit_id":"7faaa96779ad7a67d80f34e40242f4cd44ccf5ac"}],"test/unit/cli/test_relinker.py":[{"author":{"_account_id":38767,"name":"Wael Halbawi","display_name":"Wael Halbawi","email":"whalbawi@nvidia.com","username":"whalbawi"},"change_message_id":"9ff871b64d4cef63e211c3ca45cb28de8e293686","unresolved":true,"context_lines":[{"line_number":259,"context_line":"                relinker.DEFAULT_MAX_AUDIT_HISTORY_QUARANTINE_THRESHOLD,"},{"line_number":260,"context_line":"            \u0027clobber_hardlink_collisions\u0027: False,"},{"line_number":261,"context_line":"        }"},{"line_number":262,"context_line":"        expected_conf[\u0027policies\u0027] \u003d {POLICIES[0], POLICIES[2]}"},{"line_number":263,"context_line":"        self.assertEqual([mock.call("},{"line_number":264,"context_line":"            expected_conf, expected_logger, [self.existing_device],"},{"line_number":265,"context_line":"            step\u003drelinker.Step.AUDIT)],"}],"source_content_type":"text/x-python","patch_set":3,"id":"94839ff2_fe8b7b7d","line":262,"updated":"2026-09-22 23:44:51.000000000","message":"Is this left out of the the previous definition intentionally? The following passes in my SAIO:\n```\n--- a/test/unit/cli/test_relinker.py\n+++ b/test/unit/cli/test_relinker.py\n@@ -258,8 +258,8 @@ class TestRelinker(unittest.TestCase):\n             \u0027max_audit_history_quarantine_threshold\u0027:\n                 relinker.DEFAULT_MAX_AUDIT_HISTORY_QUARANTINE_THRESHOLD,\n             \u0027clobber_hardlink_collisions\u0027: False,\n+            \u0027policies\u0027: {POLICIES[0], POLICIES[2]},\n         }\n-        expected_conf[\u0027policies\u0027] \u003d {POLICIES[0], POLICIES[2]}\n         self.assertEqual([mock.call(\n             expected_conf, expected_logger, [self.existing_device],\n             step\u003drelinker.Step.AUDIT)],\n```","commit_id":"a2992cdc51bb31f25ba71a91833cd19d885cdcaa"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"5004a8472687d624f4f47a24013b610fd4c8de15","unresolved":true,"context_lines":[{"line_number":259,"context_line":"                relinker.DEFAULT_MAX_AUDIT_HISTORY_QUARANTINE_THRESHOLD,"},{"line_number":260,"context_line":"            \u0027clobber_hardlink_collisions\u0027: False,"},{"line_number":261,"context_line":"        }"},{"line_number":262,"context_line":"        expected_conf[\u0027policies\u0027] \u003d {POLICIES[0], POLICIES[2]}"},{"line_number":263,"context_line":"        self.assertEqual([mock.call("},{"line_number":264,"context_line":"            expected_conf, expected_logger, [self.existing_device],"},{"line_number":265,"context_line":"            step\u003drelinker.Step.AUDIT)],"}],"source_content_type":"text/x-python","patch_set":3,"id":"adb61590_9b354f39","line":262,"in_reply_to":"94839ff2_fe8b7b7d","updated":"2026-09-28 15:08:06.000000000","message":"yes, the intention was to draw attention to the important part of the expected stub\n\nbut it can be moved into the literal if that makes it more obvious to reviewers.","commit_id":"a2992cdc51bb31f25ba71a91833cd19d885cdcaa"},{"author":{"_account_id":38767,"name":"Wael Halbawi","display_name":"Wael Halbawi","email":"whalbawi@nvidia.com","username":"whalbawi"},"change_message_id":"23ec8cebb44319df7f5d0b21eee887d01ec887fd","unresolved":false,"context_lines":[{"line_number":259,"context_line":"                relinker.DEFAULT_MAX_AUDIT_HISTORY_QUARANTINE_THRESHOLD,"},{"line_number":260,"context_line":"            \u0027clobber_hardlink_collisions\u0027: False,"},{"line_number":261,"context_line":"        }"},{"line_number":262,"context_line":"        expected_conf[\u0027policies\u0027] \u003d {POLICIES[0], POLICIES[2]}"},{"line_number":263,"context_line":"        self.assertEqual([mock.call("},{"line_number":264,"context_line":"            expected_conf, expected_logger, [self.existing_device],"},{"line_number":265,"context_line":"            step\u003drelinker.Step.AUDIT)],"}],"source_content_type":"text/x-python","patch_set":3,"id":"7b958404_10e6c59f","line":262,"in_reply_to":"adb61590_9b354f39","updated":"2026-09-29 16:01:14.000000000","message":"Acknowledged","commit_id":"a2992cdc51bb31f25ba71a91833cd19d885cdcaa"},{"author":{"_account_id":38767,"name":"Wael Halbawi","display_name":"Wael Halbawi","email":"whalbawi@nvidia.com","username":"whalbawi"},"change_message_id":"77d3e9ee391aeaaeb526fa3ba4e4835ee679a3be","unresolved":false,"context_lines":[{"line_number":259,"context_line":"                relinker.DEFAULT_MAX_AUDIT_HISTORY_QUARANTINE_THRESHOLD,"},{"line_number":260,"context_line":"            \u0027clobber_hardlink_collisions\u0027: False,"},{"line_number":261,"context_line":"        }"},{"line_number":262,"context_line":"        expected_conf[\u0027policies\u0027] \u003d {POLICIES[0], POLICIES[2]}"},{"line_number":263,"context_line":"        self.assertEqual([mock.call("},{"line_number":264,"context_line":"            expected_conf, expected_logger, [self.existing_device],"},{"line_number":265,"context_line":"            step\u003drelinker.Step.AUDIT)],"}],"source_content_type":"text/x-python","patch_set":3,"id":"cd215eed_26d12b50","line":262,"in_reply_to":"adb61590_9b354f39","updated":"2026-09-28 17:22:36.000000000","message":"Acknowledged","commit_id":"a2992cdc51bb31f25ba71a91833cd19d885cdcaa"},{"author":{"_account_id":38767,"name":"Wael Halbawi","display_name":"Wael Halbawi","email":"whalbawi@nvidia.com","username":"whalbawi"},"change_message_id":"9ff871b64d4cef63e211c3ca45cb28de8e293686","unresolved":true,"context_lines":[{"line_number":4548,"context_line":""},{"line_number":4549,"context_line":"        # hash_dirs is counted by the process_policy loop, not by"},{"line_number":4550,"context_line":"        # audit_location."},{"line_number":4551,"context_line":"        self.assertEqual(r.stats[\u0027hash_dirs\u0027], 0)"},{"line_number":4552,"context_line":"        self.assertEqual(r.stats[\u0027removed\u0027], 0)"},{"line_number":4553,"context_line":"        self.assertEqual(r.stats[\u0027quarantined\u0027], 1)"},{"line_number":4554,"context_line":"        self.assertEqual(r.stats[\u0027errors\u0027], 1)"}],"source_content_type":"text/x-python","patch_set":3,"id":"47383548_435dae56","line":4551,"updated":"2026-09-22 23:44:51.000000000","message":"This seems like too strong of a negative assertion. If anything we\u0027d have to apply it in all other tests.","commit_id":"a2992cdc51bb31f25ba71a91833cd19d885cdcaa"},{"author":{"_account_id":1179,"name":"Clay Gerrard","email":"clay.gerrard@gmail.com","username":"clay-gerrard"},"change_message_id":"5004a8472687d624f4f47a24013b610fd4c8de15","unresolved":true,"context_lines":[{"line_number":4548,"context_line":""},{"line_number":4549,"context_line":"        # hash_dirs is counted by the process_policy loop, not by"},{"line_number":4550,"context_line":"        # audit_location."},{"line_number":4551,"context_line":"        self.assertEqual(r.stats[\u0027hash_dirs\u0027], 0)"},{"line_number":4552,"context_line":"        self.assertEqual(r.stats[\u0027removed\u0027], 0)"},{"line_number":4553,"context_line":"        self.assertEqual(r.stats[\u0027quarantined\u0027], 1)"},{"line_number":4554,"context_line":"        self.assertEqual(r.stats[\u0027errors\u0027], 1)"}],"source_content_type":"text/x-python","patch_set":3,"id":"9495e0cb_c605c436","line":4551,"in_reply_to":"47383548_435dae56","updated":"2026-09-28 15:08:06.000000000","message":"I found it clarifying to notice that audit location does not update `hash_dirs` - rather than \"simply\" the test forgot to assert on it.\n\nI don\u0027t see anything inherantly wrong with including the same assertion in other tests except that repeating the comment would feel noisy.","commit_id":"a2992cdc51bb31f25ba71a91833cd19d885cdcaa"},{"author":{"_account_id":38767,"name":"Wael Halbawi","display_name":"Wael Halbawi","email":"whalbawi@nvidia.com","username":"whalbawi"},"change_message_id":"77d3e9ee391aeaaeb526fa3ba4e4835ee679a3be","unresolved":false,"context_lines":[{"line_number":4548,"context_line":""},{"line_number":4549,"context_line":"        # hash_dirs is counted by the process_policy loop, not by"},{"line_number":4550,"context_line":"        # audit_location."},{"line_number":4551,"context_line":"        self.assertEqual(r.stats[\u0027hash_dirs\u0027], 0)"},{"line_number":4552,"context_line":"        self.assertEqual(r.stats[\u0027removed\u0027], 0)"},{"line_number":4553,"context_line":"        self.assertEqual(r.stats[\u0027quarantined\u0027], 1)"},{"line_number":4554,"context_line":"        self.assertEqual(r.stats[\u0027errors\u0027], 1)"}],"source_content_type":"text/x-python","patch_set":3,"id":"320371ce_8f913ea8","line":4551,"in_reply_to":"9495e0cb_c605c436","updated":"2026-09-28 17:22:36.000000000","message":"Acknowledged","commit_id":"a2992cdc51bb31f25ba71a91833cd19d885cdcaa"},{"author":{"_account_id":38767,"name":"Wael Halbawi","display_name":"Wael Halbawi","email":"whalbawi@nvidia.com","username":"whalbawi"},"change_message_id":"23ec8cebb44319df7f5d0b21eee887d01ec887fd","unresolved":false,"context_lines":[{"line_number":4548,"context_line":""},{"line_number":4549,"context_line":"        # hash_dirs is counted by the process_policy loop, not by"},{"line_number":4550,"context_line":"        # audit_location."},{"line_number":4551,"context_line":"        self.assertEqual(r.stats[\u0027hash_dirs\u0027], 0)"},{"line_number":4552,"context_line":"        self.assertEqual(r.stats[\u0027removed\u0027], 0)"},{"line_number":4553,"context_line":"        self.assertEqual(r.stats[\u0027quarantined\u0027], 1)"},{"line_number":4554,"context_line":"        self.assertEqual(r.stats[\u0027errors\u0027], 1)"}],"source_content_type":"text/x-python","patch_set":3,"id":"b953d515_f79bc1ec","line":4551,"in_reply_to":"9495e0cb_c605c436","updated":"2026-09-29 16:01:14.000000000","message":"Acknowledged","commit_id":"a2992cdc51bb31f25ba71a91833cd19d885cdcaa"}]}
