Research Seminar and Information Session (RISE)

Impact-Driven Software Update Prioritization

Dr. Berhe Lab

"Yesterday the Android app worked, but today it does not work"

— Users feedback, 2020

Which software components updated recently?
  • VMWare Website
  • Safari Website
  • Chrome Website
  • Firefox Website
  • iOS Website
  • GitHub API
  • Android Website
  • Java Website
  • MySQL Website
  • DistroLinux API
  • Eclipse Website
  • Android Studio Website
Data Sources
(release notes)
➡️
Data Lake
(consolidate in data lake)
➡️
Data Model
(release notes feed)
  • MongoDB Data Lake
  • Version JSON Object
  • 20+ Bots with daily sync
  • Last 2 years:
  • 13,759 Components
  • 56,856 Versions (95,862)
Data Lake Diagram

Results (2020)

Metric Why
Recent updates Helps track recent update bursts or regressions
Update type Distinguishes patch (e.g., 1.2.3), minor (e.g., 1.2.0), and major (e.g., 1.0.0) updates
Count version Measures churn and helps reduce risk of coinciding updates
"Yesterday the Android app worked, but today it does not work"

— Users feedback, 2020

Version Feed
  • App not working after overnight update
  • No user interaction before the failure
  • Update not announced in the changelog
  • Prototype: Review update from last night
“I put the iOS 12 beta on my phone and it stopped receiving calls. [...] I wouldn’t recommend updating anything you rely on!”

— User feedback, 2020

Weekly Update Graph
Monthly Update Graph
Yearly Update Graph
  • Updates follow business cycles
  • Less updates each quarter
  • Recommendation: eg., update on weekend
Reference
Berhe, S., Maynard, M., & Khomh, F. (2020).
Software Release Patterns: When is it a good time to update a software component?
Procedia Computer Science, 170, 618–625.

Limitations

  • Semantic version only (not CI-CD)
  • Version dependency unknown
  • How to prioritize dependent updates?
"What dependent ecosystem components are affected by an update?"

— Users feedback, 2023

Data Sources
(release notes + CVE)
➡️
Data Lake
(consolidate in data lake)
➡️
Data Model
(ecosystem feed + graph)
  • Graph Node by Component
  • Component with Search Tags
  • Graph Edge by Matching Search Tags
Data Lake Diagram

Results (2023)

Metric Why
Recent updates Helps track recent update bursts or regressions
Update type Distinguishes patch (e.g., 1.2.3), minor (e.g., 1.2.0), and major (e.g., 1.0.0) updates
Count version Measures churn and helps reduce risk of coinciding updates
Count edge Measures dependency between components
"What dependent ecosystem components are affected by an update?"

— Users feedback, 2023

"What ecosystem components are potentially more affected by each update?"

— Triage team question, 2023

"What ecosystem testing teams are required to address an update?"

— Testing team planning, 2023

""What is the maintenance cost of a software stack ecosystem?"

— Architect team planning, 2023

Version Feed
  • List component nodes
  • List component edges by search tags
  • Color code types: Major, Minor, Patch
  • Count component version
  • Prototype: Review connected components
References
Berhe, S., Maynard, M., & Khomh, F. (2023).
Maintenance Cost of Software Ecosystem Updates.
Procedia Computer Science, 220, 608–615.

Limitations

  • Release notes not technical enough
  • Model association instead of dependency
  • No weighting of current metrics
  • Early formal graph model
  • How to better model dependent component types?
"What is the impact of an Linux OS update?"

— Users feedback, 2024

Data Sources
(release notes + CVE)
➡️
Data Lake
(consolidate and classify in data lake)
➡️
Data Model
(ecosystem feed + weighted graph)
  • Release notes git commit message
  • CVE Description
  • How to know it is an operating system?
Data Lake Diagram
Version Feed

Results (2024)

Weighted Metric Why
Recent updates Helps track recent update bursts or regressions
Update type Distinguishes patch (e.g., 1.2.3), minor (e.g., 1.2.0), and major (e.g., 1.0.0) updates
Count version Measures churn and helps reduce risk of coinciding updates
Count edge Measures dependency between components
Classify component Measures churn and helps reduce risk of high impact component updates
Classify version Measures churn and helps reduce risk of security / breaking updates
Version Feed
"What is the impact of the Python update?"

— Users feedback, 2023

Version Feed
  • List component nodes
  • List component edges by search tags
  • Color code types: Major, Minor, Patch
  • Count component version
  • Weighted metrics incl. component type
  • Prototype: Review weighted graph
