Skip to content

Instantly share code, notes, and snippets.

@ParkerRex
Created July 1, 2026 18:27
Show Gist options
  • Select an option

  • Save ParkerRex/4abc6546ad1d7c0ae293a1b1be89a807 to your computer and use it in GitHub Desktop.

Select an option

Save ParkerRex/4abc6546ad1d7c0ae293a1b1be89a807 to your computer and use it in GitHub Desktop.
Worker #677 flow diagram
Display the source blob
Display the rendered blob
Raw
<svg xmlns="http://www.w3.org/2000/svg" width="1180" height="780" viewBox="0 0 1180 780" role="img" aria-labelledby="title desc">
<title id="title">Worker issue 677 managed gateway and rented-era compatibility cleanup flow</title>
<desc id="desc">Flow diagram showing current managed gateway request paths, removable app aliases, durable queue and billing compatibility classifications.</desc>
<defs>
<marker id="arrow" markerWidth="12" markerHeight="12" refX="10" refY="6" orient="auto" markerUnits="strokeWidth">
<path d="M2,2 L10,6 L2,10 Z" fill="#243447" />
</marker>
<style>
.title { font: 700 24px Arial, sans-serif; fill: #111827; }
.lane { font: 700 17px Arial, sans-serif; fill: #1f2937; }
.box { fill: #f8fafc; stroke: #334155; stroke-width: 2; rx: 8; }
.ok { fill: #ecfdf5; stroke: #047857; stroke-width: 2; rx: 8; }
.warn { fill: #fff7ed; stroke: #9a3412; stroke-width: 2; rx: 8; }
.remove { fill: #fef2f2; stroke: #b91c1c; stroke-width: 2; rx: 8; }
.text { font: 15px Arial, sans-serif; fill: #111827; }
.small { font: 13px Arial, sans-serif; fill: #374151; }
.line { fill: none; stroke: #243447; stroke-width: 2.2; marker-end: url(#arrow); }
.label { font: 13px Arial, sans-serif; fill: #374151; }
</style>
</defs>
<rect x="0" y="0" width="1180" height="780" fill="#ffffff" />
<text x="40" y="48" class="title">Issue 677: Managed Gateway Cleanup And Compatibility Classification</text>
<text x="70" y="94" class="lane">Gateway model-access request</text>
<rect x="60" y="115" width="250" height="74" class="box" />
<text x="84" y="144" class="text">Gateway request selects</text>
<text x="84" y="166" class="small">codex, BYOK, or managed mode</text>
<rect x="360" y="115" width="250" height="74" class="ok" />
<text x="386" y="144" class="text">Current managed config</text>
<text x="386" y="166" class="small">managedProviders only</text>
<rect x="660" y="115" width="250" height="74" class="remove" />
<text x="686" y="144" class="text">Remove app aliases</text>
<text x="686" y="166" class="small">rented mode, rentableProviders</text>
<rect x="250" y="245" width="290" height="74" class="ok" />
<text x="274" y="274" class="text">Managed spend and billing policy</text>
<text x="274" y="296" class="small">current managed terminology only</text>
<path d="M310 152 H360" class="line" />
<path d="M610 152 H660" class="line" />
<path d="M485 189 V245" class="line" />
<text x="70" y="382" class="lane">Managed run queue and function boundary</text>
<rect x="60" y="405" width="270" height="74" class="ok" />
<text x="84" y="434" class="text">Current producer emits</text>
<text x="84" y="456" class="small">worker.run.managed payloads</text>
<rect x="385" y="405" width="270" height="74" class="ok" />
<text x="409" y="434" class="text">ManagedRunQueue handler</text>
<text x="409" y="456" class="small">uses managed signing secret first</text>
<rect x="710" y="405" width="310" height="74" class="warn" />
<text x="734" y="434" class="text">Classify deployed aliases</text>
<text x="734" y="456" class="small">RentedRunQueue and old secret names</text>
<rect x="385" y="545" width="270" height="74" class="remove" />
<text x="409" y="574" class="text">Remove function dependency aliases</text>
<text x="409" y="596" class="small">rentedRunEnqueuer/default fallbacks</text>
<path d="M330 442 H385" class="line" />
<path d="M655 442 H710" class="line" />
<path d="M520 479 V545" class="line" />
<text x="70" y="675" class="lane">Billing and historical data</text>
<rect x="300" y="640" width="300" height="74" class="warn" />
<text x="324" y="669" class="text">Classify historical ledger rows</text>
<text x="324" y="691" class="small">old rented mode or run-cost linkage</text>
<rect x="690" y="640" width="330" height="74" class="ok" />
<text x="714" y="669" class="text">Current usage reports managed billing</text>
<text x="714" y="691" class="small">migration or proof required before removal</text>
<path d="M865 479 C865 560 600 570 450 640" class="line" />
<path d="M600 677 H690" class="line" />
<text x="40" y="758" class="small">Rendered for https://github.com/ParkerRex/worker/issues/677. Removable aliases are app/function naming only; durable queue/env/billing compatibility requires owner and removal proof.</text>
</svg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment