codefori / codefori/vscode-ibmi
New 3.x Versions Broke Ability To Use In Our Environment
- Dominant language
- TypeScript
- Stars
- 418
- Forks
- 160
- Avg merge
- 4d 19h
- Merged PRs (30d)
- 12
Description
I updated the Code for IBM i Extension yesterday from 2.18.0 to 3.0.10 and have lost the ability to use VS Code for iSeries completely. I believe I have traced the issue to permissions our company enforces for ODBC connections: we do not allow SQL delete statements from ODBC connections. After connecting to the i successfully, whenever I attempt to expand a source file (e.g., mylib.QRPGLESRC) I get an error about an ODBC request was rejected. I have tracked this to this statement coming in when I attempt to expand the source file:
delete from SESSION.PFS
I looked all over the Code for IBM i configuration to find a way to disable this deletion, but I am not seeing it.
Further, when I ported back to version 2.18.0 I was able to resolved the error above (I do not see this deletion coming in on that version) to expand my source files BUT I am getting this error when attempting to open any source:
`The editor could not be opened due to an unexpected error. Please consult the log for more details.`
Here are my logs:
```
2026-06-12 08:40:50.958 [info] [Window] Started local extension host with pid 9784.
2026-06-12 08:40:51.291 [info] [Window] [AccountPolicyGate] apply: state=inactive, reason=undefined, isRestricted=false
2026-06-12 08:40:51.647 [info] [Cloud Changes] Prompting to enable cloud changes, has application previously launched from Continue On flow: false
2026-06-12 08:40:51.673 [info] [Window] Settings Sync: Account status changed from uninitialized to unavailable
2026-06-12 08:40:53.166 [error] [Window] [Extension Host] (node:9784) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
2026-06-12 08:40:53.641 [info] [Window] [perf] Render performance baseline is 18ms
2026-06-12 08:40:54.544 [error] [Window] An unknown error occurred. Please consult the log for more details.
2026-06-12 08:40:55.557 [warning] [Window] [DefaultAccount] Managed settings fetch returned non-success status 404; falling back to local-only policy
2026-06-12 08:40:56.295 [info] [Window] [AccountPolicyGate] apply: state=inactive, reason=undefined, isRestricted=false
2026-06-12 08:50:01.572 [warning] [Window] [DefaultAccount] Managed settings fetch returned non-success status 404; falling back to local-only policy
2026-06-12 08:50:03.500 [warning] [Window] [DefaultAccount] Managed settings fetch returned non-success status 404; falling back to local-only policy
2026-06-12 08:52:40.325 [warning] [Window] Attempted to report in-progress status for unknown chat session type 'copilot-cloud-agent'
2026-06-12 08:52:40.325 [warning] [Window] Attempted to report in-progress status for unknown chat session type 'copilotcli'
2026-06-12 08:52:40.325 [warning] [Window] Attempted to report in-progress status for unknown chat session type 'claude-code'
2026-06-12 08:52:40.355 [info] [Window] Auto updating outdated extensions. halcyontechltd.code-for-ibmi
2026-06-12 08:52:40.363 [info] [Window] Started local extension host with pid 32504.
2026-06-12 08:52:41.878 [error] [Window] [Extension Host] (node:32504) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `Code --trace-deprecation ...` to show where the warning was created)
2026-06-12 08:52:43.726 [error] [Window] An unknown error occurred. Please consult the log for more details.
2026-06-12 08:53:38.187 [error] [Window] Error: No such file
at 101 (c:\Users\awilson2\.vscode\extensions\halcyontechltd.code-for-ibmi-2.18.0\dist\extension.js:2:228719)
at SFTP.push (c:\Users\awilson2\.vscode\extensions\halcyontechltd.code-for-ibmi-2.18.0\dist\extension.js:2:245512)
at CHANNEL_DATA (c:\Users\awilson2\.vscode\extensions\halcyontechltd.code-for-ibmi-2.18.0\dist\extension.js:2:163486)
at 94 (c:\Users\awilson2\.vscode\extensions\halcyontechltd.code-for-ibmi-2.18.0\dist\extension.js:2:328950)
at e.exports.U (c:\Users\awilson2\.vscode\extensions\halcyontechltd.code-for-ibmi-2.18.0\dist\extension.js:2:189487)
at F.decrypt (c:\Users\awilson2\.vscode\extensions\halcyontechltd.code-for-ibmi-2.18.0\dist\extension.js:2:286135)
at e.exports.$ [as _parse] (c:\Users\awilson2\.vscode\extensions\halcyontechltd.code-for-ibmi-2.18.0\dist\extension.js:2:189011)
at e.exports.parse (c:\Users\awilson2\.vscode\extensions\halcyontechltd.code-for-ibmi-2.18.0\dist\extension.js:2:193398)
at Socket. (c:\Users\awilson2\.vscode\extensions\halcyontechltd.code-for-ibmi-2.18.0\dist\extension.js:2:165664)
at Socket.emit (node:events:509:28)
at addChunk (node:internal/streams/readable:563:12)
at readableAddChunkPushByteMode (node:internal/streams/readable:514:3)
at Readable.push (node:internal/streams/readable:394:5)
at TCP.onStreamRead (node:internal/stream_base_commons:189:23)
```
I have re-installed VS Code but this has not resolved either error I get, with whatever version of Code for i used. Any assistance would be greatly appreciated.
|Context|Version|
|-|-|
|Code for IBM i version|3.0.10|
|Visual Studio Code version|1.124.2|
|Operating System|win32_x64|
Active extensions
```
Code for IBM i Walkthroughs (vscode-ibmi-walkthroughs): 0.5.0
Configuration Editing (configuration-editing): 10.0.0
Emmet (emmet): 10.0.0
Git (git): 10.0.0
Git Base (git-base): 10.0.0
GitHub (github): 0.0.1
GitHub Authentication (github-authentication): 0.0.2
GitHub Copilot Chat (copilot-chat): 0.52.0
JSON Language Features (json-language-features): 10.0.0
JavaScript and TypeScript Language Features (typescript-language-features): 10.0.0
Merge Conflict (merge-conflict): 10.0.0
Microsoft Account (microsoft-authentication): 0.0.1
Node Debug Auto-attach (debug-auto-launch): 10.0.0
```
Remote system
|Setting|Value|
|-|-|
|IBM i OS|V7R3M0|
|Tech Refresh|13|
|CCSID Origin|65535|
|Runtime CCSID|65535|
|SQL runner|Yes|
|SQL|Enabled
|Source dates|Enabled
### Enabled features
|/QOpenSys/pkgs/bin|/usr/bin|/QOpenSys/usr/bin|/QIBM/ProdData/IBMiDebugService/bin|/QOpenSys/QIBM/ProdData/JavaVM/jdk80|
|-|-|-|-|-|
|bash|attr|openssl|startDebugService.sh|64bit|
|git|iconv||||
|ls|setccsid||||
|md5sum|tar||||
|sha256sum|uname||||
|sort|||||
|stat|||||
Shell env
```bash
BUILDLIB=QGPL
CURLIB=QGPL
HOME=/home/AWILSON2
HOST=RHCWTEST
LIBLS=AWILSON2 DBU11 QMQM UTLPRDLIB QTEMP QGPL
LOGIN=awilson2
LOGNAME=awilson2
MAIL=/var/spool/mail/awilson2
OLDPWD=/home/AWILSON2
PASE_USRGRP_LIMITED=N
PATH=/QOpenSys/pkgs/bin:/QOpenSys/usr/bin:/usr/ccs/bin:/QOpenSys/usr/bin/X11:/usr/sbin:.:/usr/bin:/QOpenSys/usr/bin:/usr/bin
PWD=/home/AWILSON2
SHELL=/QOpenSys/pkgs/bin/bash
SHLVL=1
SSH_CLIENT=172.18.64.72 49680 22
SSH_CONNECTION=172.18.64.72 49680 172.18.15.170 22
TZ=8,M3.2.0,M11.1.0
USER=awilson2
USERNAME=awilson2
WORKDIR=/home/AWILSON2
_=/QOpenSys/pkgs/bin/env
```
Variants
```json
{
"american": "#@$",
"local": "#@$"
}
```
Contributor guide
Assessment
This issue has not been assessed yet.