• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

openSUSE / agama / 9743056713
72%

Build:
DEFAULT BRANCH: master
Ran 01 Jul 2024 11:08AM UTC
Jobs 3
Files 794
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Jul 2024 11:04AM UTC coverage: 71.406%. Remained the same
9743056713

push

github

web-flow
fix(storage): avoid segmentation fault when generating actions (#1419)

## Problem

The generation of the storage actions was fixed to avoid a segmentation
fault while accessing to the `CompoundAction` objects, see
https://github.com/openSUSE/agama/pull/1410. But there is still a chance
to reference to an actiongraph removed by the ruby GC.

~~~ruby
target_graph.actiongraph.compound_actions.map do |action|
  GC.start
  Action.new(a)
end
~~~ 

The actiongraph object could be dropped by the garbage collector while
iterating the list of compound actions.

## Solution

Keep a reference to the actiongraph, ensuring the actiongraph object is
not removed while generating the list of actions.

Note: once the list of actions is generated, the actiongraph is not
needed anymore because the `Action` objects do not keep a reference to
the source compound action, see
https://github.com/openSUSE/agama/pull/1410.

1987 of 2868 branches covered (69.28%)

Branch coverage included in aggregate %.

3 of 3 new or added lines in 1 file covered. (100.0%)

19584 of 27341 relevant lines covered (71.63%)

34.48 hits per line

Subprojects
ID Flag name Job ID Ran Files Coverage
3 service 9743056713.3 01 Jul 2024 11:08AM UTC 366
87.04
GitHub Action Run
3 rust 9709053578.3 28 Jun 2024 07:30AM UTC 85
23.4
GitHub Action Run
3 web 8937163624.3 03 May 2024 09:49AM UTC 343
75.3
GitHub Action Run
Source Files on build 9743056713
  • Tree
  • List 794
  • Changed 7
  • Source Changed 3
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #9743056713
  • 680058bb on github
  • Prev Build on master (#9731605682)
  • Next Build on master (#9746910306)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc