diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index fbcdf04999..8149338aca 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -150,3 +150,5 @@ /plugins/dotnet11/skills/system-text-json-net11/ @dotnet/skills-csharp-language-reviewers /tests/dotnet11/system-text-json-net11/ @dotnet/skills-csharp-language-reviewers +/plugins/dotnet11/skills/lightweight-telemetry/ @dotnet/skills-csharp-language-reviewers +/tests/dotnet11/lightweight-telemetry/ @dotnet/skills-csharp-language-reviewers diff --git a/README.md b/README.md index 78c47fd0f3..e6600c3e5f 100644 --- a/README.md +++ b/README.md @@ -149,6 +149,11 @@ $ skill-installer install https://github.com/dotnet/skills/tree/main/plugins/ +- Agent Skills standard: + ## License See [LICENSE](LICENSE) for details. diff --git a/eng/evaluation/test_token_failover.py b/eng/evaluation/test_token_failover.py index e33cfe649b..474948e8b9 100644 --- a/eng/evaluation/test_token_failover.py +++ b/eng/evaluation/test_token_failover.py @@ -10,6 +10,7 @@ import tempfile import textwrap import unittest +from datetime import date, timedelta from pathlib import Path try: @@ -170,7 +171,7 @@ def run_groom_publisher_without_rows( test_case: unittest.TestCase, *, include_active_finding: bool = True, - correlation_date: str = "2026-09-16", + correlation_date: str | None = None, row_status: str = "🔄 Dispatched", result_text: str = "[pending](https://github.com/dotnet/skills/actions/runs/123)", change_body_on_recheck: bool = False, @@ -180,6 +181,13 @@ def run_groom_publisher_without_rows( test_case.skipTest("Node.js is required for publisher behavior tests") finding_id = "pipeline:evaluation:evaluate:test:failure" + # Default to a correlation that is still inside the 14-day retention + # window. A hard-coded date silently expires once real time passes it, + # which made the "resolved but dispatched" fixture drop its row. + if correlation_date is None: + correlation_date = ( + date.today() - timedelta(days=1) + ).isoformat() correlation = f"hc-{correlation_date}-123-1" finding = { "fingerprint": finding_id, @@ -187,7 +195,7 @@ def run_groom_publisher_without_rows( "severity": "critical", "category": "pipeline", "url": "https://github.com/dotnet/skills/actions/runs/123", - "first_seen": "2026-09-16", + "first_seen": correlation_date, "occurrences": 1, } encoded_finding = "pipeline%3Aevaluation%3Aevaluate%3Atest%3Afailure" @@ -199,7 +207,7 @@ def run_groom_publisher_without_rows( f"#investigation-fingerprint:{encoded_finding}) " "[](https://github.com/dotnet/skills/issues/695" f"#investigation-correlation:{correlation}) Evaluation failed | " - f"🔴 critical | {row_status} | 2026-09-16 | " + f"🔴 critical | {row_status} | {correlation_date} | " f"{result_text} |\n\n" "