Systems and records
Workaround vs permanent fix: dataset fields 357 browser patches lacked
By SourceX Editorial · Updated
9 sections
Short answer
A workaround permanent fix dataset must record more than the change: the condition a workaround waits for, the risk it leaves, who owes the real fix, what evidence retired it and whether it returned. Mozilla's archived Firefox site-patch history shows why: of 207 removals between 2019 and 2025, 191 stated no reason, only 4 of 191 live patches encoded an end condition, and five came back after removal.
Record timeline
Workaround vs permanent fix
Key takeaways
- Half of the Firefox site patches added from March 2019 were still active about 460 days after landing; dropping unretired patches halves that figure to 235 days.
- Removal is an event, not proof of a fix: 191 of 207 removals stated no reason, and two accidental removals were explained only on the commits that restored them.
- Fix labels change after publication: 184 of CISA's 506 advisories for 2025 were revised, and one Siemens advisory withdrew a fix as insufficient.
- Store an eight-field decision trace and label outcomes only when the trace holds the required evidence; unknown is a valid label.
- Buyers should ask suppliers for denominators on end conditions, retirement evidence and reopenings, and for tracker links that carry the reasons.
What separates a workaround from a permanent fix in an engineering record?
A workaround changes behavior around a defect that still exists; a permanent fix removes the defect where it lives, and the proof is that the workaround can later be retired without the problem returning. An engineering record keeps that difference only if it stores six things beside the change itself: its kind, the condition that should end it, the risk it leaves open, who owes the real fix, the evidence that retired it, and whether it came back.
Most histories store the change and little else. A commit that wraps a failing call in a retry, pins a dependency or special-cases one customer looks, in a diff, much like the commit that repaired the cause. Months later the ticket is closed and the detour has become structure. A coding agent trained on that history learns to ship the detour and call it done, and an evaluation built from it scores a stopgap as a solution.
Neighboring pages cover the adjacent questions: proving a production fix with a linked issue, test, deploy and outcome, and labeling what a vendor actually supplied. This page follows a workaround after it ships, through the months it stays in place and the moment someone removes it, using two public record sets that anyone can recount from their repositories.
How long do workarounds last? 357 Firefox site patches, counted
Longer than their temporary label suggests. Half of the site patches Mozilla added to Firefox between March 2019 and March 2025 were still in place about 460 days after they landed, by a Kaplan-Meier estimate that keeps still-active patches in the denominator instead of dropping them.
Firefox ships site-specific interventions, which Mozilla's wiki describes as workarounds for particular websites that users can switch off on an about:compat page, with a test framework that checks whether each one is still needed on the live site (a paraphrase of the wiki page). Until 2025 they were developed in a separate repository, mozilla-extensions/webcompat-addon, whose README now says the primary source moved into the Firefox tree and the repository will stay archived. Mozilla's notes from a 2020 work week record that the team originally treated the add-on as a channel for temporary interventions only (also a paraphrase), so every record in it was meant to end.
We read the intervention data files at each of the 779 commits on the main branch's first-parent chain, counted a record as a Bugzilla bug number, and dated each appearance and disappearance by the commit that landed it. Structured bug fields begin on March 5, 2019, and observation ends on March 19, 2025, the last commit that changed the set of records. Twenty-three records already present at the start are left out of the lifetime figures.
Of the 357 records added after that, 188 were removed and 169 were still active when observation ended. The estimate keeps 57.0 percent of patches in place a year after landing and 38.2 percent after two years. The median of completed lifetimes alone is 235 days, about half the censored estimate, which is exactly the error a dataset makes when it quietly drops workarounds nobody has retired yet.
What the repository recorded about those patches, element by element, is in the table below:
| Record element | What the repository holds | Count | Label it can support |
|---|---|---|---|
| Problem label | An issue category per site bug, in the JSON format adopted in 2025 | 26 categories across 248 site bugs at the final commit | Defect type, not duration |
| Link to a public report | A webcompat.com or web-bugs issue URL in the entry's comment | 98 of 309 records added in the JavaScript era | Where the problem was reported |
| End condition | A max_version or skip_if field that switches the patch off | 4 of 191 records at the final commit | Intended duration |
| Retirement reason | Words in the removing commit such as no longer needed, or that the site has fixed it | 16 of 207 removals | Why the workaround ended |
| Removal linked to its record | The removing commit's message names the record's bug number | 13 of 207 removals | Which change retired which workaround |
| Reopening | A record removed and later added back | 5 records, restored after 13.0 to 62.3 days | A retirement that was premature |
Does removing a workaround prove the permanent fix landed?
No. A removal records that someone stopped applying the workaround; it rarely records why. Of the 207 removal events in the Firefox history, 191 carried no reason under the stated matching rules, and 182 sat in commits whose subject named a different bug from the patch being retired, often a separate removal bug or a release roll-up that retired several patches at once.
The reasons that were written show how different the endings can be. Fourteen removals said the patches were no longer needed or obsolete, and one removed a user-agent override "for now". Only one names the permanent fix directly: a May 2021 commit backed out a TikTok patch "as site has fixed it", which is the full cycle a dataset wants to teach and the rarest record in the set.
Reopenings are the clearest sign that a removal can be wrong. Two of the five came from Mozilla's January 2025 move of the intervention list into a JSON file, which dropped two patches; commits 13.0 days later re-added them and say they had been accidentally removed. The removing commit gave no hint of a mistake. The explanation exists only on the commit that undid it, so a dataset that labels removals without reading later history would mark both patches as cleanly retired.
There is a fair objection. Mozilla tracks each patch in Bugzilla, and many reasons probably sit in bug comments rather than commit messages. That is likely, and it is the practical point for anyone assembling engineering data: a repository exported without its tracker keeps the change and drops the judgment, so the tracker link is not a convenience; it is where the label lives.
Can a permanent fix turn out to be temporary?
Yes, and security advisories record it more explicitly than code histories do. The CSAF 2.0 standard gives remediations five categories (workaround, mitigation, vendor_fix, none_available and no_fix_planned) and says a vendor fix is assumed to fully resolve the vulnerability unless otherwise noted; advisory revision histories show when that assumption failed.
We counted the 506 industrial control system advisories in the 2025 folder of CISA's public CSAF repository, at its October 22, 2026 commit. They list 9,853 affected pairs of vulnerability and product. For 3,969 pairs, 40.3 percent, no remediation of category vendor_fix covers the product, which leaves mitigations, workarounds, a statement that no fix exists or is planned, or nothing at all; 1,795 pairs carry such a statement, and 277 of the 506 advisories, 54.7 percent, contain at least one unfixed pair. The workaround category itself is rare, used in 52 of 6,414 remediation entries against 3,304 mitigations, and only 6 entries fill the optional field that dates when a remediation became available.
Dates live in revision histories instead. Of the 506 advisories, 184 (36.4 percent) were revised at least once, and 45 carry a later revision whose summary announces a fix added after first publication. Siemens' Teamcenter advisory runs the other way: its second revision, dated February 25, 2025, removed fix version information because the implemented fix was insufficient, and later revisions added hot fixes and then fix releases. A Schneider Electric Modicon advisory first released in 2019 had reached 19 revisions by April 2026, including a 2020 entry saying a previous fix for two product lines was not enough and required additional mitigations.
For a dataset, the lesson is that a fix label needs a version and a date, not only a value. A record frozen at first publication can call a product unfixed after a fix shipped, or fixed after the fix was withdrawn.
The decision trace and outcome rubric for workaround records
Store each change as a decision trace with eight fields, then assign one outcome label from the rubric only when the trace holds the evidence that label requires. A label without its evidence becomes unknown, which is a legitimate value and far more useful to a model than a confident guess.
The trace fields mirror what the Firefox and CISA records kept or lacked. Kind and problem link were usually present; end condition, residual risk and retirement evidence were absent or rare; reopen links existed only when someone wrote one on the restoring commit. The rubric's counts come from the two analyses above and are measured, not illustrative.
The eight trace fields come first in the list below, followed by the outcome rubric:
- Kind: workaround, mitigation, permanent fix or reversal, set by the author or reviewer when the change lands, not inferred later from the diff.
- Problem link: the issue, incident or external report the change answers, by identifier.
- End condition: the version, date, upstream fix or observable behavior that should retire a workaround, stored as data the way Firefox's max_version and skip_if fields do.
- Residual risk: what still fails or stays exposed while the workaround is in place, in one sentence a reviewer can check.
- Follow-up obligation: the tracking item for the permanent fix, its owner as a role rather than a name, and a review date.
- Retirement evidence: the record that justified removal, such as an upstream commit, release note, live test result or advisory revision, linked by identifier.
- Reopen link: if a workaround or fix came back, the record that restored it and its stated reason.
- As-of date: when each field was last true, so a training example can be cut at any point without future knowledge leaking in.
| Outcome label | Evidence required | Seen in the public records | Use in training or evaluation |
|---|---|---|---|
| Workaround, still needed | Active at the cut-off date, end condition not met | 169 of 357 site patches active when observation ended | Censored: never a success or failure label |
| Retired with a named replacement | Removal links the upstream, site or platform fix | 1 of 207 removals named the site's own fix | Positive example of a full cycle |
| Retired, reason unstated | Removal with no reason and no link to the record | 191 of 207 removals stated no reason | Unknown outcome until the tracker is recovered |
| Retired early, then restored | A removal followed by a re-add of the same record | 5 site patches, 2 of them lost in a file migration | Negative example for retire-or-keep tasks |
| Fix shipped, later withdrawn | A revision removes or replaces the fix | Teamcenter advisory, February 2025 revision | Teaches that a fix label carries a date |
| No permanent fix offered | Remediation states none available or none planned | 1,795 of 9,853 affected advisory pairs | The workaround is the end state; grade residual risk |
How a buyer should use the workaround and fix distinction
Use it in three places: to choose training targets, to build retire-or-keep evaluation tasks with a known answer, and to write acceptance tests for a supplier's engineering history.
For training, the target behavior depends on the label. Cases retired with a named replacement teach the full cycle; workaround cases teach an agent to state an end condition and a residual risk when it proposes a detour; a still-active workaround should never be presented as a solved problem. In the Firefox history that rule keeps 169 of 357 patches out of any success label, and the gap between the 235-day completed median and the 460-day censored estimate shows how far a careless filter distorts what remains.
For evaluation, freeze each case at an as-of date and ask whether the workaround should be retired yet. Later history supplies the answer: a removal that held is one outcome, a removal followed by a re-add is the opposite, and a case still active at the end has no answer and stays out of the scored set. The Teamcenter revisions give the security version of the same task: given the advisory as it stood on February 11, 2025, should the listed fix be trusted?
For acceptance, ask a supplier to report, on its own archive and with denominators, the share of workaround records that carry an end condition, the share of removals that link retirement evidence, and the number of reopenings. Low numbers do not disqualify an archive. They tell the buyer which labels can be trusted as delivered and which must be rebuilt from linked trackers before anyone trains on them, and they belong in the acceptance test a request states up front.
What this evidence cannot show
The two record sets show that the distinction is often missing and why it matters; they do not show how common the problem is in private enterprise code. These limits apply to every figure on this page:
- One project and one advisory publisher. Browser site patches usually end when a third party changes its website, which differs from internal workarounds a team retires on its own schedule.
- Repository records only. Bugzilla comments and vendor advisory pages may hold reasons that these counts treat as unstated.
- Rule-based reasons. Reason classes are whole-word phrase matches; a reason worded differently counts as unstated, and a stated reason was not checked for truth.
- Dating by landing. Events are dated by the main-branch commit that landed them, not by when work began or when users received a release.
- Pattern-based revision counts. The 45 advisories with a later fix come from a phrase pattern on revision summaries, printed in full for review; differently worded summaries are missed.
- Not measured: whether retired patches caused later breakage, and how long workarounds last in commercial codebases.
Methods note: repositories, commits and counting rules
Firefox site patches: github.com/mozilla-extensions/webcompat-addon at commit d5d9d26 (June 2, 2025), read at each of its 779 first-parent commits. Files read were src/ua_overrides.js, src/injections.js, src/data/ua_overrides.js, src/data/injections.js and src/data/interventions.json; SmartBlock shims, picture-in-picture overrides and the testbed record 0000000 were excluded. A record is the value of a bug field, or the leading digits of a top-level key in the JSON file. The window runs from March 5, 2019, the first commit at which every JavaScript data file carries bug fields, to March 19, 2025.
Lifetimes are exact elapsed days from the main-branch commit that landed a record to the one that removed it, censored at the end of observation; the Kaplan-Meier median is the first time the survival estimate falls to 0.5 or below. A removal that landed through a merge is dated by the merge commit on the main branch, and its reason and bug link are read from the first merged commit in which the record disappears. Reason classes, matched case-insensitively on whole words in the message the reason is read from, in this order: accidental; site gone (defunct, dead, offline, no longer exists, shut down); no longer needed (no longer needed, not needed, no longer necessary, unnecessary, obsolete, no longer required); fixed (has, have, had, been, is, was, are or now followed by fixed, or site fixed, fixed it, fixed the issue, fixed their, fixed upstream); temporary (for now). A public report link is a webcompat.com or web-bugs issue URL in the entry's comment at the commit where the record first appears.
Advisories: github.com/cisagov/CSAF, folder csaf_files/OT/white/2025 at commit 3d8e6fb (October 22, 2026), 506 JSON files. A pair is a vulnerability and a product listed as known affected; it counts as covered when the product appears in a remediation's product ids or in a product group the remediation names. A later fix is a revision after the earliest one whose summary contains, as whole words in any case, added or adds followed by fix, fixes, fix version or fix versions; fix or fixes available, with or without is or are between; fixed version or versions; fix version or versions; patch or patches available, with or without is or are; firmware fix; or fix for. One pair breaks the standard's rule that a vendor fix and a no-fix statement cannot share a product and was counted as fixed. The scripts and outputs were run on October 27, 2026 and kept for recount; saved outputs hold bug numbers, dates and categories only.
Requesting engineering history that keeps workarounds labeled
If your team needs engineering records in which workarounds, fixes and reversals arrive labeled with this kind of evidence, put the trace fields and the acceptance test into the request itself. SourceX takes licenses from the companies that hold the records and grants its own licenses to buyers, and it sources each dataset after a request rather than holding stock, so a specification that names end conditions, tracker links and reopen history gives that sourcing work something concrete to qualify archives against.
Nothing here implies that such archives are already on hand or that any archive will pass a given test. Nothing moves until the company holding the history has approved the scope and signed, which matters for engineering records that can carry security detail, and delivered data is de-identified through approved processing routes before anyone builds on it.
Frequently asked questions
What is the difference between a workaround and a permanent fix?
A workaround avoids the effect of a defect that still exists, often for one customer, site or configuration; a permanent fix removes the defect at its source. In records, the difference becomes visible when the workaround is retired and the problem stays gone, so a permanent fix is proven by evidence that arrives after it.
Why does a training dataset need workaround labels?
Without them, a model sees a stopgap and a repair as the same kind of solved problem. Coding and incident agents then offer detours as answers or remove safeguards too early. Labels with end conditions and retirement evidence let the data teach when a workaround is right and when it should end.
How long do software workarounds stay in place?
No general figure exists, and it varies by project. In Mozilla's archived Firefox site-patch repository, half of the patches added between 2019 and 2025 were still active about 460 days after landing, by a Kaplan-Meier estimate that counts unretired patches; the median of retired patches alone was 235 days.
Is a closed ticket or a removed workaround evidence of a fix?
Not by itself. In the same repository, 191 of 207 removals stated no reason, and two removals were accidents reversed 13 days later. Treat removal as an event, then look for the upstream fix, a live test or a later revision before labeling the outcome.
What should a buyer ask a supplier about workaround records?
Ask for denominators: how many workaround records carry an end condition, how many removals link retirement evidence and how many workarounds came back. Ask too whether tracker comments travel with the code history, because that is where the reasons usually sit.
Sources
- SourceX's request-data page says it licenses business data directly from companies and licenses it to buyers in its own name, and that datasets are sourced on request, not held in stock. Source
- SourceX's how-it-works page says the supplier approves the scope and terms and signs before any data is delivered, and that data is de-identified through approved processing routes. Source
- The webcompat-addon README says the primary source for Firefox's WebCompat interventions moved into the Firefox tree and the repository remains archived. Source
- The webcompat-addon repository history (779 first-parent commits, March 2019 to March 2025 window) supports the lifetime, removal-reason, link and reopening counts computed for this article. Source
- At the final commit, interventions.json holds 191 records with issue categories for 248 site bugs; 4 records carry a max_version or skip_if condition. Source
- Mozilla's wiki describes WebCompat interventions as workarounds for specific websites that can be toggled at about:compat, with tests that check whether they are still needed (paraphrase). Source
- Mozilla's 2020 Web Compatibility work-week notes record that the team originally decided the add-on is only a way to ship temporary interventions (paraphrase). Source
- CSAF 2.0 defines five remediation categories and states that a vendor fix is assumed to fully resolve the vulnerability unless otherwise noted; remediations may carry a date from which they are available. Source
- CISA's 2025 ICS advisories in CSAF (506 files) support the counts of affected pairs, remediation categories, dated remediations and revisions computed for this article. Source
- Siemens Teamcenter advisory revision history: fix version information removed on February 25, 2025 because the implemented fix was insufficient, then hot fixes and fix releases added. Source
- Schneider Electric Modicon advisory first released in 2019 shows 19 revisions through April 2026, including a 2020 note that a previous fix was not enough and required additional mitigations. Source
Tell us what data you need
Share scope, volume, format, timing and licensing needs. Datasets are sourced on request.