Fix to the way the 23 handles the object duration in type plus image fixes. by lwasylow · Pull Request #1310 · utPLSQL/utPLSQL · GitHub
Skip to content

Fix to the way the 23 handles the object duration in type plus image fixes.#1310

Merged
lwasylow merged 19 commits intodevelopfrom
feature/remove_old_builds
Mar 9, 2026
Merged

Fix to the way the 23 handles the object duration in type plus image fixes.#1310
lwasylow merged 19 commits intodevelopfrom
feature/remove_old_builds

Conversation

@lwasylow
Copy link
Copy Markdown
Member

@lwasylow lwasylow commented Mar 8, 2026

Updating builds and removing old versions of Oracle

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 8, 2026

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 8, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.04%. Comparing base (25dd48b) to head (a7b4d84).
⚠️ Report is 23 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #1310   +/-   ##
========================================
  Coverage    95.04%   95.04%           
========================================
  Files          111      111           
  Lines         5368     5369    +1     
  Branches        33       33           
========================================
+ Hits          5102     5103    +1     
  Misses         266      266           
Flag Coverage Δ
19se 95.09% <100.00%> (+<0.01%) ⬆️
21XE 95.24% <100.00%> (+<0.01%) ⬆️
23-free 94.98% <100.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@lwasylow lwasylow changed the title Feature/remove old builds Fix to the way the 23 handles the object duration in type plus image fixes. Mar 8, 2026
@lwasylow
Copy link
Copy Markdown
Member Author

lwasylow commented Mar 8, 2026

@jgebal Can you review and approve?
If you don't agree with a image changes we can take at least the reporter fix for the 23 error :)

Comment thread source/core/types/ut_reporter_base.tpb Outdated
end;

overriding member procedure on_event( self in out nocopy ut_reporter_base, a_event_name varchar2, a_event_item ut_event_item) is
l_event_item ut_event_item := a_event_item; -- ADD THIS LINE
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why is this change needed?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

In the 23 apparently there is an issue with a duration of the object when casting/treat objects. I think it's oracle bug and is patched in some versions that object is no longer in memory when not using in out.
It's probably something that oracle should fix but easier to do it here then rely on their patch

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I have worked around that problem in our pipeline by using version 23.26.0 instead of 23.26.1.

It is strange to see this exception especially as a_event_item is actually in not in out.

I am not a big fan of making changes in code to workaround Oracle bugs but if it solves the problem permanently than it's OK.

Since it is a solution for a problem, please create a separate issue for that specific error we see, so the error is documented in repository and it should be referenced in code comment.
That way there is clarity why we use this redundant and unnecessary assignment.

With this we minimize the risk of introducing a regression at some point in future, when we are no longer using Oracle version 23.26.1 for builds and testing. Some users may still use it and be prone to the issue.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I read your comment on #1310. This is resolving this problem then.
I will add a comment in code just to make it super clear.

Comment thread .github/workflows/build.yml
Comment thread source/core/types/ut_reporter_base.tpb Outdated
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Mar 9, 2026

@lwasylow lwasylow merged commit 45e3b57 into develop Mar 9, 2026
17 checks passed
@jgebal jgebal deleted the feature/remove_old_builds branch April 22, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants