<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Irina Zhuravleva on Medium]]></title>
        <description><![CDATA[Stories by Irina Zhuravleva on Medium]]></description>
        <link>https://medium.com/@iravizion?source=rss-81e4f6b0af60------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*cYedWOjNnEfIJ2eG</url>
            <title>Stories by Irina Zhuravleva on Medium</title>
            <link>https://medium.com/@iravizion?source=rss-81e4f6b0af60------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 10:58:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iravizion/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What Can QA Engineers Learn from APT28 Attacks to Strengthen Web Application Security?]]></title>
            <link>https://medium.com/@iravizion/what-can-qa-engineers-learn-from-apt28-attacks-to-strengthen-web-application-security-eea9bf4aec1c?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/eea9bf4aec1c</guid>
            <category><![CDATA[penetration-testing]]></category>
            <category><![CDATA[cybersecurity]]></category>
            <category><![CDATA[qa]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[web-security]]></category>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Thu, 22 Oct 2026 12:58:19 GMT</pubDate>
            <atom:updated>2026-10-22T12:58:19.194Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Lessons from a real-world cyber espionage campaign and how software testers can turn threat intelligence into practical security testing.</em></p><h3>Introduction</h3><p>Cybersecurity is no longer just about checking whether a login form works correctly or whether a website returns the expected response. Modern attacks demonstrate that a single weakness can become the starting point for a much larger security incident.</p><p>An article published by <a href="https://thehackernews.com/2026/10/russian-apt28-breaches-nato-naval.html">The Hacker News on October 20, 2026</a> describes a cyber espionage campaign. According to the report, the attackers targeted organizations in NATO member states, including a naval shipbuilder, a law enforcement agency, and a military aircraft engine manufacturer.</p><p>The reported techniques included credential theft, persistent SSH tunnelling, malicious scripts, and a previously undocumented loader designed to execute an encrypted payload in memory.</p><p>Although these attacks primarily involved compromised systems and internal corporate networks rather than a confirmed vulnerability in a public-facing website, they offer valuable lessons for anyone responsible for application security.</p><p><strong>For QA engineers, the key takeaway is that security testing must go beyond individual vulnerabilities and examine how weaknesses can be combined to compromise an entire system.</strong></p><h3>1. Never Underestimate Well-Known Vulnerabilities</h3><p>One of the most important details in the article is the continued use of established attack techniques. The report also discusses XSS vulnerabilities observed in the Roundcube webmail client.</p><p>Cross-site scripting (XSS) is a well-known web security issue, yet it remains relevant because applications often handle user-controlled content in unsafe ways.</p><p>For a QA engineer, this highlights an important principle: <strong>a vulnerability does not become harmless simply because the industry has known about it for years.</strong></p><h3>What should testers check?</h3><p>Security testing should cover every place where user-controlled data enters, travels through, and is displayed by an application.</p><p>Examples include:</p><ul><li>Search fields, comments, and contact forms.</li><li>User profiles and editable account information.</li><li>Messages, notifications, and rich-text editors.</li><li>File uploads and document previews.</li><li>Administrative dashboards that display user-generated content.</li><li>API responses that are later rendered in the browser.</li></ul><p><em>Testers should verify that potentially malicious input is handled safely and cannot unexpectedly execute as JavaScript in another user’s browser.</em></p><p>For example, a test may submit a harmless, controlled XSS test payload to a search field and then inspect how the application renders the result. The expected outcome is that the input is treated as data rather than executable code.</p><p>QA engineers should also verify relevant security controls, such as Content Security Policy (CSP), while remembering that CSP is an additional defensive layer rather than a substitute for correct output encoding.</p><h3>Practical lesson</h3><p>Do not limit regression testing to newly discovered vulnerabilities. Include recurring checks for established weaknesses, particularly those that could expose administrator accounts or sensitive information.</p><h3>2. Test Authentication, Session Management, and Credential Protection</h3><p>The APT28 campaign described in the article involved two separate credential-theft techniques. The attackers reportedly used an SSH private key to establish a persistent tunnel and employed a PowerShell script to capture an NTLM authentication handshake.</p><p>These methods target credentials and access mechanisms rather than exploiting a conventional website form.</p><p>For web application testing, the broader lesson is clear: <strong>a secure login process is only one part of identity security.</strong></p><p>Even if authentication works correctly, an application may still be vulnerable if sessions can be stolen, reused, or abused.</p><h3>What should testers check?</h3><p>QA engineers should verify the following:</p><p><strong>Authentication controls</strong></p><ul><li>Rate limiting and protection against automated login attempts.</li><li>Multi-factor authentication (MFA), where required.</li><li>Secure password reset and account recovery workflows.</li><li>Appropriate responses to repeated failed login attempts.</li></ul><p><strong>Session management</strong></p><ul><li>Session identifiers are regenerated after authentication where appropriate.</li><li>Logging out invalidates the relevant session.</li><li>Password changes and account recovery trigger the expected session revocation behaviour.</li><li>Cookies use appropriate HttpOnly, Secure, and SameSite attributes.</li><li>Expired or revoked access tokens cannot be reused.</li></ul><p><strong>Sensitive information</strong></p><ul><li>Passwords, session identifiers, and access tokens do not appear in URLs or application logs.</li><li>Secrets are not exposed through frontend code or API responses.</li><li>Authentication errors do not disclose unnecessary information about accounts.</li></ul><h3>Practical lesson</h3><p>Test what happens <em>after</em> authentication, not just whether a user can log in.</p><p><em>A useful security test asks: if an attacker obtains a valid session token or credential, how much access does it provide, and how quickly can that access be revoked?</em></p><h3>3. Look Beyond the Website: Test the Boundaries Between Systems</h3><p>One of the most significant details in the article is the reported use of a persistent SSH tunnel into the victim organization’s internal network.</p><p>This demonstrates how a compromised host can become a bridge to systems that were never intended to be accessible from the internet.</p><p>For QA engineers testing web applications, this raises an important architectural question:</p><p><strong>If an attacker compromises one application component, what else could they reach?</strong></p><p>A public-facing website may communicate with databases, internal APIs, file storage, identity providers, and third-party services. If these connections are not appropriately restricted, a vulnerability in one component can have consequences far beyond the application itself.</p><h3>What should testers check?</h3><p><strong>Server-Side Request Forgery (SSRF)</strong></p><p>If the application retrieves external URLs, processes webhooks, imports remote resources, or fetches images from user-provided addresses, verify that these functions cannot be abused to reach restricted internal services.</p><p><strong>Access control between components</strong></p><p>Confirm that the application cannot access administrative endpoints or sensitive resources without the necessary permissions.</p><p><strong>Network isolation</strong></p><p>Work with developers and infrastructure teams to verify that public-facing components are appropriately separated from internal services.</p><p><strong>Outbound connections</strong></p><p>Check whether application servers are restricted from making unnecessary outbound connections to arbitrary destinations.</p><p><strong>Secrets and service accounts</strong></p><p>Verify that components use dedicated service identities with only the permissions they need.</p><p>These checks often require collaboration between QA, development, DevOps, and security teams. A functional test suite alone cannot establish that the underlying network architecture is secure.</p><h3>Practical lesson</h3><p><em>Include architecture-aware security scenarios in the test strategy. The objective is not only to determine whether an attacker can exploit a weakness, but also to understand how far the potential impact could extend.</em></p><h3>4. Treat File Uploads and Content Processing as Security-Critical Features</h3><p>The article describes attacks involving macro-enabled Microsoft Word documents and malicious scripts used to deliver additional components.</p><p>This is a reminder that files and documents can serve as delivery mechanisms for malicious content.</p><p>Web applications frequently allow users to upload documents, images, spreadsheets, archives, or other files. These features can introduce security risks if the application trusts file extensions, processes untrusted content unsafely, or allows uploaded files to execute on the server.</p><h3>What should testers check?</h3><p><strong>File validation</strong></p><p>Verify that file acceptance decisions are not based solely on the filename extension or the client-provided MIME type.</p><p><strong>File storage</strong></p><p>Check that uploaded files are stored in locations where they cannot execute as server-side code.</p><p><strong>File access</strong></p><p>Ensure that private files cannot be retrieved by unauthorised users simply by changing an identifier or URL.</p><p><strong>Content processing</strong></p><p>Test document previews, image conversion, archive extraction, and other processing functions for unsafe behaviour.</p><p><strong>Malware scanning</strong></p><p>Where supported by the application architecture, verify that uploaded files are scanned or quarantined according to the intended security policy.</p><p><strong>Resource limits</strong></p><p>Check that large files, malformed documents, or excessive upload attempts cannot easily exhaust server resources.</p><p>These tests should be performed using authorised test environments and harmless test files rather than live malware.</p><h3>Practical lesson</h3><p><em>Every feature that accepts, stores, transforms, or displays uploaded content deserves a security assessment. File upload testing should be treated as a standard part of web application security testing, not an optional extra.</em></p><h3>5. Security Testing Should Include Detection and Incident Response</h3><p>According to the article, the attackers returned to a compromised host repeatedly over approximately a week. The reported activity included credential theft, a persistent tunnel, and the deployment of a previously undocumented loader.</p><p>This highlights a critical distinction between preventing an attack and detecting one.</p><p>Prevention controls are essential, but no security programme can assume that every attack will be blocked at the first point of entry.</p><p>QA engineers can help validate whether security-relevant events are recorded correctly and whether the system responds as expected.</p><h3>What should testers check?</h3><p><strong>Security logging</strong></p><p>Verify that important events are recorded, including authentication failures, privilege changes, suspicious account activity, and sensitive administrative actions.</p><p><strong>Alerting</strong></p><p>Where monitoring rules exist, perform approved simulations to determine whether suspicious activity generates the expected alerts.</p><p><strong>Audit trails</strong></p><p>Confirm that logs contain enough context to investigate an incident, such as timestamps, relevant account identifiers, and action details, without unnecessarily exposing secrets or personal data.</p><p><strong>Session revocation</strong></p><p>Test whether administrators can invalidate compromised sessions or revoke access tokens when required.</p><p><strong>Incident response workflows</strong></p><p>Work with the security team to validate that documented response procedures can be followed when suspicious activity is detected.</p><p>Logging should also be protected against unauthorised modification, and access to security records should be restricted appropriately.</p><h3>Practical lesson</h3><p><em>Security testing should not end when a vulnerability is blocked. It should also establish whether the organisation can recognise suspicious activity, investigate it, and limit its impact.</em></p><h3>6. Turn Threat Intelligence into a Practical QA Test Plan</h3><p>Threat intelligence becomes especially valuable when it leads to specific, repeatable tests.</p><p>Instead of treating the article as a list of attack techniques, QA engineers can map its lessons to application features, security controls, and expected results.</p><p>The following examples can serve as a starting point for a security regression suite.</p><h3>Practical Security Test Cases for QA Engineers</h3><p><strong>SEC-01: Cross-Site Scripting (XSS)</strong></p><ul><li><strong>Test:</strong> Submit controlled XSS test inputs.</li><li><strong>Expected result:</strong> User input is rendered safely and does not execute as a script.</li></ul><p><strong>SEC-02: Access Control</strong></p><ul><li><strong>Test:</strong> Attempt to access another user’s resource by changing its identifier.</li><li><strong>Expected result:</strong> The server enforces ownership and access permissions.</li></ul><p><strong>SEC-03: Session Management</strong></p><ul><li><strong>Test:</strong> Attempt to reuse a session after logging out.</li><li><strong>Expected result:</strong> The invalidated session no longer grants access.</li></ul><p><strong>SEC-04: Cookie Security</strong></p><ul><li><strong>Test:</strong> Inspect authentication cookies.</li><li><strong>Expected result:</strong> Appropriate HttpOnly, Secure, and SameSite attributes are applied.</li></ul><p><strong>SEC-05: File Upload Security</strong></p><ul><li><strong>Test:</strong> Upload a file with a misleading extension or MIME type.</li><li><strong>Expected result:</strong> The server rejects the file or handles it according to the defined security policy.</li></ul><p><strong>SEC-06: Error Handling</strong></p><ul><li><strong>Test:</strong> Trigger application errors using invalid input.</li><li><strong>Expected result:</strong> Responses do not expose stack traces, secrets, or unnecessary internal details.</li></ul><p><strong>SEC-07: Authentication Protection</strong></p><ul><li><strong>Test:</strong> Perform repeated authentication attempts in an authorised test environment.</li><li><strong>Expected result:</strong> Rate limits and configured protective controls behave as expected.</li></ul><p><strong>SEC-08: API Authorisation</strong></p><ul><li><strong>Test:</strong> Call administrative API endpoints using a low-privilege account.</li><li><strong>Expected result:</strong> Unauthorised operations are denied by the server.</li></ul><p><strong>SEC-09: Server-Side Request Forgery (SSRF)</strong></p><ul><li><strong>Test:</strong> Test URL-fetching functionality against controlled, restricted destinations.</li><li><strong>Expected result:</strong> Prohibited destinations are blocked according to the application’s SSRF protection policy.</li></ul><p><strong>SEC-10: Security Monitoring</strong></p><ul><li><strong>Test:</strong> Simulate an approved suspicious action.</li><li><strong>Expected result:</strong> Relevant events are logged and configured alerts are triggered.</li></ul><p>These tests should be adapted to the application’s architecture and risk profile. Not every application has file uploads, URL-fetching features, or administrative APIs, so the test plan should reflect the actual attack surface.</p><h3>Automate What Makes Sense</h3><p>Security checks can be integrated into the software delivery pipeline to reduce the time between introducing a vulnerability and discovering it.</p><p>Useful approaches include:</p><ul><li><strong>SAST:</strong> Static Application Security Testing to identify potentially vulnerable code.</li><li><strong>DAST:</strong> Dynamic Application Security Testing to assess a running application.</li><li><strong>Software Composition Analysis (SCA):</strong> Detecting known vulnerabilities in third-party dependencies.</li><li><strong>Automated API security tests:</strong> Verifying authentication, authorisation, and input-handling behaviour.</li><li><strong>Manual penetration testing:</strong> Investigating complex attack chains that automated tools may miss.</li></ul><p>Automation is valuable for repeatability, but it does not replace human analysis. A scanner might identify a potentially vulnerable endpoint without determining whether it enables meaningful access to sensitive data.</p><p><em>The most effective approach combines automated checks, carefully designed negative tests, and risk-based manual investigation.</em></p><h3>7. Use Established Security Standards to Structure Your Testing</h3><p>QA engineers do not need to invent a new security methodology for every project.</p><p>Two useful resources are:</p><ul><li><a href="https://owasp.org/www-project-web-security-testing-guide/">OWASP Web Security Testing Guide (WSTG)</a> — provides practical guidance for testing web application security.</li><li><a href="https://owasp.org/www-project-application-security-verification-standard/">OWASP Application Security Verification Standard (ASVS)</a> — provides security requirements that can be translated into verifiable acceptance criteria.</li></ul><p>These resources help turn broad security objectives into concrete testing activities.</p><p>For example, instead of writing a vague requirement such as “the application must be secure,” a team can define testable expectations:</p><ul><li>Users must not access resources belonging to other users without permission.</li><li>Session tokens must be invalidated according to the documented session policy.</li><li>Untrusted input must not execute as code in the browser.</li><li>Uploaded files must not execute as server-side code.</li><li>Security-sensitive actions must generate appropriate audit events.</li></ul><p>This makes security requirements measurable and allows teams to track whether the required controls have actually been implemented.</p><h3>Conclusion: Think in Attack Chains, Not Just Individual Bugs</h3><p>The APT28 campaign described in <em>The Hacker News</em> illustrates how cyber espionage can involve multiple techniques, including credential theft, persistence, remote access, and the execution of additional malicious components.</p><p>For QA engineers, the lesson is not that every website is vulnerable to the techniques described in the report. Rather, it is that security must be evaluated in the context of the entire system.</p><p>A single vulnerability may be only the first step in an attack. The consequences depend on the privileges available to an attacker, the boundaries between system components, the sensitivity of the accessible data, and the organisation’s ability to detect and respond to suspicious activity.</p><p>To strengthen web application security, QA engineers should:</p><ol><li><strong>Test known vulnerabilities continuously</strong>, including XSS, injection flaws, and access-control weaknesses.</li><li><strong>Validate authentication and session management</strong>, including the consequences of compromised credentials.</li><li><strong>Assess trust boundaries</strong>, especially connections between public-facing applications and internal services.</li><li><strong>Treat file handling and content processing as security-critical features.</strong></li><li><strong>Verify monitoring and incident response</strong>, not just preventive controls.</li><li><strong>Use threat intelligence to create repeatable, risk-based security tests.</strong></li></ol><p>Ultimately, security testing is not simply about finding bugs before release. It is about understanding how an attacker might exploit those bugs, limiting the potential impact, and verifying that the application behaves securely even when someone deliberately tries to misuse it.</p><p><strong>The best security-focused QA engineers do more than ask, “Does this feature work?” They also ask, “What happens if someone abuses it, bypasses its controls, or uses it as a stepping stone to reach something more valuable?”</strong></p><p>That shift in perspective is what turns routine testing into a meaningful contribution to an organisation’s security posture.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eea9bf4aec1c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Spotify scales code health across 190,000 repos with always-on rewrites and AI]]></title>
            <link>https://medium.com/@iravizion/how-spotify-scales-code-health-across-190-000-repos-with-always-on-rewrites-and-ai-c7e78bf801b5?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/c7e78bf801b5</guid>
            <category><![CDATA[coding-agents]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[spotify]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Fri, 16 Oct 2026 20:21:01 GMT</pubDate>
            <atom:updated>2026-10-16T20:21:01.498Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Notes from Jonatan Dahl’s (Staff Software Engineer, Spotify) and Sanjana Seetharam’s (Senior Product Manager, Spotify) talk at the AI Software Factory event at Morgan Stanley</em></p><p>Every large engineering org pays a maintenance tax. Dependencies need bumping, APIs get deprecated, vulnerabilities need patching and frameworks need upgrading. Usually that means hundreds of tickets for hundreds of teams and months of chasing.</p><p>Spotify’s talk, <strong>“Scaling code health with always-on rewrites and AI”</strong> (subtitled <em>“And our goosy agent Honk… xirp xirp!”</em>), showed how they take humans out of the loop for most of that work, and how AI agents now handle the hard parts.</p><h3>The ecosystem</h3><p>For a sense of scale:</p><ul><li><strong>2,900+</strong> microservices in production</li><li><strong>4.5K+</strong> deployments per day on average</li><li><strong>190K+</strong> repos in GitHub Enterprise</li></ul><p>At this size, “file a ticket for every team” stops working.</p><h3>The agentic toolbox</h3><ol><li><strong>Automatic code migrations:</strong> ErrorProne, OpenRewrite and more, orchestrated with Fleetshift</li><li><strong>Soundcheck + Fleetshift:</strong> define golden signals that drive automated migrations</li><li><strong>Honk:</strong> “our goosy coding agent”</li><li><strong>Xirp:</strong> the surface for context and collaboration</li></ol><h3>Automated migration workflows at Spotify</h3><p>The workflow has three steps:</p><ol><li><strong>Define (Soundcheck).</strong> Turn standards and signals into a visible golden state.</li><li><strong>Automate (Fleetshift).</strong> Let Fleetshift apply one change across hundreds of components.</li><li><strong>Merge &amp; watch (Automerge + Firewatch).</strong> Automerge safe PRs, and use Firewatch to catch deployment failures.</li></ol><h3>Fleetshift: “Take the pain away”</h3><p>Fleetshift is Spotify’s <strong>large-scale refactoring platform</strong>: “a platform for making code and configuration changes across all of our repositories, via ‘shifts.’”</p><p>Two lines from that slide stayed with me:</p><ul><li><strong>Automation is the key.</strong> “If we want to scale faster and more safely, humans can’t be in the loop for every change.”</li><li><strong>Speed up, toil down.</strong> “We help platform teams ship migrations faster and cut maintenance toil for everyone else.”</li></ul><p><strong>What can you do with a Shift?</strong></p><ul><li>Migrations to new tech</li><li>API deprecation</li><li>Fixing breaking changes</li><li>Cost and resource optimization</li><li>Addressing security vulnerabilities</li></ul><p>OpenRewrite recipes got a ⭐⭐⭐⭐⭐ rating on the slide.</p><h4>The core Fleetshift loop</h4><ol><li>Fleetshift creates Kubernetes Jobs.</li><li>Each “shift job” clones the repo, executes the transformation image and pushes the changes to a branch.</li><li>Fleetshift watches for Job completion.</li><li>Fleetshift creates a pull request in GitHub.</li></ol><p>As the slide put it: <em>“Fleetshift targets the fleet, runs the change, pushes branches, and opens PRs, without turning every migration into hundreds of team projects.”</em></p><p>A few more details came out in a live demo where Honk explained the architecture:</p><ul><li>You define a code transformation as a <strong>Docker container</strong>, point it at a set of repos, and Fleetshift handles cloning, running the transform, creating PRs and tracking merges at fleet scale.</li><li><strong>Key pieces:</strong> the FleetShift API (manages shifts, PR creation and rollout scheduling), Tycoon (the execution engine that runs the per-repo transformations), shift definitions (Kubernetes CRDs describing what to change and which repos to target) and a Backstage UI for creating and tracking shifts.</li><li><strong>A shift runs in 3 steps on Argo Workflows:</strong> clone the target repo (trusted, has cloud credentials), run the shift container to modify code (<strong>untrusted, sandboxed, no cloud credentials</strong>), then commit and push (trusted again).</li><li><strong>Repo targeting:</strong> either a hardcoded list of repos, or a BigQuery query that resolves the list at rollout time.</li><li><strong>Two modes:</strong> one-shot (for example, replacing a deprecated API call) or recurring on a schedule (for example, bumping dependency versions continuously).</li><li>The whole thing is <strong>event-driven</strong>: Backstage publishes jobs to Pub/Sub, and Argo Events picks them up and kicks off workflows.</li></ul><h3>Automerge turns volume into throughput</h3><p>Opening a thousand PRs is the easy part. Getting them safely to production is the hard part. Spotify’s answer has four parts:</p><ol><li><strong>Preview the change.</strong> Inspect logs and diffs before the first PR opens.</li><li><strong>Roll out by cohort.</strong> Earn confidence before touching sensitive services.</li><li><strong>Automerge safe PRs.</strong> Remove review toil when checks and ownership make risk explicit.</li><li><strong>Firewatch deployments.</strong> Catch deployment failures, stop the rollout and alert the owner.</li></ol><h4>Monitoring the whole loop, end to end</h4><p>Fleetshift creates a pull request on GitHub, and a webhook triggers a CI build. The CI system sets the build and check status on the PR. The <strong>automerger</strong> continually searches for candidate PRs to merge, based on build status, time of day, rate limiting and other configuration. Merged PRs kick off deployment to Kubernetes, data pipeline orchestrators (Styx, Flyte, etc.) and other systems. <strong>Firewatch</strong> receives deployment health info via Pub/Sub events and triggers alerts in the monitoring system if failures pass a threshold.</p><p><em>“From CI build to live deployment, Firewatch wires the signals back to the rollout.”</em></p><h3>AI joined Fleetshift</h3><p>“Last year, Fleetshift began dispatching <strong>Honk</strong> for complex migrations instead of a fixed recipe.” The responsibilities are split:</p><ul><li><strong>Fleetshift owns the rails.</strong> “Targeting, cohorts, rollout, and blast radius stay governed by the platform.”</li><li><strong>Honk owns the hard change.</strong> “Honk reads local context, edits, tests, iterates, and opens a credible PR.”</li></ul><p>I think that’s the right model: the agent gets freedom inside the change, and the platform keeps firm guardrails around it.</p><h4>Working with Honk</h4><p>The demo showed Honk working where engineers already work:</p><ul><li><strong>Honk knows the system. Context on demand.</strong> Ask “@honk explain the fleetshift architecture on a high level pls” in Slack and you get a solid, accurate answer.</li><li><strong>You + Honk in Slack. A request becomes a PR.</strong> Asked to make the fleetshift repo README “more goose themed,” Honk opened a draft PR within minutes. Highlights of the “goosification”: “head over to” became “waddle over to,” and the password file must now be “guarded like a goose guards its nest.”</li><li><strong>Honk ships the PR. Same session across Slack and GitHub.</strong> The PR came with a proper summary and a test plan: <em>“Read the README and confirm it honks.”</em></li><li><strong>Follow up in the PR. Open to all humans to collaborate.</strong> Jonatan commented “honk also add a punchy goose pun at the end,” and Honk pushed a new commit: <em>“What’s good for the goose is good for the fleet.”</em></li></ul><h3>Xirp: agent orchestration, context and human collaboration</h3><p>The last piece was <strong>Xirp</strong>, launched in August 2026 (xirp.spotify.com). It rests on three ideas:</p><ol><li><strong>Harness-agnostic: bring the agent you choose.</strong> “Orchestrate coding agents without tying the work to one harness.” The demo showed a Claude Code session running inside Xirp.</li><li><strong>Context: Xirp connects to Backstage Portal.</strong> “Components, docs, ownership, and catalog context in every session.”</li><li><strong>Personal → collaborative: share the work.</strong> “Keep agent sessions, context, and collaborators moving together.”</li></ol><p>The demo that impressed me most: <strong>“Ship rate limiting for the Flask app as a stack of five sessions.”</strong> The work was split into chained sessions (rate limit config and storage, middleware, applying limits to routes, test coverage, docs), and <strong>sessions autostart when the parent completes</strong>.</p><h3>My takeaways</h3><ol><li><strong>Code health is a platform problem, not a team-by-team chore.</strong> If a migration needs hundreds of teams to act, automate it.</li><li><strong>Generating the change is only half the job.</strong> Without preview, cohorts, automerge and deployment monitoring, a thousand PRs are just a thousand PRs.</li><li><strong>Give the agent freedom inside the change and keep platform control around it.</strong> “Fleetshift owns the rails, Honk owns the hard change” is how you run AI at fleet scale without losing control.</li><li><strong>Agents belong where humans already work.</strong> Slack, GitHub PRs and shared sessions: human-agent collaboration matters more than yet another standalone AI tool.</li></ol><p>How does your org handle fleet-wide migrations: tickets for every team, or automated shifts?</p><p><strong>Where to go deeper (from the speakers):</strong></p><ul><li>Spotify Engineering Blog, <em>Fleet-First Mindset</em> series: Part 1, “Spotify’s shift to a Fleet-First mindset”; Part 2, “The path to declarative infrastructure”; Part 3, “Fleet-wide refactoring”</li><li>Spotify Engineering Blog, <em>Coding Agents</em> series: Part 1, “Spotify’s journey with coding agents”; Part 2, “Context Engineering”; Part 3, “Feedback loops”</li><li>NerdOut@Spotify podcast: “12: Fleet First” and “Ship happens (when agents code)”</li><li>backstage.spotify.com/fleetshift</li><li>xirp.spotify.com</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c7e78bf801b5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Building a software factory: how Uber is re-architecting engineering around AI agents]]></title>
            <link>https://medium.com/@iravizion/building-a-software-factory-how-uber-is-re-architecting-engineering-around-ai-agents-41c2ce2474cb?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/41c2ce2474cb</guid>
            <category><![CDATA[uber]]></category>
            <category><![CDATA[coding-agents]]></category>
            <category><![CDATA[platform-engineering]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[code-review]]></category>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Tue, 13 Oct 2026 20:16:01 GMT</pubDate>
            <atom:updated>2026-10-13T20:16:01.860Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Notes from Matas Antanas Strukčinskas’s (Senior Software Engineer, Uber) talk at the AI Software Factory event at Morgan Stanley</em></p><p>Most companies have rolled out AI coding assistants by now. Uber is going further and building a <strong>software factory</strong>: teams set the intent, and agents work at every station from planning to long-term maintenance. The most useful part of the talk was how candid it was about the new bottlenecks that show up once agents are everywhere.</p><h3>Factory levels: a software factory starts at Level 3</h3><p>Uber described five levels, based on who does what across <strong>feature, tasks, code and review</strong>:</p><ul><li><strong>Level 0, Manual.</strong> You do every step and write every line.</li><li><strong>Level 1, Assisted.</strong> Autocomplete while you code. “You still write it, faster.”</li><li><strong>Level 2, Delegated.</strong> You plan, the agent codes. You write the plan, then review and steer.</li><li><strong>Level 3, Supervised factory.</strong> Agents work in the background: the agent picks up tasks and writes the code, and review is <strong>“you + agent, steer where needed.”</strong> <em>This is the level Uber is building now.</em></li><li><strong>Level 4, Autonomous factory.</strong> Self-improving, inside your guardrails. You define the features, guardrails and launch criteria, and agents handle the rest, including checking the work against your criteria.</li></ul><p>The key line: <strong>“A software factory starts at Level 3.”</strong> As long as the agent waits for you to hand it something, it’s an assistant, not a factory.</p><h3>The vision: teams set the intent, the factory does the rest</h3><p>The <strong>team sets the intent</strong>: goals, constraints, policies and “the evidence a change must bring.”</p><p>Then comes the <strong>factory loop, with agents at every station</strong>:</p><ul><li><strong>Plan:</strong> spec from data</li><li><strong>Build:</strong> code, tests</li><li><strong>Verify:</strong> visual, review, CI (you + agent)</li><li><strong>Land:</strong> on evidence (you approve)</li><li><strong>Maintain:</strong> continuously</li></ul><p>“What we learn goes into the next plan.”</p><p><strong>Output:</strong> software that stays healthy, meaning shipped, verified and kept up to date.</p><h3>The tools behind each station</h3><ul><li><strong>Plan:</strong> <em>Agentic uPlan</em> (specs drafted from data and context) and <em>Cortana</em> (an AI assistant, the front door for a task)</li><li><strong>Build:</strong> <em>Minion</em> (a coding agent: task in, PR with proof out)</li><li><strong>Verify:</strong> <em>uReview</em> (AI review on every PR) and <em>Self-Healing CI</em> (an agent fixes red builds)</li><li><strong>Land:</strong> <em>Code Inbox</em> (the right reviewer, on time)</li><li><strong>Maintain:</strong> <em>Shepherd</em> (one change across thousands of services), <em>Fawkes</em> (cleanup PRs every week) and <em>Wisdom</em> (in-app bug reports with full context)</li></ul><p><strong>Foundations:</strong> Model Gateway, MCP Gateway, Agent Environments, Agent Skills and Context Graph.</p><h3>The bottleneck: generation got cheap, review did not</h3><p>This was the most striking slide of the talk. <strong>April 2024 vs. April 2026:</strong></p><ul><li><strong>1.9x</strong> more PRs opened per month</li><li><strong>1.6x</strong> more PRs landed per month</li><li><strong>2.5x</strong> longer wait for the first approval: median minutes from “ready for review” to first approval rose from <strong>74 to 186</strong></li></ul><p>The line was flat for almost two years and spiked around the point marked <strong>“Claude Code at 80% of engineers.”</strong> Agents sped up writing code, and the queue moved to review.</p><h4>Who owns the review? Code Inbox: every review goes to the right person</h4><ol><li><strong>One inbox.</strong> GitHub and Phabricator PRs in one list, most urgent first.</li><li><strong>Smart assignment.</strong> It scores who knows the files and who has time, and skips people who are away.</li><li><strong>Attention set.</strong> It shows who must act next, and whether the PR is approved, green and ready to merge.</li><li><strong>16h.</strong> After 16 hours with no review action, it reassigns the PR.</li></ol><h4>Verification: is it safe to land? Stack the proof.</h4><p><strong>The agent proves it:</strong></p><ol><li><strong>Build + test.</strong> Builds and tests what the change affects. <em>(Machine)</em></li><li><strong>Visual check.</strong> The agent runs the app and attaches screenshots. <em>(Machine)</em></li><li><strong>uReview.</strong> AI review on every PR. <em>(Tokens)</em></li><li><strong>Self-Healing CI.</strong> Reproduces a red build and pushes a fix. <em>(Machine)</em></li></ol><p><strong>The human judges it:</strong><br> 5. <strong>Human.</strong> Approves every change. <em>(Judgment)</em></p><p>The line I’ll remember: <strong>“Review needs tokens. Proof needs a machine.”</strong> Three of the four agent checks need a real environment to build, run and test.</p><h3>Devpod: a full Uber workstation in the cloud</h3><p>That real environment already existed for humans:</p><ul><li><strong>5</strong> regions, next to Uber’s engineering hubs (US &amp; Canada, EMEA, LATAM, APAC)</li><li><strong>~20s</strong> median time to get a new Devpod, with code checked out and indexed</li><li><strong>92%</strong> of engineers who land code use Devpod every month</li></ul><p><strong>Under the hood:</strong></p><ul><li><strong>Runs on Kubernetes.</strong> Multiple Devpods are packed on each node: “Devpods need full power in short bursts, when they build, so many can share one node.”</li><li><strong>Ready before you ask.</strong> Capacity is pre-warmed (spare nodes are already running, a new Devpod moves in at once, and Kubernetes adds the next node). The image with tools is already on the node (every node downloads it in advance). Disks are prepared with the monorepos checked out and the caches warm.</li><li><strong>~20s</strong> median time to create, <strong>~15s</strong> to resume.</li><li><strong>Fast while you work.</strong> Build cache in the same region, hot caches on a local SSD, and Git tuned for very large monorepos.</li></ul><h3>Adoption: agents doubled the fleet in 8 months</h3><p>Then the agents arrived, and agents need machines too:</p><ul><li><strong>2.1x</strong> more running Devpods per day, January to August 2026 (peaking around 17K)</li><li><strong>1.5 → 2.5</strong> Devpods per engineer per day, January to September 2026</li><li><strong>+60%</strong> monthly Devpod users, December 2025 to September 2026</li></ul><h4>The new problem: more agents, less focus</h4><ul><li><strong>Which agent needs me now?</strong> “The status of each agent hides in a different terminal.”</li><li><strong>Every switch costs focus.</strong> “Each time you jump to another agent, you must first remember what it was doing.”</li><li><strong>Agents wait, and nobody sees it.</strong> “An agent stops to ask a question, and it waits an hour before you notice.”</li></ul><p><strong>Devpod vision, late 2025: “one place for all your agents”</strong>, a Devpod Central showing every agent’s status (in progress, waiting for input, completed), with the option to launch a new agent environment from a prompt.</p><h3>Minion: one coding agent for every coding task</h3><p>Minion v1 is a <strong>background agent</strong> that runs as a CI job: <strong>“One agent behind one API. Each team plugs in its skills.”</strong> Its callers include:</p><ul><li><strong>Engineers:</strong> prompt to PR from the web, Slack, Jira or Linear</li><li><strong>Shepherd:</strong> runs large-scale migrations</li><li><strong>Self-Healing CI:</strong> fixes red builds</li><li><strong>uReview:</strong> deep review on request</li></ul><p>They were honest about the v1 limitation: <em>“You can follow its logs, but you cannot steer it until the PR is ready.”</em></p><p><strong>It’s not only for code.</strong> People use Minion for on-call investigations (logs, metrics, recent deploys), changing many repos (one task, many PRs), deep code review, fixing red CI builds, large-scale migrations, and even <strong>generating slides, including this deck</strong>.</p><p><strong>Impact:</strong> in September 2026, Minion users landed <strong>29.9 PRs per engineer per month</strong>, versus <strong>19.7</strong> for non-users: <strong>+51%</strong>.</p><h3>The next problem: an agent holds a full machine while it thinks</h3><p>While the agent thinks, waits for you or waits for review, its Devpod is “held and paid for, not used.” There’s a <strong>Devpod per task</strong>, even for tasks with no code, like investigations. And <strong>30% of the bill goes to disks and snapshots.</strong></p><h4>Next: lightweight agentic sandboxes. Split the brains from the hands.</h4><ul><li><strong>Brains:</strong> the agent loop, running on small compute</li><li><strong>Hands:</strong> sandboxes, <strong>0 to N per task</strong>, “claimed in seconds from a warm pool” only for the steps that need them (edit and build, edit and test, fix and test)</li></ul><p>The three tiers of environment:</p><ul><li><strong>Devpod:</strong> for an engineer. Lives for weeks, stops when idle, persistent disk, accessed by you.</li><li><strong>Agentic Devpod:</strong> for one Minion task. Lives for the task and its follow-ups, stops early, persistent disk, accessed by the agent and you.</li><li><strong>Lightweight agentic sandbox:</strong> for one agent step. Lives for minutes, recycled when idle, no persistent disk, accessed by agents only.</li></ul><h3>My takeaways</h3><ol><li><strong>The bottleneck moves.</strong> When agents speed up code generation, the queue shows up in review. Plan for it before it hits.</li><li><strong>Proof beats trust.</strong> Make the agent bring builds, tests and screenshots, and let the human make the judgment call.</li><li><strong>Agents need infrastructure, not just models.</strong> Fast, isolated environments are the foundation of the factory, not a nice-to-have.</li><li><strong>Human attention is the new scarce resource.</strong> The more agents you run, the more you need one place to see who’s waiting on whom.</li><li><strong>Watch the bill early.</strong> An agent holding a machine while it thinks gets expensive. Splitting brains from hands is a logical next step.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41c2ce2474cb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Meta replaced code freezes with risk-aware gating and landed more changes with fewer outages]]></title>
            <link>https://medium.com/@iravizion/how-meta-replaced-code-freezes-with-risk-aware-gating-and-landed-more-changes-with-fewer-outages-3848e8aa35ac?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/3848e8aa35ac</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[site-reliability]]></category>
            <category><![CDATA[release-engineering]]></category>
            <category><![CDATA[meta]]></category>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Mon, 12 Oct 2026 17:41:25 GMT</pubDate>
            <atom:updated>2026-10-12T17:41:25.640Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Notes from Rui Abreu’s talk at the AI Software Factory event at Morgan Stanley</em></p><p>Most engineering orgs have a code freeze. Before Black Friday, the holidays or a big launch, changes to production simply stop. It works, but it’s a blunt tool: it blocks the safe changes along with the risky ones.</p><p>I recently sat in on a talk about how Meta moved past this. The short version: they went <strong>from un-freeze to no-freeze</strong>. Here’s what I took away.</p><h3>The core tension: quality vs. velocity</h3><p><em>Under a blanket freeze, you can’t have both.</em></p><ul><li>More changes mean more risk of outages; fewer changes mean stagnation.</li><li>At Meta, service outages are called <strong>Site Events (SEVs)</strong>. They are the primary quality concern for billions of users.</li><li>A code freeze reduces SEVs by stopping changes entirely during high-risk periods. But it blocks safe changes too, and Meta’s trunk-only development rules out branch-based freezes.</li><li>The literature offers almost no guidance. Code freeze is widely practiced but poorly studied.</li></ul><p>The central question of the talk was this: <strong>can we let most changes land during a freeze, while blocking the small fraction that actually cause outages?</strong></p><h3>Meta’s code freeze landscape</h3><p>Meta’s freezes are fundamentally different from the textbook definition. There are two types: <strong>user-experience freezes</strong> during high-traffic events, and <strong>engineering-disruption freezes</strong> when on-call support is limited.</p><p>Traditional practiceMeta’s practiceBranch modelMaintenance branch freezeTrunk-only developmentTriggerPre-release stabilizationHigh-traffic events, holidays, weekendsScopeAll changes blockedSelective gating by riskPermission logicBug-fix typeRisk score plus approval workflowGranularityBranch-levelFile-level or diff-level</p><h3>Three generations of un-freeze strategy</h3><p><em>From blanket bans to intelligent gating.</em></p><p><strong>1. ExpertPaths (location-based).</strong> Experts designate risky file paths by regex, and any diff touching them is gated. Simple, but coarse-grained and untunable.</p><p><strong>2. FileModel (model-based, file level).</strong> Logistic regression predicts whether a file will be modified by a SEV-causing diff. The threshold is adjustable.</p><p><strong>3. DiffModel (model-based, diff level).</strong> A richer model scores the change itself (author expertise, call graph centrality, churn, reviewers), plus an LLM-based approach.</p><p>Each generation blocks fewer diffs unnecessarily while holding or improving SEV capture.</p><h3>FileModel: five features capture 56% of SEVs while gating only 27% of diffs</h3><p>The model explains 31% of deviance. At ExpertPaths’ 27% gating rate, it captures <strong>56% of SEVs versus 38%</strong>, which more than doubles the odds ratio. About <strong>1% of files cause the majority of SEVs</strong>, and the model finds them.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7gKSNmjpeqBD1pc1X5Myrw.png" /></figure><h3>DiffModel: diff-level features push SEV capture to 60.8%</h3><p>DiffModel uses 14 features across six categories. At the same 27% gating rate it captures <strong>60.8% of SEVs</strong>. That’s an odds ratio above <strong>2.5x ExpertPaths</strong> and <strong>1.2x FileModel</strong>, and it beats FileModel once gating exceeds 20% of diffs.</p><p>Key features include:</p><ul><li><strong>Defect history:</strong> had_sev, meaning any modified file was previously in a SEV (higher risk)</li><li><strong>Interdependencies:</strong> num_of_files, the breadth of the change (higher risk); diff_only_creates_files, entirely new code (lower risk)</li><li><strong>Coordination:</strong> num_reviewers, the review breadth needed (higher risk)</li><li><strong>Expertise:</strong> author_centrality, the author’s network centrality (lower risk)</li><li><strong>File complexity:</strong> churn, the total lines changed (higher risk)</li><li><strong>Codebase:</strong> is_core, touches critical services (higher risk)</li></ul><p>As one slide put it: <strong>risk lives in the graph of diffs, files and authors.</strong></p><h3>How gating actually works</h3><p><strong>One model, one knob.</strong> Release engineers tighten the threshold for stricter freezes or loosen it for normal operation, with no retraining required.</p><ul><li><strong>Lands immediately</strong> when the score is below the freeze threshold. This is the vast majority of diffs. There’s no prompt and no friction; the developer never sees the model.</li><li><strong>Lands with rationale</strong> when the score is above the threshold but a landing reason fits. The developer sees the risk score and its reasons, then picks from pre-approved rationales such as bug fix or revert.</li><li><strong>Blocked, then escalation</strong> when the score is above the threshold and no rationale applies. The diff is held until the freeze ends, or a manager-approved escalation lands it urgently.</li></ul><h4>Four tiers of risk-aware gating</h4><p><em>One continuous risk score, one knob: the percentage of riskiest diffs to gate.</em></p><ul><li>🟢 <strong>Green (0%):</strong> normal operation. All diffs land.</li><li><strong>Weekend (5%):</strong> the top 5% riskiest diffs are gated when on-call coverage is thin.</li><li>🟡 <strong>Yellow (10%):</strong> moderate-traffic periods.</li><li>🔴 <strong>Red (50%):</strong> Black Friday, holidays and major events.</li></ul><p>Even the logistic-regression baseline captures <strong>18.7%, 27.9% and 84.6% of SEVs</strong> by gating just <strong>5%, 10% and 50%</strong> of diffs, far more than chance would catch.</p><h3>Production results</h3><h4>July 2023 deployment window</h4><p><em>FileModel under record traffic, over a three-day period:</em></p><ul><li><strong>74%</strong> of diffs landed without any interruption.</li><li><strong>26%</strong> entered the gated flow as flagged risky.</li><li><strong>8.8%</strong> landed after the developer gave a pre-approved exception rationale.</li><li><strong>1.0%</strong> were escalated for manual approval; <strong>0.28%</strong> of escalations were approved.</li><li>Net result: only <strong>17%</strong> of diffs were delayed until after the window.</li></ul><p><strong>Outcome:</strong> despite record traffic, <strong>zero major SEVs</strong> were introduced.</p><h4>Winter 2023 holiday freeze: 52% fewer SEVs, 42% more changes</h4><p><em>The first large-scale DiffModel deployment, mid-November through January:</em></p><ul><li>Diffs gated: only <strong>16%</strong> of all diffs</li><li>Diffs allowed with rationale: <strong>5.7%</strong> provided a landing rationale</li><li>Diffs landed vs. the prior year: <strong>42% more</strong></li><li>SEVs vs. the prior year: <strong>52% fewer</strong></li><li>SEV-related operating costs: <strong>47% lower</strong></li></ul><p>The system absorbed far more development activity while cutting outages by more than half. Engineers had fewer holiday disruptions, and users got a more reliable service.</p><h3>Three design principles that made the model deployable</h3><p><em>A theoretically sound model is not enough. Engineers must trust it and act on it.</em></p><ol><li><strong>Actionability over raw accuracy.</strong> Some significant predictors send counterproductive signals because of observational confounding, such as implying that fewer reviewers lowers risk. Those features were deliberately excluded in favour of predictors that imply meaningful quality improvements.</li><li><strong>Real-time computability.</strong> FileModel features are pre-computed per file, so scores are instant at land time. Features that shift during a diff’s lifetime, such as total_diff_time and num_reviewers, use expected values rather than live ones, so the score doesn’t move under the engineer.</li><li><strong>Adjustable thresholds without retraining.</strong> Thresholds come from the empirical score distribution over three to six months of historical diffs, picking the percentile that yields the desired gating fraction. Each freeze type is tuned independently.</li></ol><h3>Into the LLM era: Diff Risk Score (DRS)</h3><p><em>From logistic regression to a fine-tuned Llama-based risk model.</em></p><p>Simple logistic regression on file and diff features already more than doubles the effectiveness of expert-based gating. The work didn’t stop there. DRS pushed risk prediction into the LLM era and has <strong>effectively eliminated major code freezes at Meta</strong>.</p><p>The model evolution went: <strong>logistic regression → StarBERT (RoBERTa) → iCodeLlama-34B → iDiffLlama.</strong> The risk alignment step was fine-tuning a generative LLM for binary risk classification.</p><p>The three model families were evaluated on 181,052 test diffs and 305 SEVs:</p><ul><li><strong>Logistic regression</strong> uses about 12 hand-curated predictors chosen from roughly 100 candidates. It is the production baseline: robust, fast and interpretable, but blind to code content.</li><li><strong>StarBERT (RoBERTa)</strong> is a Meta-internal model pre-trained on millions of diffs, tasks and SEVs. It scored 0.61x / 0.85x / 0.81x, below the baseline at every tier. <em>Code understanding alone is not enough.</em></li><li><strong>Generative LLMs</strong> (iCodeLlama-34B on Meta’s monorepo, and iDiffLlama further pre-trained to be change-aware) were <strong>best in class</strong>. They use the title, test plan and unified diff directly, with no feature engineering.</li></ul><h3>From un-freeze to no-freeze</h3><p><em>DRS has helped Meta eliminate major code freezes.</em></p><ul><li><strong>10,000+</strong> code changes landed during partner events that previously could not have landed.</li><li><strong>19</strong> risk-aware features have shipped from DRS, and counting.</li><li>The <strong>Risk Awareness Platform (RAP)</strong> centralizes risk-analysis APIs and tool integrations.</li></ul><p>DRS now powers work across the lifecycle:</p><ul><li><strong>Build and test selection:</strong> prioritize CI work on the riskiest changes.</li><li><strong>Reviewer recommendation:</strong> route risky diffs to expert eyes.</li><li><strong>Reliability tooling:</strong> inform rollback and canary decisions.</li><li><strong>Release-risk analysis:</strong> score whole deployments, not just individual diffs.</li><li><strong>Code-freeze replacement:</strong> extended from holiday windows to many sensitive periods.</li></ul><p>Academics have also built an <strong>open-source version</strong>, so you can try it on your own repos: <strong>worldofcode.org/drs</strong></p><h3>Where risk-aware development is headed</h3><ol><li><strong>More risk-aware features.</strong> Each new application pushes the productivity-reliability frontier outward.</li><li><strong>Configuration change risk.</strong> Code changes are the plurality of SEVs, but config changes are another large category. RAP now includes models that score config changes.</li><li><strong>AI agents that auto-mitigate.</strong> Today DRS flags risky diffs and suggests reviewers. Next come agents that generate risk-mitigating changes, for code in motion and code at rest.</li><li><strong>Natural-language explanations.</strong> LLM explainability remains open. Meta is investing in outputs that tell engineers <em>why</em> a diff scored as risky, so they can mitigate it or feed corrective signal back.</li></ol><h3>The bottom line</h3><p><em>One of the oldest software quality practices, reimagined through risk modelling:</em></p><ul><li><strong>ExpertPaths (baseline):</strong> 27.3% of diffs gated, 38% of SEVs captured.</li><li><strong>FileModel:</strong> same gating rate, 56% of SEVs captured, a <strong>2x</strong> odds ratio improvement.</li><li><strong>DiffModel:</strong> same gating rate, 60.8% of SEVs captured, a <strong>2.5x</strong> odds ratio improvement.</li><li><strong>Winter 2023 production:</strong> 16% gated, 42% more changes landed, 52% fewer SEVs.</li></ul><blockquote><em>“The risk model has been enormously effective at allowing low-risk changes to proceed while gating high-risk changes and reducing outages.” (Mockus et al., 2025)</em></blockquote><h3>My takeaways</h3><ol><li><strong>A freeze isn’t a switch, it’s a dial.</strong> Once you can rank changes by risk, “how frozen are we?” becomes a percentile, not a yes/no.</li><li><strong>You can start simple.</strong> Five features and a logistic regression already doubled the odds ratio of expert rules. You don’t need a 34B-parameter model on day one.</li><li><strong>Defect history is the best predictor.</strong> If you don’t track which files were involved in incidents, start now.</li><li><strong>Trust beats accuracy.</strong> The team deliberately dropped predictive features that would have sent engineers the wrong message.</li></ol><p>Is your team still running blanket freezes, or have you started gating by risk?</p><p><em>Sources: Mockus et al., 2025; Engineering at Meta, “Diff Risk Score: AI-driven risk-aware software development,” August 2025.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3848e8aa35ac" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ISO 9001 in a QA Job Description? Here’s What It Really Means]]></title>
            <link>https://medium.com/@iravizion/iso-9001-in-a-qa-job-description-heres-what-it-really-means-2d72e95d2f32?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d72e95d2f32</guid>
            <category><![CDATA[quality-assurance]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[iso-9001]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Wed, 30 Sep 2026 18:36:02 GMT</pubDate>
            <atom:updated>2026-09-30T18:36:02.012Z</atom:updated>
            <content:encoded><![CDATA[<p>If ISO 9001 is mentioned in the job description, these are the questions I’d prepare for.</p><h3>1. What is ISO 9001?</h3><p>A good answer:</p><blockquote><em>“ISO 9001 is an international standard for Quality Management Systems. It provides a framework for organisations to establish controlled processes, manage quality, address risks and continuously improve.”</em></blockquote><h3>2. How does ISO 9001 relate to software testing?</h3><p>Talk about:</p><ul><li>documented processes;</li><li>traceability;</li><li>test evidence;</li><li>defect management;</li><li>risk-based testing;</li><li>continuous improvement.</li></ul><h3>3. What is a Quality Management System?</h3><p>Explain that a QMS is the collection of processes, responsibilities, procedures and controls an organisation uses to manage and improve quality.</p><h3>4. What is traceability?</h3><p>Explain the relationship between:</p><p><strong>requirements → tests → results → defects → fixes</strong></p><p>Then give a real QA example.</p><h3>5. What is test evidence?</h3><p>Examples include:</p><ul><li>test execution results;</li><li>CI pipeline reports;</li><li>logs;</li><li>screenshots;</li><li>defect records.</li></ul><h3>6. What is the difference between a defect and a non-conformity?</h3><p>A defect concerns a problem with the product or software.</p><p>A non-conformity concerns failure to meet a specified requirement or defined criterion.</p><h3>7. What is corrective action?</h3><p>Explain that corrective action addresses the cause of a problem to help prevent recurrence, rather than simply fixing the immediate symptom.</p><h3>8. What does continuous improvement mean in QA?</h3><p>Give a practical example.</p><p>For instance:</p><blockquote><em>“We analysed our regression process, identified duplicated and unstable tests, improved the suite and reduced execution time.”</em></blockquote><p>That’s much stronger than simply saying:</p><blockquote><em>“We always try to improve.”</em></blockquote><h3>9. How would you prepare for an audit?</h3><p>You could explain that you’d make sure relevant records are available and consistent, including:</p><ul><li>requirements;</li><li>test documentation;</li><li>test results;</li><li>defect records;</li><li>automation results;</li><li>release evidence.</li></ul><h3>10. Have you worked with ISO 9001 before?</h3><p>If you have, explain the environment and your responsibilities.</p><p>If you haven’t:</p><p><strong>Don’t pretend that you have.</strong></p><p>Instead, say:</p><blockquote><em>“I haven’t worked directly as an ISO 9001 specialist, but I’ve worked with structured QA processes involving test documentation, traceability, defect management, automated testing, CI/CD and test evidence. I understand how these practices support a Quality Management System.”</em></blockquote><p>That’s a perfectly reasonable answer for a QA Automation Engineer.</p><h3>The One-Minute Version</h3><p>If you only remember one thing, remember this:</p><p><strong>ISO 9001 is about managing quality systematically.</strong></p><p>For a QA Engineer, that means thinking beyond:</p><blockquote><em>“Did I find the bug?”</em></blockquote><p>and also asking:</p><blockquote><em>“Do we have a defined process?”</em></blockquote><blockquote><em>“Can we show what was tested?”</em></blockquote><blockquote><em>“Can we trace testing back to requirements?”</em></blockquote><blockquote><em>“Do we have evidence?”</em></blockquote><blockquote><em>“Why did this problem happen?”</em></blockquote><blockquote><em>“How can we prevent it from happening again?”</em></blockquote><blockquote><em>“How can we improve the process?”</em></blockquote><p>That’s the connection between <strong>QA engineering and ISO 9001</strong>.</p><p>You don’t need to become an ISO auditor to work in an ISO 9001 environment.</p><p>But if you understand these principles, a sentence like:</p><blockquote><strong><em>“Experience working within ISO 9001 standards”</em></strong></blockquote><p>should no longer be intimidating.</p><p>It simply tells you that the company likely cares about <strong>structured, documented and auditable quality processes</strong>.</p><p>And as a QA Engineer, that’s a language you should be comfortable speaking.</p><h3>Suggested Visuals for the Article</h3><p>Instead of ASCII diagrams, I’d use <strong>three simple editorial illustrations</strong> in the final Medium version.</p><h3>Visual 1 — The ISO 9001 Big Picture</h3><p>A circular diagram:</p><p><strong>Requirements → Testing → Evidence → Review → Improvement → back to Requirements</strong></p><p>With “ISO 9001 / Quality Management System” in the centre.</p><h3>Visual 2 — QA Traceability</h3><p>A horizontal flow:</p><p><strong>Requirement → Test Case → Automation → CI Pipeline → Result → Defect → Fix → Regression</strong></p><p>This would work particularly well as a wide Medium image.</p><h3>Visual 3 — From Bug to Improvement</h3><p>A simple before/after illustration:</p><p><strong>Production Bug → Root Cause → Corrective Action → New Automation Test → Improved Process</strong></p><p>This makes the “continuous improvement” concept much easier to understand than another paragraph of text.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d72e95d2f32" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Debug Static File Delivery with curl: A Practical PDF Hosting Case Study]]></title>
            <link>https://medium.com/@iravizion/how-to-debug-static-file-delivery-with-curl-a-practical-pdf-hosting-case-study-cb16816771a9?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/cb16816771a9</guid>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Wed, 23 Sep 2026 12:26:31 GMT</pubDate>
            <atom:updated>2026-09-23T12:26:31.820Z</atom:updated>
            <content:encoded><![CDATA[<p>Sometimes a file works perfectly in a local development environment but returns a 404 Not Found after deployment. The obvious suspects are usually the file path, build configuration, CDN cache, or an outdated deployment.</p><p>But what if the file still returns 404 after a fresh deployment?</p><p>This article walks through a real-world debugging process using curl, a static hosting service, and a PDF file. The goal was to determine <strong>why a PDF was not being served and whether the problem was caused by the application, deployment, caching, filename, or hosting platform</strong>.</p><p>For this example, I will use the fictional name <strong>Alex Morgan</strong> and the mock domain:</p><pre>https://alex-morgan.surge.sh</pre><p>The important part of the investigation was not just finding a workaround, but systematically eliminating possible causes until the actual problem became clear.</p><h3>1. Start by checking whether the file is actually being served</h3><p>The first thing to test is the HTTP response for the file itself.</p><p>For example:</p><pre>curl -sIL &quot;https://alex-morgan.surge.sh/Alex_Morgan_QA_Automation.pdf&quot;</pre><p>The relevant part of the response was:</p><pre>HTTP/2 404<br>surge-cache: HIT</pre><p>At this point, there were several possible explanations:</p><ul><li>the file was not included in the deployment;</li><li>the filename or path was incorrect;</li><li>the deployment was outdated;</li><li>a CDN cache was serving an old response;</li><li>the hosting platform was treating .pdf files differently.</li></ul><p>It was too early to conclude which one was responsible.</p><h3>2. Check whether the deployed website is up to date</h3><p>The next step was to inspect the deployed index.html.</p><pre>curl -s &quot;https://alex-morgan.surge.sh/&quot; | head -30</pre><p>I also checked the HTTP headers:</p><pre>curl -sI &quot;https://alex-morgan.surge.sh/&quot;</pre><p>The JavaScript and CSS asset hashes referenced by the live index.html were older than the assets produced by my local build.</p><p>That suggested that the deployed website might not contain the latest build.</p><p>This is an important distinction:</p><blockquote><em>A </em><em>404 for a static file does not necessarily mean the file is missing from your local project. It may simply mean that the deployed version is different from the version you are looking at locally.</em></blockquote><h3>3. Try bypassing the CDN cache</h3><p>Because the response contained:</p><pre>surge-cache: HIT</pre><p>the next logical test was to add a cache-busting query parameter.</p><p>For example:</p><pre>curl -sI &quot;https://alex-morgan.surge.sh/Alex_Morgan_QA_Automation.pdf?bust=$(date +%s)&quot;</pre><p>The file still returned:</p><pre>HTTP/2 404</pre><p>This made it less likely that the problem was simply a stale cached response for that URL.</p><p>However, this test alone does not prove that caching is irrelevant. The safest next step was to perform a fresh deployment.</p><h3>4. Verify the hosting CLI and authentication</h3><p>Before redeploying, I checked that the hosting CLI was installed and that I was authenticated:</p><pre>which surge <br>surge whoami</pre><p>This confirmed that the deployment tool was available and that the correct account was authenticated.</p><h3>5. Deploy the current build</h3><p>I then deployed the current dist directory and after deployment, I checked both the homepage and the PDF again:</p><pre>curl -sI &quot;https://alex-morgan.surge.sh/Alex_Morgan_QA_Automation.pdf&quot;<br>curl -sI &quot;https://alex-morgan.surge.sh/&quot;</pre><p>The homepage now showed:</p><pre>surge-cache: MISS</pre><p>This was useful evidence: the new deployment was being served rather than an old cached version.</p><p>But the PDF still returned:</p><pre>404</pre><p>At this point, the hypothesis that the problem was simply an outdated deployment became much weaker.</p><h3>6. Verify the filename byte by byte</h3><p>The next possibility was a filename mismatch.</p><p>This can happen because of:</p><ul><li>uppercase/lowercase differences;</li><li>spaces;</li><li>special characters;</li><li>invisible characters;</li><li>a typo in the application code;</li><li>a difference between the source and generated dist directory.</li></ul><p>I inspected the deployment directory:</p><pre>ls -la dist/</pre><p>Then I inspected the PDF filename at the byte level:</p><pre>ls dist | grep -i pdf | od -c | head -5</pre><p>I also searched the generated JavaScript for the filename:</p><pre>grep -o &quot;Alex_Morgan_QA_Automation[^\&quot;&#39;]*&quot; dist/assets/*.js</pre><p>The filename and path matched byte-for-byte.</p><p>So the problem was not a simple typo or case-sensitivity issue.</p><h3>7. Confirm that the new deployment actually exists</h3><p>As an additional sanity check, I inspected the deployment list:</p><pre>surge list 2&gt;&amp;1 | head -20</pre><p>This confirmed that the new deployment had been created.</p><p>At this stage, the investigation had already eliminated several common causes:</p><p>HypothesisResultOutdated deploymentUnlikelyStale CDN cacheUnlikelyIncorrect filenameEliminatedIncorrect application pathUnlikelyDeployment not happeningEliminated</p><p>The next step was to isolate the behavior of the .pdf extension itself.</p><h3>8. Test the same PDF under a different filename</h3><p>This was the first really important experiment.</p><p>I copied the exact same PDF content to a different filename:</p><pre>cp dist/Alex_Morgan_QA_Automation.pdf dist/resume-test.pdf</pre><p>Then I deployed again and tested the new URL:</p><pre>curl -s -o /dev/null -w &quot;resume-test.pdf: %{http_code}\n&quot; \<br>&quot;https://alex-morgan.surge.sh/resume-test.pdf&quot;</pre><p>The result was:</p><pre>resume-test.pdf: 404</pre><p>This was significant.</p><p>The filename had changed, but the extension was still .pdf.</p><p>Therefore, the problem was unlikely to be related to the specific filename.</p><h3>9. Check whether other file types work</h3><p>Next, I tested a simple text file.</p><pre>echo &quot;hello test&quot; &gt; dist/test-file.txt</pre><p>After deploying I checked it with:</p><pre>curl -s -o /dev/null -w &quot;test-file.txt: %{http_code}\n&quot; \<br>&quot;https://alex-morgan.surge.sh/test-file.txt&quot;</pre><p>The result was:</p><pre>test-file.txt: 200</pre><p>Other already-existing static assets such as JPG and SVG files were also served correctly.</p><p>This gave us another important clue:</p><blockquote><em>Static file delivery itself was working. The problem appeared to be specific to a particular file type.</em></blockquote><h3>10. The decisive test: serve the same PDF as .bin</h3><p>To isolate the file extension completely, I used the <strong>exact same PDF content</strong>, but changed only its extension:</p><pre>cp dist/Alex_Morgan_QA_Automation.pdf dist/resume.bin</pre><p>Then I deployed again and I tested the file:</p><pre>curl -s -o /dev/null -w &quot;resume.bin: %{http_code}\n&quot; \<br>&quot;https://alex-morgan.surge.sh/resume.bin&quot;</pre><p>The result:</p><pre>resume.bin: 200</pre><p>I also checked the returned content type:</p><pre>curl -sI &quot;https://alex-morgan.surge.sh/resume.bin&quot; \<br>| grep -i content-type</pre><p>The response contained:</p><pre>content-type: application/octet-stream</pre><p>This was the key experiment.</p><p>We now had:</p><pre>resume.pdf  → 404<br>resume-test.pdf → 404<br>resume.bin  → 200</pre><p>All three files contained the same PDF content. The only meaningful difference was the extension. This isolated the problem to how the hosting platform handled .pdf files.</p><h3>11. The important debugging principle: change one variable at a time</h3><p>The reason this test was so useful is that it followed a classic debugging technique:</p><blockquote><em>Change one variable while keeping everything else constant.</em></blockquote><p>Initially, there were many variables:</p><pre>filename<br>file path<br>file content<br>deployment<br>CDN cache<br>file extension<br>application code</pre><p>By copying the exact same PDF to different filenames and extensions, we could progressively eliminate variables.</p><p>For example:</p><pre>Original PDF<br>     │<br>     ├── Alex_Morgan_QA_Automation.pdf → 404<br>     │<br>     ├── resume-test.pdf                → 404<br>     │<br>     └── resume.bin                     → 200</pre><p>This is much stronger evidence than simply trying several unrelated files.</p><h3>12. The workaround: store the file with a different extension</h3><p>Once the issue had been isolated to .pdf delivery on the hosting setup, the workaround was to store the file on the server using a different extension.</p><p>I renamed the physical file:</p><pre>mv public/Alex_Morgan_QA_Automation.pdf \<br>   public/Alex_Morgan_QA_Automation.bin</pre><p>Then I updated the application code.</p><p>Instead of pointing the resume button to:</p><pre>/Alex_Morgan_QA_Automation.pdf</pre><p>the application points to:</p><pre>/Alex_Morgan_QA_Automation.bin</pre><p>However, I still wanted the downloaded file to have the correct .pdf filename. That can be handled by the HTML download attribute. For example:</p><pre>const resumeHref = &quot;/Alex_Morgan_QA_Automation.bin&quot;;</pre><pre>const resumeFileName = &quot;Alex_Morgan_QA_Automation.pdf&quot;;</pre><p>And the link can use:</p><pre>&lt;a<br>  href={resumeHref}<br>  download={resumeFileName}<br>&gt;<br>  Resume<br>&lt;/a&gt;</pre><p>The important distinction is:</p><ul><li><strong>server-side filename:</strong> .bin</li><li><strong>downloaded filename shown to the user:</strong> .pdf</li></ul><p>The browser can request the .bin URL while using the value of the download attribute as the suggested local filename.</p><h3>13. Remove the temporary test files</h3><p>After identifying the problem, I removed all temporary files:</p><pre>rm -f dist/resume-test.pdf<br>rm -f dist/resume.bin<br>rm -f dist/test-file.txt</pre><p>Then I created a clean production build:</p><pre>npm run build</pre><p>This is an important cleanup step.</p><p>Temporary debugging files should not accidentally become part of the production deployment.</p><h3>14. Deploy the final version</h3><p>The final build was deployed and I verified the production file:</p><pre>curl -s -o /dev/null -w &quot;%{http_code}\n&quot; \<br>&quot;https://alex-morgan.surge.sh/Alex_Morgan_QA_Automation.bin&quot;</pre><p>The result:</p><pre>200</pre><p>I also verified that the temporary files were no longer available:</p><pre>curl -s -o /dev/null -w &quot;resume-test.pdf: %{http_code}\n&quot; \<br>&quot;https://alex-morgan.surge.sh/resume-test.pdf&quot;<br>curl -s -o /dev/null -w &quot;resume.bin: %{http_code}\n&quot; \<br>&quot;https://alex-morgan.surge.sh/resume.bin&quot;<br>curl -s -o /dev/null -w &quot;test-file.txt: %{http_code}\n&quot; \<br>&quot;https://alex-morgan.surge.sh/test-file.txt&quot;</pre><p>The temporary files returned:</p><pre>404</pre><p>while the production .bin file returned:</p><pre>200</pre><h3>15. What curl helped us prove</h3><p>This debugging session demonstrates several useful curl techniques.</p><h3>Check only response headers</h3><pre>curl -sI &quot;https://example.com/file.pdf&quot;</pre><p>Useful for checking:</p><ul><li>HTTP status;</li><li>Content-Type;</li><li>cache headers;</li><li>redirects;</li><li>server headers.</li></ul><h3>Follow redirects</h3><p>For a more complete request:</p><pre>curl -sIL &quot;https://example.com/file.pdf&quot;</pre><p>The -L option follows HTTP redirects.</p><h3>Download without displaying the file</h3><pre>curl -s -o /dev/null &quot;https://example.com/file.pdf&quot;</pre><p>This is useful when you only care whether the request succeeds.</p><h3>Print only the HTTP status code</h3><pre>curl -s -o /dev/null -w &quot;%{http_code}\n&quot; \<br>&quot;https://example.com/file.pdf&quot;</pre><p>This is especially convenient for automated checks and shell scripts.</p><h3>Inspect the content type</h3><pre>curl -sI &quot;https://example.com/file&quot; \<br>| grep -i content-type</pre><p>For example:</p><pre>content-type: application/octet-stream</pre><h3>Add a cache-busting parameter</h3><pre>curl -sI &quot;https://example.com/file.pdf?bust=$(date +%s)&quot;</pre><p>This is useful when investigating whether a cached response might be affecting the result.</p><h3>16. Why this debugging approach is useful</h3><p>A common mistake when debugging deployment issues is changing several things at once. For example:</p><blockquote><em>Rename the file, change the code, rebuild the application, clear the cache, and redeploy.</em></blockquote><p>If the problem disappears, you still don’t know which change actually fixed it. A more reliable approach is experimental:</p><pre>1. Observe the failure<br>        ↓<br>2. Form a hypothesis<br>        ↓<br>3. Change one variable<br>        ↓<br>4. Test again<br>        ↓<br>5. Compare the result<br>        ↓<br>6. Eliminate or confirm the hypothesis</pre><p>In this case:</p><pre>PDF → 404<br>   ↓<br>fresh deployment<br>   ↓<br>PDF → 404<br>   ↓<br>different PDF filename<br>   ↓<br>PDF → 404<br>   ↓<br>same PDF content + .bin extension<br>   ↓<br>BIN → 200</pre><p>That sequence provided strong evidence that the problem was related to the hosting platform’s handling of .pdf resources rather than the application code or the particular PDF filename.</p><h3>17. One important limitation of the final test</h3><p>There is one thing that curl cannot fully verify in this setup.</p><p>The server returning:</p><pre>200</pre><p>for the .bin file proves that the resource is accessible.</p><p>It does <strong>not</strong> prove that the browser will save it locally as:</p><pre>Alex_Morgan_QA_Automation.pdf</pre><p>That behavior is controlled by the browser and the HTML download attribute.</p><p>Therefore, the final step should be a manual browser test:</p><ol><li>Open the deployed website.</li><li>Click the <strong>Resume</strong> button.</li><li>Check the downloaded filename.</li><li>Confirm that it is:</li></ol><pre>Alex_Morgan_QA_Automation.pdf</pre><ol><li>Open the downloaded file and verify that it is a valid PDF.</li></ol><p>This is a good example of why HTTP-level testing and browser-level testing are complementary rather than interchangeable.</p><h3>Conclusion</h3><p>When a static file returns 404 after deployment, don&#39;t immediately assume that the file is missing.</p><p>Use curl to progressively isolate the problem:</p><pre>curl -sI &quot;https://example.com/file.pdf&quot;</pre><p>Check the deployed application:</p><pre>curl -s &quot;https://example.com/&quot; | head -30</pre><p>Test cache behavior:</p><pre>curl -sI &quot;https://example.com/file.pdf?bust=$(date +%s)&quot;</pre><p>Test alternative filenames:</p><pre>curl -s -o /dev/null -w &quot;%{http_code}\n&quot; \<br>&quot;https://example.com/another-name.pdf&quot;</pre><p>Test the same content with another extension:</p><pre>curl -s -o /dev/null -w &quot;%{http_code}\n&quot; \<br>&quot;https://example.com/file.bin&quot;</pre><p>The most valuable part of the investigation was the controlled comparison:</p><pre>Same content<br>+ different extension<br>= different HTTP result</pre><p>That turned a vague “the PDF is not working” problem into a specific hosting-layer issue.</p><p>The final workaround was to serve the file under an extension that the hosting platform accepted and use the browser’s download attribute to preserve the intended .pdf filename for the user.</p><p>The broader lesson is simple:</p><blockquote><strong><em>When debugging HTTP problems, don’t guess — isolate variables and let the HTTP response tell you where the problem is.</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cb16816771a9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How We Finally Got the Allure Dashboard Working Inside Azure DevOps]]></title>
            <link>https://medium.com/@iravizion/how-we-finally-got-the-allure-dashboard-working-inside-azure-devops-29126e6c5ef4?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/29126e6c5ef4</guid>
            <category><![CDATA[playwright-automation]]></category>
            <category><![CDATA[allure-report]]></category>
            <category><![CDATA[test-automation]]></category>
            <category><![CDATA[azure-devops-pipeline]]></category>
            <category><![CDATA[qa]]></category>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Fri, 14 Aug 2026 19:31:30 GMT</pubDate>
            <atom:updated>2026-08-14T19:31:30.575Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Every error, every wrong turn, and the one-liner that made it all work — documented in order.</blockquote><p>We had Playwright tests running on Azure DevOps. We had the <strong>Allure Report by Qameta</strong> extension installed in the organization. What we didn’t have was a working Allure dashboard — just a bare pipeline that ran tests and showed nothing.</p><p>This is the full account of what we did, what broke, why it broke, and what finally fixed it. If you’re setting this up yourself, this is the guide I wish existed when we started.</p><h3>The Starting Point</h3><p>The project was a Next.js app with Playwright e2e tests. The pipeline ran npx playwright test and published JUnit results with PublishTestResults@2. The Allure extension was installed at the organization level. Node.js version: <strong>18.x</strong>. Playwright version: <strong>1.62.1</strong>.</p><p>Goal: Allure dashboard visible directly in the Azure DevOps build results — with graphs, categories, timeline — without downloading anything.</p><h3>The Journey, Step by Step</h3><p><strong>1. Added allure-playwright reporter + PublishAllureReport@1</strong></p><p>Added allure-playwright to package.json, configured it as a reporter in playwright.config.ts, and added the PublishAllureReport@1 task to the pipeline.</p><p><strong>✕ FAIL — Task version not found</strong></p><p>The pipeline errored immediately:</p><pre>A task is missing. The pipeline references a task called<br>&#39;PublishAllureReport&#39; with version &#39;1&#39;. This indicates<br>that the specific task version can not be found.</pre><p>The extension installed in our organization was version <strong>2</strong>, not 1. Changed to PublishAllureReport@2.</p><p><strong>✕ FAIL — Node.js 18 incompatible with Playwright 1.62</strong></p><p>The next run failed at npm ci:</p><pre>npm warn EBADENGINE Unsupported engine {<br>  package: &#39;@playwright/test@1.62.1&#39;,<br>  required: { node: &#39;&gt;=20&#39; },<br>  current: { node: &#39;v18.20.8&#39; }<br>}</pre><p>Playwright 1.47+ requires Node.js 20. The pipeline used the deprecated NodeTool@0 task at version 18.x. Fixed by switching to UseNode@1 at version: &#39;20.x&#39;.</p><p><strong>✓ Tests pass — 24/24, 100%</strong></p><p>All 24 Playwright tests passed. But the Allure tab still wasn’t appearing. The pipeline summary showed: <strong>0 published</strong>.</p><p><strong>! PublishAllureReport@2 generates report but silently skips publish</strong></p><p>The task log showed generation succeeding — but no publish step:</p><pre>Found 5 test results files.<br>Downloading Allure CLI from github.com/.../allure-2.32.0.tgz<br>/opt/.../allure &quot;generate&quot; &quot;--single-file&quot; ... <br>Report successfully generated to /tmp/allure-report-OkmTA8<br>Finishing: Publish Allure Report</pre><p>The report was generated to /tmp. Then: nothing. Version 2.2.1 of the Qameta task has a bug where the publish step runs silently without logging errors or uploading the attachment.</p><p><strong>✕ Workaround attempt: PublishBuildArtifacts + allure generate</strong></p><p>Replaced the Qameta task with a manual approach: run allure generate --single-file and upload the output as a pipeline artifact using PublishBuildArtifacts@1. This produced a downloadable index.html — but the user had to download it to view it. Not acceptable.</p><p><strong>✕ Workaround attempt: manual ##vso[task.addattachment]</strong></p><p>Researched the extension’s source code to find the correct attachment types. Tried emitting the attachment commands manually from a shell script:</p><pre>REPORT_ID=$(cat /proc/sys/kernel/random/uuid)<br>echo &quot;##vso[task.addattachment \<br>  type=allure.report.summary;\<br>  name=summary-${REPORT_ID}.json]${SUMMARY_FILE}&quot;<br>echo &quot;##vso[task.addattachment \<br>  type=allure.report.${REPORT_ID};\<br>  name=report.html]$(pwd)/allure-report/index.html&quot;</pre><p>The types were correct (allure.report.summary and allure.report.{uuid}) but the tab still didn&#39;t appear. The attachment commands were running but not being processed by the agent correctly.</p><p><strong>✓ Bonus win: JUnit reporter → native Tests tab</strong></p><p>While debugging, added a second reporter to playwright.config.ts:</p><pre>reporter: [<br>  [&#39;allure-playwright&#39;, { detail: true, outputFolder: &#39;allure-results&#39; }],<br>  [&#39;junit&#39;, { outputFile: &#39;test-results/results.xml&#39; }],<br>],</pre><p>This unlocked the native <strong>Tests</strong> tab in Azure DevOps with a donut chart, pass/fail counts, individual test names, and trend history. Not Allure, but useful and zero configuration.</p><p><strong>✓ The fix: System.Debug: ‘true’</strong></p><p>Added one variable to the pipeline:</p><pre>variables:<br>  System.Debug: &#39;true&#39;</pre><p>Combined with pre-installing allure-commandline globally (so the task finds allure in PATH) and passing SYSTEM_ACCESSTOKEN — the Allure Report tab appeared.</p><blockquote><strong>Key Discovery</strong></blockquote><blockquote>System.Debug: &#39;true&#39; is what made it work. When debug mode is enabled, the Azure DevOps agent fully processes ##vso[task.addattachment] commands emitted by extension tasks. Without it, version 2.2.1 of the Allure task generates the report but the attachment is silently dropped.</blockquote><blockquote>We isolated it: SYSTEM_ACCESSTOKEN and the pre-installed Allure CLI were already in place on the previous run — and the tab still didn&#39;t appear (&quot;0 published&quot;). System.Debug: &#39;true&#39; was added alone on the next run, and that was the run where the Allure Report tab showed up for the first time.</blockquote><h3>The Working Configuration</h3><h3>package.json</h3><pre>&quot;devDependencies&quot;: {<br>  &quot;allure-commandline&quot;: &quot;^2.32.0&quot;,<br>  &quot;allure-playwright&quot;:  &quot;^3.0.0&quot;,<br>  &quot;@playwright/test&quot;:  &quot;^1.62.1&quot;<br>}</pre><h3>playwright.config.ts</h3><pre>export default defineConfig({<br>  reporter: [<br>    [&#39;allure-playwright&#39;, { detail: true, outputFolder: &#39;allure-results&#39; }],<br>    [&#39;junit&#39;, { outputFile: &#39;test-results/results.xml&#39; }],<br>  ],<br>  outputDir: &#39;test-results/&#39;,<br>  testDir: path.join(__dirname, &#39;e2e&#39;),<br>  // ...<br>});</pre><h3>azure-pipelines.yml</h3><pre>pool:<br>  vmImage: &#39;ubuntu-latest&#39;<br><br>variables:<br>  System.Debug: &#39;true&#39;   # ← the one that unlocks the Allure tab<br><br>steps:<br>  - task: UseNode@1             # Node 20 required for Playwright 1.47+<br>    inputs:<br>      version: &#39;20.x&#39;<br><br>  - script: |<br>      npm ci<br>      npx playwright install --with-deps<br><br>  - script: npx playwright test<br>    continueOnError: true     # publish even when tests fail<br>    env:<br>      BASE_URL:  $(BASE_URL)<br>      USERNAME:  $(USERNAME)<br>      PASSWORD:  $(PASSWORD)<br><br>  - task: PublishTestResults@2  # native Tests tab<br>    inputs:<br>      testResultsFormat: &#39;JUnit&#39;<br>      testResultsFiles:  &#39;test-results/results.xml&#39;<br>      mergeTestResults:  true<br>      failTaskOnFailedTests: false<br>    condition: always()<br><br>  - script: npm install -g allure-commandline@2.32.0<br>    condition: always()         # pre-install so task finds &#39;allure&#39; in PATH<br><br>  - task: PublishAllureReport@2<br>    inputs:<br>      allureVersion:  &#39;2.32.0&#39;<br>      testResultsDir: &#39;allure-results&#39;<br>      reportName:     &#39;Allure Report&#39;<br>    condition: always()<br>    env:<br>      SYSTEM_ACCESSTOKEN: $(System.AccessToken)</pre><h3>Takeaways</h3><p><strong>Git state matters more than you think.</strong> Two of our failures came from the gap between local and remote: a file deleted locally that was still running on the agent, and 400+ lines of commented-out tests that never got committed. Always verify what’s actually in the remote before debugging the pipeline.</p><p><strong>Read the task version, not just the task name.</strong> PublishAllureReport@1 and PublishAllureReport@2 are different things. The version in your YAML must match what&#39;s installed in the organization.</p><p><strong>Playwright 1.47+ is a Node.js 20 requirement, not a suggestion.</strong> The engine warning looks ignorable. It isn’t — it surfaces as flaky behavior and install failures.</p><p><strong>System.Debug is not just for logging.</strong> In Azure DevOps, System.Debug: &#39;true&#39; changes how the agent processes certain task commands. For the Allure Report extension v2.2.1, it&#39;s the difference between a tab that appears and one that silently doesn&#39;t.</p><p><strong>The JUnit reporter is worth adding regardless.</strong> The native Tests tab gives you a donut chart, per-test history, and trend data — all for one extra line in playwright.config.ts. It works independently of the Allure tab and costs nothing.</p><p><strong>Document what worked as a reusable command.</strong> This setup now lives as a /setup-allure-azure slash command in Claude Code — one invocation wires up a new project without repeating the debugging.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29126e6c5ef4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From WeakMaps to Shared Fixtures: 221 Lines Fewer in Our Playwright BDD Suite]]></title>
            <link>https://medium.com/@iravizion/from-weakmaps-to-shared-fixtures-221-lines-fewer-in-our-playwright-bdd-suite-a0a0a3a40356?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/a0a0a3a40356</guid>
            <category><![CDATA[bdd-testing]]></category>
            <category><![CDATA[testing]]></category>
            <category><![CDATA[playwright-automation]]></category>
            <category><![CDATA[e2e-testing]]></category>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Tue, 04 Aug 2026 13:10:22 GMT</pubDate>
            <atom:updated>2026-08-04T13:10:22.213Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9IZwqFHmgS5kMh1GCYUO7g.png" /></figure><p>How we eliminated five copies of the same auth helper, seven WeakMap state hacks, and seventeen scattered process.env reads by introducing a single fixtures.ts.</p><p>Our end-to-end test suite for the Quantori AI platform is written in Playwright BDD — Gherkin feature files, TypeScript step implementations, and Azure DevOps as the test rail. The suite covers 180 scenarios across authentication, API contract, accessibility, admin notifications, CV tailoring, and more. After several months of iterative growth it had quietly accumulated a maintenance problem that is easy to miss until you try to change something fundamental.</p><p>Every step file that needed to make an API call had copied the same small bootstrap: read TEST_ACCESS_TOKEN from the environment (or fall back to a cookie), read API_URL, read BASE_URL. Files that needed to carry state between steps had reached for WeakMap&lt;Page, SomeState&gt; — a pattern that works, but one that is invisible to Playwright&#39;s fixture lifecycle, untyped at the call site, and duplicated in every file that needed it.</p><p><em>The code was correct. It was also a quiet liability: five independent copies of the same token-resolution logic, each one a future bug waiting to diverge.</em></p><h3>What the code looked like before</h3><p>Here is a representative excerpt from post-images.steps.ts, the largest step file in the suite. This pattern appeared — with minor local variations — in eight files.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f7sLQEG_CTOHGqcWxb-Gew.png" /></figure><p>Every step that needed state had to call state.get(page), handle the undefined case, and call state.set(page, …) after mutations. Every step that needed the token re-invoked resolveAuthToken. The logic was equivalent across all eight files — but it was not shared. A change to how tokens are resolved would need eight edits to stay consistent.</p><h3>Introducing fixtures.ts</h3><p>playwright-bdd supports Playwright&#39;s native fixture system: you extend the base test object, declare typed fixture values, and they are injected into every step that declares them as a parameter — just like page or request. Playwright handles setup, teardown, and per-test isolation automatically.</p><p>We created a single fixtures.ts at the root of the e2e/ directory, exported the extended test object and the BDD helpers from it, and updated the playwright.config.ts steps glob to include it. Every step file then imports Given, When, Then, Before, and After from ../fixtures instead of from playwright-bdd directly — which is the only import change needed in each step file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nmcIjd-iXAy22qRf8Ez6qw.png" /></figure><p>The state fixtures replace all WeakMap patterns. Because Playwright creates a fresh fixture value for each test, isolation is automatic — no .get(page) on entry, no .set(page, …) after mutations. Steps just mutate the object directly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*anfeKkqZ87FrE3r_nhL6PA.png" /></figure><h3>The numbers</h3><p>The refactor touched 8 step files plus playwright.config.ts. Here is what changed across the whole commit:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lGEmvenSyr8MGffEXH967w.png" /></figure><h3>What the refactor actually changes</h3><h3>Single source of truth for auth</h3><p>Before the refactor, updating how a token is resolved — switching from a cookie fallback to an environment variable, adding a refresh step, or changing the cookie name — required finding and editing every copy of the helper. One of those copies might be subtly different. After the refactor, that logic exists in exactly one place.</p><h3>State is typed and isolated by default</h3><p>WeakMaps are not wrong, but they push a decision onto every step author: remember to call .get(page), remember to initialise the default, remember to call .set(page, …). With fixtures, Playwright owns the lifecycle. Each test receives a fresh copy of the state object; tests cannot bleed into each other even when running in parallel. The TypeScript type is declared once in the fixture definition and inferred automatically at every call site.</p><h3>The step signature documents its dependencies</h3><p>A step that previously read async ({ page }) and then silently called a module-level function now reads async ({ page, authToken, apiUrl, postImagesState }). Everything the step needs is visible in its parameter list. Nothing is hidden behind a closure or a module-scoped variable.</p><blockquote>Playwright fixture tipplaywright-bdd&#39;s createBdd(test) accepts your extended test object and returns Given, When, Then wrappers that carry the full fixture graph. Existing step signatures that only use page need no changes — they simply have access to more fixtures than they previously declared.</blockquote><h3>Takeaways</h3><p>The pattern here is not complex. playwright-bdd and Playwright itself have supported fixtures from the beginning; we were simply not using them for anything beyond page and request. The refactor required no new dependencies, no architectural change, and no changes to feature files or playwright.config.ts beyond a one-line glob update.</p><p>What it did require was recognising that a WeakMap is a workaround for the absence of a better tool, and that copying a function five times is a signal — not a pattern to follow. The investment was a single afternoon. The maintenance saving compounds every time a new step file is added without a copy of the auth helper.</p><blockquote>If your step files have module-scoped WeakMaps, they are probably telling you something about missing fixtures.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a0a0a3a40356" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[We Read About the Hugging Face Hack. Then We Audited Our Own App.]]></title>
            <link>https://medium.com/@iravizion/we-read-about-the-hugging-face-hack-then-we-audited-our-own-app-9d68c5f60d87?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/9d68c5f60d87</guid>
            <category><![CDATA[security]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[devsecops]]></category>
            <category><![CDATA[fastapi]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Fri, 31 Jul 2026 17:51:15 GMT</pubDate>
            <atom:updated>2026-07-31T17:51:15.821Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AprkoY5TbypEyK_HBFYFYg.png" /></figure><p>Last week, Hugging Face published a detailed post-mortem about how an autonomous AI agent — built on OpenAI models and running inside a cybersecurity evaluation — broke into their systems over four and a half days, executing 17,600 actions without a single human stepping in to stop it.</p><p>It wasn’t a rogue agent. It wasn’t disobeying orders. It was doing exactly what it was designed to do — find exploits — just against the wrong target. One leaked password opened a chain of compromises that ultimately reached several company systems.</p><p>Hugging Face’s conclusion was blunt: the agent exploited unsafe dataset processing, exposed cloud metadata, overly broad access permissions, and long-lived credentials. A capable human hacker could have found the same flaws. The difference was scale and relentlessness.</p><p>That summary sat with us for a while.</p><p><strong>“Are We Actually Protected?”</strong></p><p>We’re a team building an internal AI platform — a production web app with a Python/FastAPI backend, React frontend, and infrastructure on Azure Kubernetes Service. Nothing exotic. But we realized we’d never systematically checked our codebase against exactly the four vulnerability categories the Hugging Face report named.</p><p>So we did. Here’s what we found.</p><h3>The Four Categories, Checked</h3><ol><li><strong>Unsafe Data Processing</strong></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Tnjaam2V76yo3G7jSs-yg.png" /></figure><p>The path traversal issue was subtle. Two endpoints that served locally stored files used <strong>normpath </strong>to resolve the path from a database record. The problem: <strong>normpath</strong> doesn’t resolve symlinks and doesn’t verify the path stays inside the upload directory.</p><p><strong>2. Exposed Cloud Metadata</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VTatGE9HbaZW-ayxUf-SPA.png" /></figure><p>Azure’s Instance Metadata Service lives at 169.x.x.x — a link-local address. Our app had a solid url_safety module that blocked requests to private IPs, loopback, and link-local ranges. But it was only wired up in one code path. An admin-only backfill endpoint that fetched external article URLs was calling some get-requests directly — no validation. A compromised admin account could have used it to probe internal infrastructure or steal identity tokens from Azure IMDS.</p><p><strong>3. Overly Broad Access Permissions</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h8FpsqHhynGqOqkXAdXdCw.png" /></figure><p>This was the most sobering category. Every Kubernetes deployment manifest — backend, frontend, AI scraper, sync jobs — was missing a <strong>securityContext</strong> block entirely. In Kubernetes, that means containers run as root with no privilege restrictions unless the cluster enforces a Pod Security Admission policy at the namespace level.</p><p><strong>4. Long-Lived Credentials</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*vnkFclH8yfgaAcy9BEtkeA.png" /></figure><p>The SAS token stood out. Seven-day Azure blob storage tokens mean that if a token leaks — in a log file, an error response, a misconfigured header — it stays valid for a full week. The JWT access token at 30 minutes is fine. The gap between the two is the real exposure window.</p><h3>What We Fixed</h3><p>We immediately patched the two code-level vulnerabilities — the ones where a single HTTP request could cause direct harm.</p><p><strong>Fix 1 — SSRF in the backfill endpoint</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J5EPt7I2YVRI1CbKHHQCsg.png" /></figure><p><strong>Fix 2 — Path traversal in file-serving endpoints</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yhbfylayJB_QjIUttE5uBw.png" /></figure><h3>What We’re Still Fixing</h3><p>The <strong>securityContext</strong> and NetworkPolicy gaps are real, but they’re infrastructure changes that need coordination with the team managing the AKS cluster. The SAS token lifetime will be reduced from 7 days to 1 hour — a config change that first needs verification that no client flow assumes token reuse across sessions.</p><p>We’re being honest about this: a post saying “we found everything and fixed everything in an afternoon” would be fiction. The code-level bugs are gone. The infrastructure hardening is in progress.</p><h3>The Actual Takeaway</h3><p>The Hugging Face incident wasn’t about a superintelligent AI exploiting zero-days. It was about an agent that checked everything, relentlessly, until something opened. The vulnerabilities it found were ordinary: a leaked password, overly permissive credentials, an endpoint that trusted too much.</p><p>What made it alarming was scale: 17,600 actions over four days. A human pentester might have found the same flaws eventually. The agent found them all, without getting tired.</p><p>The practical question for any team isn’t <em>“are we theoretically secure?”</em> It’s <em>“have we checked ourselves against the things that actually got exploited?”</em></p><p>We hadn’t — until we read their post-mortem. It took an afternoon.</p><blockquote>All code snippets are simplified. The fixes described are real changes made to a production codebase on the same day we ran the audit.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9d68c5f60d87" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[When a Security Advisory Turns a Green Pipeline Red Without Code Changes]]></title>
            <link>https://medium.com/@iravizion/when-a-security-advisory-turns-a-green-pipeline-red-without-code-changes-2a767742d523?source=rss-81e4f6b0af60------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a767742d523</guid>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[ci-cd-pipeline]]></category>
            <category><![CDATA[security]]></category>
            <category><![CDATA[npm]]></category>
            <dc:creator><![CDATA[Irina Zhuravleva]]></dc:creator>
            <pubDate>Fri, 24 Jul 2026 19:54:27 GMT</pubDate>
            <atom:updated>2026-07-24T19:54:27.861Z</atom:updated>
            <content:encoded><![CDATA[<p>We had just tagged <strong>v2.1.4</strong> after a productive afternoon of refactoring, performance improvements, and cleanup. Everything looked healthy: pre-commit hooks passed, TypeScript was clean, Ruff was happy, and the release was ready to ship.</p><p>Then the pipeline failed.</p><p>Recently, we had strengthened our CI security checks, including dependency vulnerability scanning as part of our broader OWASP Top 10 security improvements. The new check was doing exactly what it was supposed to do: it caught a newly published security advisory before the release moved further.</p><p>npm audit had started reporting a new high-severity vulnerability in <strong>react-router: </strong>GHSA-qwww-vcr4-c8h2, a CSRF bypass affecting applications using the unstable RSC APIs.</p><p>The surprising part was the timing.</p><p>We had deployed <strong>v2.1.3</strong> successfully only three hours earlier with the <strong>exact same dependency tree</strong>. Then we tagged <strong>v2.1.4</strong> with application changes, but without touching React Router or updating our lockfile and the pipeline failed.</p><p>So what changed in those five hours?</p><p>A quick look at the GitHub Advisory API answered the question.</p><p>The advisory was published at:</p><pre>published_at: 2026-07-24T16:44:43Z</pre><p>Before that moment, our existing React Router version was not flagged by npm audit. Once the advisory became public, the same dependency version started failing the security check.</p><p>The thing that changed was not our dependency tree.</p><p>It was the security information our CI pipeline consumed.</p><p>The advisory marked versions <strong>7.12.0 through 8.2.0</strong> as vulnerable and identified <strong>8.3.0</strong> as the first patched release.</p><p>This is an easy detail to overlook when thinking about reproducible builds.</p><p>We usually think of CI results as a function of our source code, dependencies, and lockfile. In reality, some parts of the pipeline also depend on external systems (vulnerability databases, package metadata, and security feeds) that evolve independently of your repository.</p><p>That means the same dependency state can produce different CI results depending on <strong>when</strong> the pipeline runs.</p><p>In this case, npm audit was doing exactly what it was designed to do. It wasn&#39;t reacting to a code change. It was reacting to newly published security information.</p><p>Since then, one of the first questions we ask when a previously green pipeline turns red is:</p><blockquote><strong><em>Did our code change, or did the ecosystem change?</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a767742d523" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>