Skip to content

Instantly share code, notes, and snippets.

View mattleibow's full-sized avatar
🏠
Working from home

Matthew Leibowitz mattleibow

🏠
Working from home
View GitHub Profile
@mattleibow
mattleibow / 3420.md
Created April 18, 2026 00:07
Issue Triage Report #3420 - layout test

Issue Triage Report — #3420

Field Value
Repository mono/SkiaSharp
Analyzed 2026-04-17T22:14:05Z
Type type/bug (0.85 (85%))
Area area/libSkiaSharp.native (0.95 (95%))
Suggested action close-as-fixed (0.90 (90%))
@mattleibow
mattleibow / session-autopsy-eb20c4eb.md
Last active April 8, 2026 20:49
Session autopsy: Copilot CLI review of dotnet/maui PR #30056 session

Session Autopsy: PR #30056 / #34870 / #34883 Review

Session ID: eb20c4eb-eede-4388-b913-bebf4cd3e820 Timeline: Apr 7 16:48 → Apr 8 20:41 UTC (~30 hours, 38 turns) Repo: dotnet/maui — Windows OAuth WebAuthenticator + App Activation Lifecycle


The Critical Failures

@mattleibow
mattleibow / NewStreamTests.cs
Created March 27, 2026 23:13
Review feedback for mono/SkiaSharp PR #3560 — SKManagedStream native duplication + 8 new tests
// Suggested additional tests for SKManagedStreamTest.cs
// 8 tests covering gaps not present in SKCodecTest, SKTypefaceTest, etc.
// All verified passing on macOS arm64 with m132 native build.
[SkippableFact]
public void CodecCanDecodeFromManagedStreamAfterDuplicate()
{
var bytes = File.ReadAllBytes(Path.Combine(PathToImages, "color-wheel.png"));
var dotnet = new MemoryStream(bytes);
using var stream = new SKManagedStream(dotnet);
@mattleibow
mattleibow / 173.html
Created March 25, 2026 23:44
Skia PR #173 Review — chrome/m119 → chrome/m120
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Skia Review — PR #173 (m120)</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/diff2html/bundles/css/diff2html.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/styles/github.min.css">
@mattleibow
mattleibow / 171.html
Created March 25, 2026 23:44
Skia PR #171 Review — chrome/m119 → chrome/m132
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Skia Review — PR #171 (m132)</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/diff2html/bundles/css/diff2html.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/styles/github.min.css">
@mattleibow
mattleibow / 170.html
Created March 25, 2026 23:44
Skia PR #170 Review — chrome/m119 → chrome/m122
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Skia Review — PR #170 (m122)</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/diff2html/bundles/css/diff2html.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/styles/github.min.css">
@mattleibow
mattleibow / plan.md
Last active March 23, 2026 17:58
Plan: Make dotnet run work for MSIX-packaged MAUI apps

Plan: Make dotnet run Work for MSIX-Packaged MAUI Apps

Problem Statement

dotnet run fails for MAUI apps with WindowsPackageType=MSIX. The build succeeds, but the SDK launches the EXE directly (unpackaged), causing REGDB_E_CLASSNOTREG because the Windows App SDK auto-initializer needs a packaged identity context. Visual Studio handles this via internal AppxLayoutManager.RegisterPackage() + IApplicationActivationManager.ActivateApplication() COM calls, but the CLI has no equivalent.

The .NET SDK now has an extensibility spec (dotnet-run-for-maui) that defines three MSBuild hook points:

  1. DeployToDevice — deploy/register step (runs even with --no-build)
  2. ComputeRunArguments — sets $(RunCommand) / $(RunArguments) for launch
  3. ComputeAvailableDevices — device selection (not needed for Windows local)
@mattleibow
mattleibow / review-skia-update-eval.html
Last active March 20, 2026 23:33
review-skia-update skill eval results (PR #170)
This file has been truncated, but you can view the full file.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eval Review</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&family=Lora:wght@400;500&display=swap" rel="stylesheet">
<script src="https://cdn.sheetjs.com/xlsx-0.20.3/package/dist/xlsx.full.min.js" integrity="sha384-EnyY0/GSHQGSxSgMwaIPzSESbqoOLSexfnSMN2AP+39Ckmn92stwABZynq1JyzdT" crossorigin="anonymous"></script>
@mattleibow
mattleibow / SKILL.md
Last active March 3, 2026 14:08
PR Monitor skill - autonomous PR comment monitoring and response agent for Copilot CLI
name pr-monitor
description Autonomous PR comment monitoring and response agent. Use this skill when the user asks to monitor a GitHub pull request or issue for comments, respond to reviewer feedback, address code review comments, or watch for new PR activity. Triggers on requests like "monitor PR comments", "watch for review feedback", "respond to PR reviews", "address reviewer comments on my PR", or "keep an eye on this PR".
using System;
using System.Runtime.Versioning;
using CoreAnimation;
using Foundation;
using Microsoft.Maui.Handlers;
using SkiaSharp.Views.iOS;
using SkiaSharp.Views.Maui.Platform;
using UIKit;
namespace SkiaSharp.Views.Maui.Handlers