You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tooling.apache.org by sb...@apache.org on 2026/08/28 16:30:12 UTC

(tooling-trusted-releases) branch sbp updated (7903e44b -> 25efe818)

This is an automated email from the ASF dual-hosted git repository.

sbp pushed a change to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


    from 7903e44b Remove the code to temporarily disallow votes to be started
     add a189c076 #1536 - update tooling actions SHA pin
     add 021115de #1538 - add ASF menu to catalog pages
     add 23660cc0 Show active tasks regardless of filter
     add d859091f Remove now-redundant project cache
     add 439cb488 #1532 - add key sync from SVN
     add 3b43cd70 Remove space typo
     new 25efe818 Temporarily inactivate the presentations vote resolution bypass

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 atr/admin/__init__.py                             |   6 +-
 atr/cache.py                                      |  62 ---------
 atr/catalog_site.py                               |  37 ++++-
 atr/datasources/apache.py                         |  14 ++
 atr/db/__init__.py                                |   6 +-
 atr/db/interaction.py                             |  24 +++-
 atr/get/committees.py                             |  58 ++++----
 atr/get/keys.py                                   |  50 ++++---
 atr/get/upload.py                                 |   2 +-
 atr/models/args.py                                |   7 +
 atr/models/sql.py                                 |  22 ++-
 atr/post/keys.py                                  |  28 ++--
 atr/server.py                                     |   6 +-
 atr/shared/keys.py                                |  18 ++-
 atr/storage/__init__.py                           |  13 ++
 atr/storage/datatypes.py                          |  13 ++
 atr/storage/writers/keys.py                       | 159 +++++++++++++++++++++-
 atr/svn/catalog.py                                |   3 +-
 atr/svn/commits.py                                |   2 +
 atr/svn/dist.py                                   |   4 +
 atr/svn/keys_reflect.py                           | 134 ++++++++++++++++++
 atr/tasks/__init__.py                             |  47 +++++++
 atr/tasks/keys.py                                 |   8 ++
 atr/templates/catalog_site/catalog_site_base.html |  19 ++-
 atr/templates/committee-view.html                 |  33 +++--
 atr/templates/includes/asf-menu.html              |  33 +++++
 atr/templates/includes/topnav.html                |  34 +----
 migrations/versions/0123_2026.08.27_853c7eed.py   |  72 ++++++++++
 scripts/keys_import.py                            |   2 +-
 scripts/keys_rehome.py                            |   4 +-
 tests/unit/test_keys_delete.py                    |   3 +-
 tests/unit/test_keys_reflect.py                   |  93 +++++++++++++
 tests/unit/test_keys_rehome.py                    |   3 +-
 tests/unit/test_keys_writer.py                    |  27 ++--
 tests/unit/test_vote_resolution.py                |   4 +-
 35 files changed, 833 insertions(+), 217 deletions(-)
 create mode 100644 atr/svn/keys_reflect.py
 create mode 100644 atr/templates/includes/asf-menu.html
 create mode 100644 migrations/versions/0123_2026.08.27_853c7eed.py
 create mode 100644 tests/unit/test_keys_reflect.py


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org


(tooling-trusted-releases) 01/01: Temporarily inactivate the presentations vote resolution bypass

Posted by sb...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch sbp
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git

commit 25efe81851e46c1f9053f8b19138e7f1dbee8255
Author: Sean B. Palmer <se...@miscoranda.com>
AuthorDate: Fri Aug 28 17:29:08 2026 +0100

    Temporarily inactivate the presentations vote resolution bypass
---
 atr/db/interaction.py              | 4 +++-
 tests/unit/test_vote_resolution.py | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/atr/db/interaction.py b/atr/db/interaction.py
index 3e0cdbad..67f7baba 100644
--- a/atr/db/interaction.py
+++ b/atr/db/interaction.py
@@ -53,7 +53,9 @@ _ATR_DEV_VOTE_RESOLUTION_BYPASS_HOST: Final[str] = "tooling-vm-ec2-de.apache.org
 # audit_guidance required actor for ATR distribution workflows; must not be used for project TP workflows.
 _GITHUB_TRUSTED_ROLE_NID: Final[int] = 254436773
 _NO_EXPECTED_VOTE_ROUND: Final[object] = object()
-_PRODUCTION_VOTE_RESOLUTION_BYPASS_PROJECT_KEYS: Final[frozenset[str]] = frozenset({"tooling-presentations"})
+# The tooling-presentations bypass is inactive, pending us making this admin switchable with audit logging
+# _PRODUCTION_VOTE_RESOLUTION_BYPASS_PROJECT_KEYS: Final[frozenset[str]] = frozenset({"tooling-presentations"})
+_PRODUCTION_VOTE_RESOLUTION_BYPASS_PROJECT_KEYS: Final[frozenset[str]] = frozenset()
 _TOOLING_COMMITTEE_KEY: Final[str] = "tooling"
 
 
diff --git a/tests/unit/test_vote_resolution.py b/tests/unit/test_vote_resolution.py
index 8cb2fc92..a837882d 100644
--- a/tests/unit/test_vote_resolution.py
+++ b/tests/unit/test_vote_resolution.py
@@ -557,6 +557,7 @@ async def test_resolve_allows_cancelled_before_vote_end(monkeypatch: pytest.Monk
     assert success == "Vote marked as cancelled"
 
 
+@pytest.mark.skip(reason="The production bypass is temporarily disabled")
 @pytest.mark.parametrize("vote_result", ["failed", "passed"])
 @pytest.mark.asyncio
 async def test_resolve_allows_early_result_for_production_bypass_project(
@@ -1014,6 +1015,7 @@ def test_trusted_email_context_labels_avoid_authoritative_terms() -> None:
     assert "Formal" not in {row.status_label for row in rows}
 
 
+@pytest.mark.skip(reason="The production bypass is temporarily disabled")
 @pytest.mark.asyncio
 async def test_trusted_resolve_allows_insufficient_votes_with_bypass(monkeypatch: pytest.MonkeyPatch) -> None:
     data = _mock_data()
@@ -1318,7 +1320,7 @@ def test_vote_pass_fail_allowed_returns_true_after_vote_end() -> None:
         ("tooling-vm-ec2-de.apache.org", True, True, "other", "tooling", False),
         ("tooling-vm-ec2-de.apache.org", False, False, "tooling", "tooling", False),
         ("release-test.apache.org", True, True, "tooling", "tooling", False),
-        ("release-test.apache.org", True, False, "tooling", "tooling-presentations", True),
+        ("release-test.apache.org", True, False, "tooling", "tooling-presentations", False),
         ("127.0.0.1", False, False, "other", "project", True),
         ("127.0.0.1", True, True, "tooling", "tooling", False),
     ],


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tooling.apache.org
For additional commands, e-mail: commits-help@tooling.apache.org