Skip to content

Bump Oracle Instant Client to the latest versions#275

Merged
yahonda merged 2 commits into
rsim:masterfrom
yahonda:bump-instantclient
Apr 29, 2026
Merged

Bump Oracle Instant Client to the latest versions#275
yahonda merged 2 commits into
rsim:masterfrom
yahonda:bump-instantclient

Conversation

@yahonda
Copy link
Copy Markdown
Collaborator

@yahonda yahonda commented Apr 29, 2026

Summary

Mirror rsim/oracle-enhanced#2621 for the ruby-plsql CI workflows:

  • Switch the modern (23.x) workflows (test, ruby_head, jruby_head, truffleruby, test_gemfiles) to Oracle's version-less Instant Client download URLs so we automatically pick up new 23.x minors. ORACLE_HOME / LD_LIBRARY_PATH / PATH are derived dynamically from the extracted directory, so the workflows no longer hard-code instantclient_23_26.
  • Bump the 11g compatibility workflows (test_11g, test_11g_ojdbc11) from 21.15.0.0.0dbru to 21.21.0.0.0dbru (latest 21.x). Oracle does not publish a version-less 21.x URL, so this line still requires an explicit pin. The inline ORA_TZFILE comment was reworded so it does not stale on future bumps.
  • Drop the redundant /jdbc/23261/ojdbc{11,17}.jar wgets where the Instant Client zip already ships the matching driver (test.yml, jruby_head.yml, test_11g_ojdbc11.yml). The single download that remains is test_11g.yml's ojdbc17.jar, because the 21.x zip does not include ojdbc17.jar and Oracle has no version-less JDBC URL.

Test plan

  • test matrix passes with the version-less 23.x download
  • test_11g matrix passes against the new 21.21.0.0.0dbru pin
  • test_11g_ojdbc11 passes with the cp $ORACLE_HOME/ojdbc11.jar shortcut
  • test_gemfiles passes
  • Scheduled-only runs (ruby_head, jruby_head, truffleruby) exercise the version-less 23.x download after merge

yahonda added 2 commits April 30, 2026 08:16
Mirror rsim/oracle-enhanced#2621 for the ruby-plsql CI workflows:

- Switch the modern (23.x) workflows to Oracle's version-less Instant
  Client download URLs so we automatically pick up new 23.x minors.
  ORACLE_HOME / LD_LIBRARY_PATH / PATH are derived dynamically from the
  extracted directory.
- Bump the 11g compatibility workflows from 21.15.0.0.0dbru to
  21.21.0.0.0dbru (latest 21.x; Oracle does not publish a version-less
  21.x URL, so this line still requires an explicit pin).
- Drop the redundant /jdbc/23261/ojdbc{11,17}.jar wgets where the
  Instant Client zip already ships the matching driver. The remaining
  download is test_11g.yml's ojdbc17.jar, because the 21.x zip does not
  include ojdbc17.jar and Oracle has no version-less JDBC URL.
After bumping the 11g matrix to Instant Client 21.21 and switching to
ojdbc11.jar shipped inside that zip, the driver raises
"Java::JavaSql::SQLException: Closed Resultset: next" when fetching
from a closed cursor (lowercase 's' in "Resultset"). The previous
ojdbc11 23.26 used "Closed ResultSet" (uppercase 'S') which the spec's
regex matched.

Add the /i flag so both casings — and any future case variant of the
same message — match.
@yahonda yahonda merged commit 271dfd4 into rsim:master Apr 29, 2026
21 checks passed
@yahonda yahonda deleted the bump-instantclient branch April 29, 2026 23: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.

1 participant