Version Feed
"What ecosystem components are potentially more affected by each update?"
Data Lake Diagram
"What ecosystem testing teams are required to address an update?"
Data Lake Diagram
"What is the maintenance cost of a software stack ecosystem?"
Data Lake Diagram
Version Feed
Version Feed
References
S. Berhe, V. Kan, O. Khan, N. Pader, A. Z. Farooqui, M. Maynard, F. Khomh (2024).
Attribute-Driven Maintenance Cost Estimation in Graph-Based Software Ecosystem Models.
Accepted to Journal of Ubiquitous Systems & Pervasive Networks.


S. Berhe, V. Kan, O. Khan, N. Pader, A. Z. Farooqui, M. Maynard, F. Khomh (2024).
Triage Software Update Impact via Release Notes Classification.
Procedia Computer Science, 238, 618-622.

Limitations

  • Breaking updates not classified
  • Component type classification not good enough
  • Release note and CVE description do not good enough for breaking updates
  • How to classify breaking updates?
"How to detect breaking updates?"

— Users feedback, 2024

Data Sources
(release notes + CVE + reddit posts)
➡️
Data Lake
(consolidate and classify in data lake)
➡️
Data Model
(ecosystem feed + weighted graph)
What does breaking updates mean?

    breaking = [
        "400", "401", "402", "403", "404", "405", "406", "407", "408", "409", "410", "411", 
        "412", "413", "414", "415", "416", "417", "418", "421", "422", "423", "424", "425", 
        "426", "428", "429", "431", "451", "500", "501", "502", "503", "504", "505", "506", 
        "507", "508", "510", "511", "broken", "breaking", "error", "exception", "privacy", 
        "legal", "terms", "conditions", "hipaa", "password", "bluetooth", "authentication", 
        "authorization", "compliance", "breach", "leak", "confidentiality", "integrity", 
        "availability", "audit", "gdpr", "ccpa", "sox", "pci", "performance", "slow", "wifi", 
        "restart", "sign in", "glitch", "weird", "slow to start", "won't load", "bluetooth not working", 
        "wifi issues", "can’t sign in", "system crash", "app keeps crashing", "login failed", 
        "update failed", "reset required", "freezing", "hanging", "not responsive"
    ]
                
  • Reddit organizes content in topics
  • Reddit has an open API without costs
  • Reddit platform is very active
Data Lake Diagram

Results (Summer 2024)

Weighted Metric Why
Recent updates Helps track recent update bursts or regressions
Update type Distinguishes patch (e.g., 1.2.3), minor (e.g., 1.2.0), and major (e.g., 1.0.0) updates
Count version Measures churn and helps reduce risk of coinciding updates
Count edge Measures dependency between components
Classify component Measures churn and helps reduce risk of high impact component updates
Classify version Measures churn and helps reduce risk of security
Classify version Measures churn and helps reduce risk of breaking updates
"How to detect breaking updates?"

— Users feedback, 2024

Version Feed
  • Reddit sync the last ten days
  • Reddit post classification
  • Reddit post include legal updates
  • Reddit post have 5% breaking updates
  • Prototype: Review breaking updates
RQ1: Reddit-Enriched Release Notes

Enriched notes per component:

  • Android: 1000
  • Linux: 200
  • iOS: 149
  • Kotlin: 51
  • Windows: 22
  • ReactJs: 16
  • Swift: 8
  • Java: 8
  • NodeJs: 3

Most posts lacked version info; Android & Java were exceptions. OS posts (Jun–Jul 2024) were active;

RQ2: Categorization & Breaking Updates

Broader Categorization

  • Android: 6 → 12
  • iOS: 5 → 6
  • Linux: 1 → 12

Breaking Updates

  • "Freezing on iOS 17.5.1"
  • "Bluetooth not working"
  • "Phone won't turn on"
RQ3: OS Impact & Versioning Insights

Feedback Variation

  • iOS: 13/105 posts were breaking (avg = 5)
  • Mobile updates = high (clinical) risk

Versioning Matches

iOS posts had the most version info.

RQ4: Update Type & Reddit Feedback

Versioning Visibility

  • Android: 50%+ posts include major versions
  • Java & iOS users share detailed patches

Tech Component Gaps

  • Kotlin & React: fewer version details
  • Likely moved to GitHub platform
RQ5: Common User Concerns on Reddit

Frequent Issues

  • WiFi, Bluetooth, config problems
  • Phone-wide bugs, not app-specific
  • Often missing in app store reviews

Concern Types

  • Usability, performance, compatibility
  • Security—only if user is affected
