From 2d8583c69346d5cc394367b598f24cc03076e47a Mon Sep 17 00:00:00 2001 From: Nubenetes Bot Date: Thu, 18 Jun 2026 09:27:06 +0000 Subject: [PATCH 1/2] docs: automated README metric synchronization [skip ci] --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a6893a6c..94dd0248 100644 --- a/README.md +++ b/README.md @@ -141,7 +141,7 @@ Additionally, as of May 2026, Nubenetes has reached the **Platinum Operational T | :--- | :--- | | **Total Technical Resources (Links)** | **18639+** | | **Specialized MD Pages** | **162** | -| **Total Commits** | **5927+** | +| **Total Commits** | **5929+** | | **Primary AI Engine** | **Google Gemini (Agentic)** | @@ -179,7 +179,7 @@ The growth of Nubenetes reflects the acceleration of the Cloud Native ecosystem. | 6 | 2023 | 30 | 123 | Maintenance & Refinement | | 7 | 2024 | 53 | 218 | Curation Strategy Pivot | | 8 | 2025 | 5 | 20 | Stability & Research Phase | -| 9 | 2026 | 2368 | 9,779 | **Agentic AI Surge** (May 2026 Inception) | +| 9 | 2026 | 2370 | 9,788 | **Agentic AI Surge** (May 2026 Inception) | @@ -195,8 +195,8 @@ xychart-beta title "Nubenetes Annual Growth Metrics (2018–2026)" x-axis ["2018", "2019", "2020", "2021", "2022", "2023", "2024", "2025", "2026"] y-axis "Volume (Commits / Estimated New Refs)" 0 --> 10000 - bar [1445, 586, 8449, 2193, 1660, 123, 218, 20, 9779] - bar [350, 142, 2046, 531, 402, 30, 53, 5, 2368] + bar [1445, 586, 8449, 2193, 1660, 123, 218, 20, 9788] + bar [350, 142, 2046, 531, 402, 30, 53, 5, 2370] ``` @@ -206,7 +206,7 @@ xychart-beta | :--- | :---: | :---: | :--- | | 2026-04 | 25 | 103 | Active Curation | | 2026-05 | 2101 | 8,677 | **Agentic Inception (Gemini Era)** | -| 2026-06 | 242 | 999 | Active Curation | +| 2026-06 | 244 | 1,007 | Active Curation | ### 2.4. Content Distribution and Semantic Clustering From afdca6fe126f64219a147d5b7e2d0be7634fb3bd Mon Sep 17 00:00:00 2001 From: Nubenetes Bot Date: Thu, 18 Jun 2026 11:30:34 +0200 Subject: [PATCH 2/2] fix(presubmit): fix git diff retrieval and fallback logic in PR Guardian --- src/pr_guardian.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/src/pr_guardian.py b/src/pr_guardian.py index 1bbebe0f..d3a6c24f 100644 --- a/src/pr_guardian.py +++ b/src/pr_guardian.py @@ -100,13 +100,21 @@ def main(): print(f"Warning: Failed to fetch files for auto-formatting: {e}") # Fetch base branch and get the updated diff (with auto-fixes applied) + diff_text = "" try: - subprocess.run(["git", "fetch", "origin", pr.base.ref, "--depth=1"], capture_output=True) - diff_process = subprocess.run(["git", "diff", f"origin/{pr.base.ref}"], capture_output=True, text=True) + subprocess.run(["git", "fetch", "origin", pr.base.ref, "--depth=1"], capture_output=True, check=True) + diff_process = subprocess.run(["git", "diff", f"origin/{pr.base.ref}"], capture_output=True, text=True, check=True) diff_text = diff_process.stdout except Exception as e: - print(f"Warning: Failed to get git diff locally: {e}. Falling back to GitHub PR diff.") - diff_text = httpx.get(pr.diff_url).text + print(f"Warning: Failed to get git diff locally: {e}.") + + if not diff_text.strip(): + print("Diff is empty locally, falling back to GitHub PR diff.") + try: + # Mandate: URL Expansion & Normalization: Use follow_redirects=True for httpx + diff_text = httpx.get(pr.diff_url, follow_redirects=True).text + except Exception as e: + print(f"Failed to fetch GitHub PR diff: {e}") # Skip if too huge or not markdown if len(diff_text) > 100000: