Skip to content

Instantly share code, notes, and snippets.

View danmoseley's full-sized avatar
:shipit:

Dan Moseley danmoseley

:shipit:
  • Microsoft
  • Jackson, WY
  • 23:27 (UTC -06:00)
View GitHub Profile
@danmoseley
danmoseley / build_analysis.md
Last active March 22, 2026 06:14
dotnet/runtime Known Build Errors Analysis (2026-03-22)

dotnet/runtime Known Build Errors Analysis

Generated: 2026-03-22 | Total open issues: 201

Summary

Status Count
Investigated, no fix 123
Uninvestigated 32
@danmoseley
danmoseley / analyze_dual_score.py
Last active March 15, 2026 02:38
PR Readiness Score: Empirical Weight Calibration (980 PRs, 11 dotnet repos)
"""
Dual-score analysis with linked issue data.
Score 1: Closeness to Merge (PR mechanical state)
Score 2: Deserves Attention (impact + urgency + effort-at-risk)
"""
import json
import numpy as np
import pandas as pd
import statsmodels.api as sm
@danmoseley
danmoseley / gcinvestigation.md
Created March 14, 2026 15:04
Memory leak investigation: VS Code C# Dev Kit ServiceHost consuming 20GB

Memory Leak Investigation: VS Code C# Dev Kit Service Host (19.3 GB)

Dump file: %TEMP%\Microsoft.VisualStudio.Code.ServiceHost.DMP Date: 2026-03-14 Workspace: C:\git\runtime (dotnet/runtime repository) CLR version: .NET 11.0.26.10518 (CoreCLR) GC mode: Server GC

Executive Summary

@danmoseley
danmoseley / nrt-experiment-results.md
Last active March 11, 2026 17:54
NRT Migration A/B Experiment: Copilot with vs without migrate-nullable-references skill

NRT Migration Skill Experiment

How much does a Copilot skill help with C# nullable reference type migration — and which parts of the skill actually matter?

Setup

Codebase: System.Diagnostics.EventLog from dotnet/runtime, extracted as a standalone buildable project targeting net10.0-windows.

@danmoseley
danmoseley / stj-ai-issue-resolution-plan.md
Last active March 7, 2026 06:37
AI-Driven Issue Resolution for System.Text.Json: Strategic Analysis & Plan

AI-Driven Issue Resolution for System.Text.Json: Strategic Analysis & Plan

The Landscape (262 open issues)

Category Count Notes
Bugs 30 Core correctness issues
Enhancements 55 Behavior improvements, not new API
API Suggestions 76 Need API review process
API Approved 6 Ready to implement
@danmoseley
danmoseley / dotnet-nonbacktracking-regex-engine-guide.md
Created March 6, 2026 06:07
The .NET NonBacktracking Regex Engine: A Deep Dive

The .NET NonBacktracking Regex Engine: A Deep Dive

Audience: You understand regex patterns and how the standard backtracking engine works (try branches, backtrack on failure). This guide explains everything else from scratch.


Table of Contents

  1. The Big Idea: Why a Different Engine?
@danmoseley
danmoseley / gist-aspire.md
Last active February 28, 2026 09:11
Top 10 actionable PRs — dotnet/aspire

Top 10 Actionable PRs — dotnet/aspire

Generated 2026-02-28 by pr-triage skill

Note: "Who" shows "—" for most PRs because dotnet/aspire has no docs/area-owners.md.

Score PR Title Who Next Action CI Author Why
8.2 #14409 Increase az aks update timeout from 3 to 5 minutes in AKS E2E tests Maintainer: review needed @mitchdenny ✅ CI passed · 👍 approved (non-owner) · 📦 small change
8 #11706 Fix UpdateConfig property types for Docker Compose serialization Maintainer: review needed @app/copilot-swe-agent ✅ CI passed · 👍 approved (non-owner) · 📦 small change · 🕰️ old (152d)
@danmoseley
danmoseley / gist-net.md
Last active February 28, 2026 09:21
area-System.Net PR triage — dotnet/runtime

area-System.Net PR Triage — dotnet/runtime

Generated 2026-02-28 by pr-triage skill

Score PR Title Who Next Action CI Author Why
7.9 #124424 Fix Ping RoundtripTime returning 0 for TtlExpired replies @karelz Maintainer: review needed @🌐lufen ✅ CI passed · 👍 approved (non-owner) · 🌐 community · 📦 small change
7.1 #123662 [release/8.0-staging] Deny unmasked frame receive for WebSocket Server @liveans Author: fix CI failures @liveans ❌ CI failing · 👍 owner approved · 📦 small change · ⏳ stale (25d)
6.5 #123360 Align HttpListener.GetContext() exception across platforms for Stop/Ab @wfurt Author: respond to 3 thread(s) from @stephentoub, @rzikm @app/copilot-swe-ag
@danmoseley
danmoseley / gist-codegen.md
Last active February 28, 2026 09:21
area-CodeGen-coreclr PR triage — dotnet/runtime

area-CodeGen-coreclr PR Triage — dotnet/runtime

Generated 2026-02-28 by pr-triage skill

Score PR Title Who Next Action CI Author Why
7.7 #124880 [Wasm RyuJit] annotate (some) local accesses with var nums @AndyAyersMS Author: respond to 2 thread(s) from @SingleAccretion @AndyAyersMS ✅ CI passed · 👍 approved (non-owner) · 💬 2 unresolved · 📦 small change
7.4 #123546 arm64: Remove widening casts before truncating @JulieLeeMSFT Maintainer: review needed @🌐jonathandavies-arm ✅ CI passed · 👍 approved (non-owner) · 🌐 community · 📦 large (3 files, 724 lines)
7.3 #122533 Fix #74020: Optimize consecutive shifts in JIT Morph @csa7mdm Author: respond to 7 thread(s) from @Ego
@danmoseley
danmoseley / copilot-instructions.md
Last active February 23, 2026 21:02
dotnet/runtime copilot-instructions.md

NEVER post comments to GitHub PRs or issues (via gh, API, or any other mechanism) without first showing the exact text to the user and getting explicit approval.

NEVER push to a remote without explicit approval. Prefer new commits over amending (exceptions: asked to amend, or minor fix to an unpushed broken commit). Never squash or force-push unless explicitly told.

When creating PR/issue comments or descriptions containing non-ASCII characters (em-dashes, μ, etc.), write the content to a temp file with the create tool and use --body-file to avoid UTF-8/codepage corruption on Windows. Use | entity for literal | inside markdown table cells. Avoid PowerShell expandable strings (@"..."@) for markdown with backticks; use literal here-strings (@'...'@).