import { DOMParser } from "./dom-parser.ts"; import { assert, assertObjectMatch } from "@std/assert"; import { FeedItem, parseRSSFeed } from "./rss-utils.ts"; const xml = ` tag:www.githubstatus.com,2005:/history GitHub Status - Incident History 2025-10-21T20:25:22Z GitHub tag:www.githubstatus.com,2005:Incident/26837586 2025-10-21T17:39:34Z 2025-10-21T17:39:34Z Disruption with some GitHub services <p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>17:39</var> UTC</small><br><strong>Resolved</strong> - This incident has been resolved. Thank you for your patience and understanding as we addressed this issue. A detailed root cause analysis will be shared as soon as it is available.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>17:18</var> UTC</small><br><strong>Update</strong> - Mitigation continues, the impact is limited to Enterprise Cloud customers who have configured SAML at the organization level.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>17:11</var> UTC</small><br><strong>Update</strong> - We continuing to work on mitigation of this issue.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>16:33</var> UTC</small><br><strong>Update</strong> - We’ve identified the issue affecting some users with SAML/OIDC authentication and are actively working on mitigation. Some users may not be able to authenticate during this time.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>16:03</var> UTC</small><br><strong>Update</strong> - We're seeing issues for a small amount of customers with SAML/OIDC authentication for GitHub.com users. We are investigating.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>16:00</var> UTC</small><br><strong>Investigating</strong> - We are currently investigating this issue.</p> tag:www.githubstatus.com,2005:Incident/26833707 2025-10-21T12:28:19Z 2025-10-21T12:28:19Z Incident with Actions <p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>12:28</var> UTC</small><br><strong>Resolved</strong> - This incident has been resolved. Thank you for your patience and understanding as we addressed this issue. A detailed root cause analysis will be shared as soon as it is available.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>11:59</var> UTC</small><br><strong>Update</strong> - We were able to apply a mitigation and we are now seeing recovery.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>11:37</var> UTC</small><br><strong>Update</strong> - We are seeing about 10% of Actions runs taking longer than 5 minutes to start, we're still investigating and will provide an update by 12:00 UTC.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>09:59</var> UTC</small><br><strong>Update</strong> - We are still seeing delays in starting some Actions runs and are currently investigating. We will provide updates as we have more information.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>09:25</var> UTC</small><br><strong>Update</strong> - We are seeing delays in starting some Actions runs and are currently investigating.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>09:12</var> UTC</small><br><strong>Investigating</strong> - We are investigating reports of degraded performance for Actions</p> tag:www.githubstatus.com,2005:Incident/26820913 2025-10-20T16:40:02Z 2025-10-21T20:25:22Z Disruption with Grok Code Fast 1 in Copilot <p><small>Oct <var data-var='date'>20</var>, <var data-var='time'>16:40</var> UTC</small><br><strong>Resolved</strong> - From October 20th at 14:10 UTC until 16:40 UTC, the Copilot service experienced degradation due to an infrastructure issue which impacted the Grok Code Fast 1 model, leading to a spike in errors affecting 30% of users. No other models were impacted. The incident was caused due to an outage with an upstream provider.</p><p><small>Oct <var data-var='date'>20</var>, <var data-var='time'>16:39</var> UTC</small><br><strong>Update</strong> - The issues with our upstream model provider continue to improve, and Grok Code Fast 1 is once again stable in Copilot Chat, VS Code and other Copilot products.</p><p><small>Oct <var data-var='date'>20</var>, <var data-var='time'>16:07</var> UTC</small><br><strong>Update</strong> - We are continuing to work with our provider on resolving the incident with Grok Code Fast 1 which is impacting 6% of users. We’ve been informed they are implementing fixes but users can expect some requests to intermittently fail until all issues are resolved.<br /></p><p><small>Oct <var data-var='date'>20</var>, <var data-var='time'>14:47</var> UTC</small><br><strong>Update</strong> - We are experiencing degraded availability for the Grok Code Fast 1 model in Copilot Chat, VS Code and other Copilot products. This is due to an issue with an upstream model provider. We are working with them to resolve the issue.<br /><br />Other models are available and working as expected.</p><p><small>Oct <var data-var='date'>20</var>, <var data-var='time'>14:46</var> UTC</small><br><strong>Investigating</strong> - We are investigating reports of degraded performance for Copilot</p> `; Deno.test("DOMParser/XML", () => { const parser = new DOMParser(); const doc = parser.parseFromString(xml, "text/xml"); const entries = doc.getElementsByTagName("entry"); assert(entries.length === 3, "Got 3 entries"); const entry = entries[0]!; assert( entry.getElementsByTagName("link")[0]!.getAttribute("rel") === "alternate", "Get attribute from element", ); assert( entry.getElementsByTagName("title")[0]!.innerHTML === "Disruption with some GitHub services", "Get innerHTML", ); assert( entry.getElementsByTagName("title")[0]!.textContent === "Disruption with some GitHub services", "Get textContent", ); }); Deno.test("parseRSSFeed()", () => { const entries = parseRSSFeed( xml, 5, new Set(["tag:www.githubstatus.com,2005:Incident/26833707"]), ); assert( entries.length === 2, "Expecting 2 entries after filtering one existing", ); assertObjectMatch(entries[0], { author: "", id: "tag:www.githubstatus.com,2005:Incident/26837586", pubDate: "2025-10-21T17:39:34Z", title: "Disruption with some GitHub services", link: "https://www.githubstatus.com/incidents/v61nk2fpysnq", content: "<p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>17:39</var> UTC</small><br><strong>Resolved</strong> - This incident has been resolved. Thank you for your patience and understanding as we addressed this issue. A detailed root cause analysis will be shared as soon as it is available.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>17:18</var> UTC</small><br><strong>Update</strong> - Mitigation continues, the impact is limited to Enterprise Cloud customers who have configured SAML at the organization level.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>17:11</var> UTC</small><br><strong>Update</strong> - We continuing to work on mitigation of this issue.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>16:33</var> UTC</small><br><strong>Update</strong> - We’ve identified the issue affecting some users with SAML/OIDC authentication and are actively working on mitigation. Some users may not be able to authenticate during this time.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>16:03</var> UTC</small><br><strong>Update</strong> - We're seeing issues for a small amount of customers with SAML/OIDC authentication for GitHub.com users. We are investigating.</p><p><small>Oct <var data-var='date'>21</var>, <var data-var='time'>16:00</var> UTC</small><br><strong>Investigating</strong> - We are currently investigating this issue.</p>", } as FeedItem); });