Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Graph deleted before aptly exits #1214

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

reglim
Copy link
Contributor

@reglim reglim commented Sep 13, 2023

Fixes: #1213

Description of the Change

A viewer might reload/monitor the image file, therefore aptly should not remove the temporary image file.

As the tempfile is created in /tmp, it should be cleanedup automatically or by the user.

@reglim reglim force-pushed the fix/1213-aptly-graph-removed-before-exiting branch 6 times, most recently from 8655777 to 7192f1e Compare September 15, 2023 07:07
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.12%. Comparing base (88ef8ef) to head (320307f).
Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1214      +/-   ##
==========================================
+ Coverage   74.81%   75.12%   +0.30%     
==========================================
  Files         157      157              
  Lines       18180    18172       -8     
==========================================
+ Hits        13602    13651      +49     
+ Misses       3470     3404      -66     
- Partials     1108     1117       +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@reglim reglim force-pushed the fix/1213-aptly-graph-removed-before-exiting branch from 7192f1e to 486e864 Compare December 13, 2023 07:59
@neolynx neolynx self-assigned this Jun 8, 2024
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch from 2ee09ab to 33fe7de Compare June 8, 2024 21:10
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch from 33fe7de to cc3403f Compare July 31, 2024 20:32
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch from cc3403f to 8a44c89 Compare September 26, 2024 15:14
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch 2 times, most recently from bf34f8a to 9cb754a Compare October 9, 2024 18:22
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch from 9cb754a to be893e5 Compare October 22, 2024 19:08
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch from be893e5 to 446ada5 Compare November 8, 2024 18:19
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch from 446ada5 to 0d28427 Compare November 17, 2024 17:40
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch 2 times, most recently from 4be2935 to 3a7de07 Compare December 4, 2024 13:32
@neolynx neolynx added needs review Ready for review & merge and removed needs implementation WIP labels Dec 4, 2024
@neolynx neolynx requested review from iofq and a team December 4, 2024 13:33
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch 3 times, most recently from ff7797e to b64067f Compare December 4, 2024 15:53
@neolynx neolynx force-pushed the fix/1213-aptly-graph-removed-before-exiting branch from b64067f to 320307f Compare December 4, 2024 16:36
@neolynx
Copy link
Member

neolynx commented Dec 4, 2024

rewrite of original PR, instead of a timeout and removing the tmp file, just leave it to the user or system to clean it up.

@neolynx neolynx merged commit f9ae9b3 into master Dec 11, 2024
46 checks passed
@neolynx neolynx deleted the fix/1213-aptly-graph-removed-before-exiting branch December 11, 2024 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs approval needs review Ready for review & merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

aptly graph image is removed immediately after rendering
5 participants