Every build a record.
+ The questionWhen code is built and tested automatically on every change, what turns that pipeline into evidence, and where must a person still decide?
Deploying many times a day
DORA, a research program at Google Cloud, runs a survey of software delivery. In its 2024 survey, 19 percent of respondents, the best-performing fifth, formed what DORA calls the elite group. These respondents deployed changes on demand, often several times a day, and their changes took less than a day to go from code to production, the live system that users run. Of their deployments, 5 percent failed, and they recovered from a failed deployment in less than an hour. The survey covers technology workers in general, not medical device makers, and the difference in pace is deliberate: a device maker cannot put a new version in front of patients several times a day, and should not.
What the best general software teams do have is a pipeline: an automated sequence that takes every change a developer submits, builds the software from source, runs the tests, checks the code with analysis tools, and packages the result, with no step done by hand. Device makers increasingly use the same kind of pipeline, not to release faster to patients but to make every internal build a complete, repeatable record. With a pipeline, the regression testing of Chapter 7 runs on every change instead of in occasional campaigns.
The change failure rate is the share of deployments that fail, and for the elite group it was 5 percent. At three deployments a day, that rate produces 0.15 failed deployments a day, about one a week counting every day. In a test environment such a failure costs little: the team finds it within hours and rolls the change back to the previous version. For released device software the same arithmetic would mean a field failure each week. A device maker therefore runs the frequent cycle internally, where failures are expected and contained, and keeps the release to patients as a separate, verified and approved event, as Chapter 8 described.
What makes a pipeline evidence
A pipeline produces evidence when its outputs can be trusted and traced. Configuration management means identifying and controlling every item that goes into a build: the source code, the SOUP versions, the build scripts, and the compiler and its settings. Its purpose is that the same inputs produce the same software, and IEC 62304 requires it at every class. A reproducible build goes one step further: rebuilding a past release from its recorded inputs gives a bit-for-bit identical result, so the maker can show that the version tested and the version shipped are the same.
Each stage then leaves a record tied to the exact build it checked. Unit and integration test results are stored with the commit behind the build and linked to the requirements they verify; a commit is a recorded version of the source code, and the build is made from it. The pipeline also generates the static analysis reports, the coverage reports and the software bill of materials of Chapter 6, so that no one assembles them by hand and they describe the build that exists rather than the one someone remembers. The full system tests may take hours on real hardware, and they run nightly or before each candidate release. When someone proposes a release, the team does not collect the evidence for it; it retrieves records that already exist.
Two decisions stay with people. Someone must judge each unresolved anomaly and decide that none leaves an unacceptable risk, and someone authorized must approve the release itself. The pipeline can check that every required record exists and every test passed. Whether the remaining defects are acceptable for patients is a judgment, and IEC 62304 and the regulators expect a named person to make it.
Trusting the tools
The pipeline's tools are software too: the build system, the test runner, the coverage tool, the static analyzer, the SBOM generator, and the issue tracker that holds the trace links. None of them ships in the device, so none is SOUP. Each is, however, quality-system software, because the maker uses it in its quality system: the set of controlled processes by which a maker designs, makes and monitors its devices. The maker must validate each tool for its intended use, whether the tool was bought, is open-source or was written in-house. A test runner that reports a pass for a test that never ran, or a coverage tool that miscounts, would produce false evidence about a device that might be dangerous.
ISO 13485:2016 is the quality-management standard for device makers, and the FDA's rules have incorporated it since February 2026. It requires a maker to validate software used in its quality system and in manufacturing, before first use and after changes, in proportion to the risk of its use. In 2017 ISO published guidance on doing so, its technical report 80002-2. The FDA sets out a risk-based approach in its guidance on computer software assurance. The agency finalized that guidance on 24 September 2025 and reissued it on 3 February 2026 under the title Computer Software Assurance for Production and Quality Management System Software.
Under the guidance, a function is high process risk if its failure "may result in a quality problem that foreseeably compromises safety". For such functions the guidance suggests more rigorous assurance, such as documented, scripted testing, which follows written steps with stated expected results. For other functions it suggests lighter, unscripted methods such as exploratory testing, in which the tester designs and runs tests while learning how the software behaves. The guidance replaces one section of the FDA's 2002 software validation guidance. It explicitly does not cover the device software itself, which remains under design controls.
Some pipeline failures produce records that look complete: a test step that silently skips tests after a configuration change, a runner that treats a crash as a pass, and an SBOM generator that misses dependencies loaded at run time. The most direct check is to insert known faults on purpose, a practice called seeding, and confirm that the pipeline catches them. That check should be repeated whenever a tool or its configuration changes.
After release: fixes and maintenance
Release starts the longest part of a device's software life. IEC 62304 requires a maintenance plan and a problem-resolution process. Under that process, field reports and internal findings become problem reports, and each report is investigated and classified for its effect on safety. Changes go through the same controlled process as development, and trends across problems are analyzed. The lessons of Chapter 2 apply directly here. In the FDA's count from 1992 to 1998, 79 percent of software recalls came from defects introduced by changes after release, and the Tandem app recall of 2024 followed a change to software that already worked.
Hosted software changes how fixes reach users. When software runs on a maker's server, as IDx-DR's analysis does, a fix can reach every user at once and can be rolled back at once, which is an advantage for safety. The same property is a risk for control: any change, not only a fix, can reach every user at once. A function can also be turned on for some users by a switch, often called a feature flag. Turning a function on this way is a change to the released device, however small the switch, and it goes through change control. Whether that change needs a regulator's review depends on its effect on claims and risk, and Chapter 28 sets out the rules for the US, the EU and India.
Much code in the field also predates the processes now expected of it. The 2015 amendment to IEC 62304 added a route for legacy software: software that is legally marketed but lacks enough evidence that it was built to the standard. The route has four parts: a risk analysis using field experience, a gap analysis against the standard's requirements, a plan to close the gaps that matter, and a documented rationale for continued use.
List the tools in the pipeline and, for each, the records it produces and what a silent failure would do to the device's evidence. Give scripted testing with seeded faults to the tools that produce verification results, coverage, builds and SBOMs; pin their versions and archive the build environment with each release; and use lighter, unscripted assurance for tools whose failure could not compromise a release.
- A pipeline builds and tests every change automatically; device makers use it to make each build a complete record, not to release faster to patients, and a person still judges open anomalies and approves each release.
- Configuration management, reproducible builds and records tied to each build let a release's evidence be retrieved rather than assembled.
- Pipeline tools are quality-system software that must be validated in proportion to risk, the approach of the FDA's computer software assurance guidance.
- After release, maintenance and problem resolution follow the same controls, and legacy software needs a gap analysis and a rationale for continued use.
Let's Talk