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

Report code loading problems into the resource action log #8749

Closed
wants to merge 5 commits into from

Conversation

arnaudsjs
Copy link
Contributor

Description

  • Fixed bug that caused code loading problems not to be reported into the resource action log.
  • Fixed bug where executor processes would remain hanging if a code loading problem occurs.
  • Fixed race condition in the wait_until_deployment_finishes method.

closes #8722

Self Check:

  • Attached issue to pull request
  • Changelog entry
  • Type annotations are present
  • Code is clear and sufficiently documented
  • No (preventable) type errors (check using make mypy or make mypy-diff)
  • Sufficient test cases (reproduces the bug/tests the requested feature)
  • Correct, in line with design
  • End user documentation is included or an issue is created for end-user documentation
  • If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Copy link
Contributor

@Hugo-Inmanta Hugo-Inmanta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -79,6 +79,21 @@
environment.
"""

"""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great addition 👍

Co-authored-by: Hugo-Inmanta <[email protected]>
@Hugo-Inmanta Hugo-Inmanta self-requested a review February 13, 2025 14:28
…inmanta/inmanta-core into issue/8722-report-code-loading-problems
@arnaudsjs arnaudsjs added the merge-tool-ready This ticket is ready to be merged in label Feb 17, 2025
@inmantaci
Copy link
Contributor

Processing this pull request

inmantaci pushed a commit that referenced this pull request Feb 17, 2025
…he resource action log. (Issue #8722, PR #8749)

# Description

* Fixed bug that caused code loading problems not to be reported into the resource action log.
* Fixed bug where executor processes would remain hanging if a code loading problem occurs.
* Fixed race condition in the `wait_until_deployment_finishes` method.

closes #8722

# Self Check:

- [x] Attached issue to pull request
- [x] Changelog entry
- [x] Type annotations are present
- [x] Code is clear and sufficiently documented
- [x] No (preventable) type errors (check using make mypy or make mypy-diff)
- [x] Sufficient test cases (reproduces the bug/tests the requested feature)
- [x] Correct, in line with design
- [ ] ~~End user documentation is included or an issue is created for end-user documentation~~
- [ ] ~~If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see [test-fixes](https://internal.inmanta.com/development/core/tasks/build-master.html#test-fixes) for more info)~~
@inmantaci
Copy link
Contributor

Merged into branches iso8, master in 9b7b2cb

@inmantaci inmantaci closed this Feb 17, 2025
@inmantaci inmantaci deleted the issue/8722-report-code-loading-problems branch February 17, 2025 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
merge-tool-ready This ticket is ready to be merged in
Projects
None yet
Development

Successfully merging this pull request may close these issues.

code loading errors are not reported on resource action log
4 participants