RQ6: Reddit Data Impact on Critical Issue Detection

Increased Detection

  • 58 breaking issues identified
  • Highlights future legal impacts

Impact on Clinical Applications

  • Early identification improves mitigation
  • Absent from release notes/CVEs
  • Potential for better user experience
References
Singh B., Daftary S. M., Rudra M., Veed S. P., Berhe S., Maynard M., Khomh F. (2024)
Enriching Release Notes with Reddit Feedback: Understanding How User Feedback Can Augment Maintaining Software Updates.
In: Tiako P.F. (ed) Competitive Tools, Techniques, and Methods. Chronicle of Computing. OkIP. .

Limitations

  • Reddit posts are not verified
  • Reddit posts sometimes too generic (no version)
  • What do users want?
"Can we please prioritize software stability?"

— User question, 2025

"Can we generate UML architecture diagram from current installed updates?"

— Architect question, 2025

"Can we query the data lake using LLM prompts?"

— User question, 2025

Data Sources
(release notes + CVE + reddit posts)
➡️
Data Lake
(consolidate and classify in data lake)
➡️
Data Model
(ecosystem feed + weighted graph)
Impact Sorting Button
(sort updates by breaking / security / legal metrics)
LLM / RAG
(query data using prompts)
Generate Architecture Diagram
(generate diagrams from installed updates)

    1. Prioritize non-CVE items first
    2. Sort by component type priority:
        → Move these to the top["os", "server", "language", "database", "browser"] 
        → Push ["app", "ide", "github", "web", "repository", "design"] lower  
    3. Prefer fewer versionSearchTags if under 5
    4. Prefer fewer componentType entries
    5. Sort by breakingType severity: "Critical Failure" > "Limited Functionality" > "Breaking Update"
    6. Prioritize "major" release channel
    7. Prefer higher versionNumber: master > minor > patch
    8. More Reddit posts = higher priority
    9. More breakingType values = higher priority
    10. Higher triage value = higher priority
              
"Can we generate UML architecture diagram from current installed updates?"

— Architect question, 2025

Version Feed

Why LLM/RAG instead of Logical Languages (SQL/PL)?

  • Natural Language Friendly: Ask questions in plain English
  • Contextual Reasoning: Connects scattered data across docs
  • Unstructured Data Access: Works with APIs, text, CSVs—not just databases
  • Faster Iteration: Skip schema design and joins—query semantically
  • Scales with Knowledge: Retrieval + reasoning adapts as data grows
1. Data Lake
(release notes + CVE + reddit posts + survey)
2. Embedder
(convert data to vector form)
3. Vector Store
(store and retrieve embeddings)
4. Retriever
(find relevant chunks)
5. LLM + Prompt
(question)
6. Output
(answers)

Results 2025

  • Linux OS Component Type
  • Breaking update classifications for this version
  • Commit message: [...]cc:stable and the remainder address post-6.15 issues or aren't\n considered necessary for -stable kernels[...]
Data Lake Diagram
  1. Pick ecosystem components
  2. Organize components by stack, peers, and dependencies
  3. Identify components with high impact on the stack
  4. Generate and refresh architecture in intervalls
Hospital OS Ecosystem Diagram
Objective
  • Multiple OS components
  • Each OS component in a row
  • Color code update types
Hospital OS Ecosystem Diagram
Hospital OS Ecosystem Diagram
Hospital OS Ecosystem Diagram
References
S. P. Veed, S. M. Daftary, B. Singh, M. Rudra, S. Berhe, M. Maynard, F. Khomh (2025)
IoT Software Updates: User Perspectives in the Context of NIST IR 8259A.
Presented at NDSS Workshop on Security and Privacy in Standardized IoT .

V. Kan, M. P. Lnu, S. Berhe, C. E. Kari, M. Maynard and F. Khomh (2025)
Automating UML-Based Visualization of Software Ecosystems: Tracking Versions, Dependencies, and Security Updates.
Accepted to the 8th International Conference on Emerging Data and Industry (EDI40) .

Limitations

  • User evaluation needed for Breaking Impact button
  • Identify an API that supports color coding and OS/row mapping
  • Evaluate how well LLMs support this workflow
  • Can we improve input data quality?
  • Can we improve lake classification algorithms?
  • Can we add temporal logic for 3-day CVE patches metric?
  • Can we support CI/CD pipelines with versioning?
Prototype Cat
Detect Cat Under Vehicle
Prototype Flower
Flower Watering Notification
Navigation
Vehicle Navigation
+