Skip to content

armgit / cua

Public Imported from GitHub
0

Scale computer-use 2.0 with open-source drivers, cross-OS sandboxes, and benchmarks for training, evaluation, and data generation.

ci: restore PR 2805 release attribution (#2854)

Francesco Bonacci960a0f707072
diff --git a/.github/release-attribution-config.json b/.github/release-attribution-config.json
index e48f3ebaa3..5f445cfeb5 100644
--- a/.github/release-attribution-config.json
+++ b/.github/release-attribution-config.json
@@ -27,6 +27,7 @@
"[email protected]": "ai-ag2026",
"[email protected]": "madhavajay",
"[email protected]": "enchanted-koala",
+ "[email protected]": "rsyuzyov",
"[email protected]": "sarinali",
"[email protected]": "injaneity",
"[email protected]": "z-x-yang"
diff --git a/.github/scripts/tests/test_release_attribution.py b/.github/scripts/tests/test_release_attribution.py
index e7702cd086..9a78fd6de2 100644
--- a/.github/scripts/tests/test_release_attribution.py
+++ b/.github/scripts/tests/test_release_attribution.py
@@ -517,3 +517,33 @@ def test_unresolved_human_coauthor_fails_closed():
"optOutHandles": [],
},
)
+
+
+def test_pr_2805_coauthor_resolves_through_trusted_identity_override():
+ config = json.loads((REPO_ROOT / ".github/release-attribution-config.json").read_text())
+ commit = CommitRecord(
+ "aebd9962d2686e75ff9e17e0a3735e303ff96981",
+ "fix(cua-driver): stop Windows update --apply from killing itself (#2805)",
+ "Co-authored-by: Roman Syuzyov <[email protected]>",
+ )
+ pull = {
+ "user": {"login": "rsyuzyov"},
+ "author_association": "CONTRIBUTOR",
+ "body": "",
+ "labels": [],
+ }
+
+ contributors, issues, visual_requested = _change_contributors(
+ pull,
+ commit,
+ FakeGitHub(commit.sha),
+ "trycua/cua",
+ config,
+ )
+
+ assert contributors == [
+ {"login": "rsyuzyov", "role": "author", "external": True},
+ {"login": "rsyuzyov", "role": "coauthor", "external": True},
+ ]
+ assert issues == []
+ assert visual_requested is False