[JIM-181] Free file descriptors. - #25018
Open
ba1ash wants to merge 67 commits into
Open
Conversation
…uring-import-of-projects
https://community.openproject.org/wp/JIM-62 - Do not cache state_machine in JiraImport Causes problems on "#reload". "#current_state" returns old value. - Allow :reverting from :import_error state. - discard :queued batch jobs after transition to :import_aborting state. - Introduce PorgressableJob class. - Fix progress calculation. Use .where(jira_import_id:). So, only relevant to this particular jira_import record are used in progress calculation - Remove unused jobs.
…uring-import-of-projects # Conflicts: # app/components/admin/import/jira/import_runs/wizard_step_confirm_import_component.html.erb # app/components/admin/import/jira/import_runs/wizard_step_fetch_data_component.html.erb # app/components/admin/import/jira/import_runs/wizard_step_import_scope_component.html.erb # app/components/admin/import/jira/import_runs/wizard_step_review_component.html.erb # app/components/admin/import/jira/import_runs/wizard_step_review_component.rb # app/controllers/admin/import/jira/import_runs_controller.rb # app/views/admin/import/jira/import_runs/show.html.erb
…re importing projects
…) which marks the job as completed
…uring-import-of-projects # Conflicts: # app/models/import/jira_import.rb # app/workers/import/jira_create_project_work_packages_job.rb # spec/models/import/jira_import_spec.rb
…-progress-during-import-of-projects # Conflicts: # app/components/admin/import/jira/import_runs/wizard_step_confirm_import_component.html.erb # app/components/admin/import/jira/import_runs/wizard_step_review_component.html.erb # app/workers/import/jira_create_project_work_packages_job.rb
…grator-shows-progress-during-import-of-projects
Reason is to have RESTART IDENTITY added. So, ids starts from 1 on the truncated tables.
Don't use removed columns.
Co-authored-by: Andrej <77627197+as-op@users.noreply.github.com>
Co-authored-by: Andrej <77627197+as-op@users.noreply.github.com>
…field_builder.rb Co-authored-by: Andrej <77627197+as-op@users.noreply.github.com>
Co-authored-by: Andrej <77627197+as-op@users.noreply.github.com>
Co-authored-by: Andrej <77627197+as-op@users.noreply.github.com>
…grator-shows-progress-during-import-of-projects
- Show links to good_job dashboard only if the dashboard is enabled. - Resolve job status icon in one place instead of 3. - Use sync icon for in progress jobs.
Co-authored-by: Andrej <77627197+as-op@users.noreply.github.com>
https://community.openproject.org/wp/JIM-181 `File.unlink` frees the name, but does not free fd. `File#close` frees fd. So, we have to call it manually after tempfile has been used.
Base automatically changed from
feature/jim-62-jira-migrator-shows-progress-during-import-of-projects
to
dev
August 31, 2026 08:35
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
https://community.openproject.org/wp/JIM-181
File.unlinkfrees the name, but does not free fd.File#closefrees fd. So, we have to call it manually after tempfile has been used.