Skip to content

Updated Mapepire client to 1.0.1 + bumped other dependencies - #3467

Merged
sebjulliand merged 11 commits into
masterfrom
mapepireClient1Upgrade
Oct 1, 2026
Merged

sebjulliand merged 11 commits into
masterfrom
mapepireClient1Upgrade

Conversation

@sebjulliand

@sebjulliand sebjulliand commented Sep 29, 2026 •

Copy link
Copy Markdown
Member

Changes

Mapepire Client update

This PR updates mapepire-js to version 1.0.1.
This version includes the support of single-mode connection and takes care of updating and checking the remote Mapepire jar file.
Consequently, all the specific code related to the single mode has been removed from Code for i.
The code starting the Mapepire job has also been refactored to make the connection fail entirely if Mapepire fails to start.

Other dependencies update

Other dependencies have been updated to fix security issues reported by npm audit:

Package Bumped to
adm-zip 0.6.1
tar 7.5.22
tmp 0.2.7
esbuild 0.28.2
esbuild-loader 4.5.0

Removed dependency

The csv package has been removed and the IBMiContent::getTable and IBMiContent::getQTempTablemethods that were using it have been removed as well since theyr were not used anymore.

How to test this PR

Check if Mapepire client works as before

  • Connect to an LPAR using Mapepire using single mode

    • It must connect and update the Mapepire jar file to version 3.6.0
  • Connect to an LPAR using Mapepire using websocket client

  • Click on the Download logs action in the Help & Support view to check the adm-zip update

  • Deploy a workspace to check the tar update

  • Update a member without date support to check the tmp update

Checklist

  • have tested my change

- Updated:
esbuild
esbuild-loader
@ibm/mapepire-js
adm-zip
tar
tmp

- Removed:
@octokit/rest
csv

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
…able functions

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand
sebjulliand requested a review from a team September 29, 2026 06:56
@sebjulliand sebjulliand self-assigned this Sep 29, 2026
@sebjulliand sebjulliand added enhancement New feature or request dependencies Pull requests that update a dependency file labels Sep 29, 2026
@github-actions

github-actions Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

👋 A new build is available for this PR based on e17842b.

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>

@SanjulaGanepola SanjulaGanepola left a comment •

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.

Great PR! Cleaned up a lot of code!! Looks like Mapepire-IBMi/mapepire-server#184 must be addressed before we can merge this PR

Image

Comment thread webpack.config.js Outdated
Comment thread src/api/IBMiContent.ts
Comment thread src/extension.ts
Comment thread src/api/components/mapepire/index.ts
Comment thread webpack.config.js
Co-authored-by: Sanjula Ganepola <32170854+SanjulaGanepola@users.noreply.github.com>
@sebjulliand

Copy link
Copy Markdown
Member Author

Great PR! Cleaned up a lot of code!! Looks like Mapepire-IBMi/mapepire-server#184 must be addressed before we can merge this PR
Image

@SanjulaGanepola I didn't see that during my tests 🤔 How come?!

@SanjulaGanepola

Copy link
Copy Markdown
Member

I didn't see that during my tests 🤔 How come?!

Not sure yet TBH. I haven't had a chance to investigate further. I posted back on the original mapepire issue to see if this was resolved.

Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand

Copy link
Copy Markdown
Member Author

@SanjulaGanepola I've put back the use of installDir and javaPath for single mode and put back the command to change the application name. You can have another look 😄

@sebjulliand
sebjulliand deployed to testing_environment September 30, 2026 18:21 — with GitHub Actions Active
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
Signed-off-by: Seb Julliand <sebjulliand@gmail.com>
@sebjulliand
sebjulliand deployed to testing_environment October 1, 2026 08:34 — with GitHub Actions Active
@sebjulliand sebjulliand changed the title Updated Mapepire client to 1.0.0 + bumped other dependencies Updated Mapepire client to 1.0.1 + bumped other dependencies Oct 1, 2026
@sebjulliand

sebjulliand commented Oct 1, 2026 •

Copy link
Copy Markdown
Member Author

@SanjulaGanepola I bumped the client to version 1.0.1 which adds support for changing the application name in SQL jobs.

@SanjulaGanepola SanjulaGanepola left a comment

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.

Changes look good, and it works (when testing on another machine).

For that error I got on that first machine, according to this there is some code in mapepire that is making an internal ibm call not on all systems. The associated PR should fix this.

@sebjulliand

Copy link
Copy Markdown
Member Author

Changes look good, and it works (when testing on another machine).

For that error I got on that first machine, according to this there is some code in mapepire that is making an internal ibm call not on all systems. The associated PR should fix this.

@SanjulaGanepola ok, thanks a lot.
I'll be on the lookout if a new version comes out.

@sebjulliand
sebjulliand merged commit 0f2cc21 into master Oct 1, 2026
5 checks passed
@sebjulliand
sebjulliand deleted the mapepireClient1Upgrade branch October 1, 2026 15:51

This branch was successfully deployed

1 active deployment
testing_environment — e17842b9 Deployed Oct 1, 2026 by sebjulliand via Test runner #697
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants