Skip to content

Sincronizar fork com upstream v3.8.8 e preparar versão 3.8.5 - #145

Merged
ricxJr merged 96 commits into
masterfrom
chore/sync-upstream-2026-11-13
Nov 13, 2026
Merged

ricxJr merged 96 commits into
masterfrom
chore/sync-upstream-2026-11-13

Conversation

@ricxJr

@ricxJr ricxJr commented Nov 13, 2026

Copy link
Copy Markdown
Collaborator

⚠️ Mesclar com "Create a merge commit" (não squash). Os PRs de sync anteriores (#127, #132, #138) foram feitos com squash, o que apagou a ligação com o histórico do upstream e fez o próximo sync reabrir conflitos já resolvidos. Com merge commit, o próximo sync (manual ou pelo sync-upstream.yml) parte da base certa.

Problema

O fork estava 28 commits atrás do intersystems-community/vscode-objectscript (upstream 3.8.6 → 3.8.8: intersystems-community#1867 a intersystems-community#1911), incluindo correções de autenticação/sessão, acesso não autenticado com UnknownUser, TypeScript 6 e ESLint 10.

Abordagem

  1. Base correta antes do merge (31d0343): o Sincronizar fork com upstream e preparar versão 3.8.3 #138 trouxe o upstream até 5b1d295 por squash. Conferi que a árvore do bbcb9dc (Sincronizar fork com upstream e preparar versão 3.8.3 #138) é idêntica à do merge original (b7d7d66) e registrei 5b1d295 como já incorporado com merge -s ours, sem alterar arquivos. Assim só os 28 commits novos entram, e os conflitos caíram de "tudo de novo" para 8 arquivos.
  2. Merge --no-ff de upstream/master (83b1291), com as resoluções abaixo.
  3. Ajustes pós-merge: lint do ESLint 10 (d99fb63), AGENTS.md (f629815) e restauração de uma customização do runner de testes (a6ed9bf).

Conflitos

Arquivo Resolução
src/extension.ts Mantidos imports/constantes Consistem (comandos CCS, indentação com ponto) e o teste de porta sem regex; adotado URL.parse do upstream no lugar do url.parse depreciado; removida a cópia local de BasicAuthorization (agora vem do pacote do Server Manager), mantendo export { outputChannel }.
src/test/runTest.ts, src/test/suite/extension.test.ts Adotada a nova matriz de testes de integração do upstream, com IDs consistem-sistemas.*. Os testes de continuação de linha com ponto foram para src/test/suite/dotIndent.test.ts, para não conflitarem em syncs futuros. VSCODE_EXECUTABLE_PATH e timeout de 60 s mantidos.
src/commands/unitTest.ts Versão do fork (o upstream só trocou let por const num trecho que reescrevemos).
package.json Identidade Consistem mantida; aplicados o schema de UnknownUser e as dependências do upstream (minimatch, iconv-lite, istextorbinary removidas; TS 6, ESLint 10). Versão 3.8.5 (a v3.8.4 já está publicada).
package-lock.json Lock do upstream reconciliado com o package.json do fork; core-js mantido em 3.49.0 pelo registry público.
README.md Versão do fork (upstream só mudou números de versão de exemplo).
CHANGELOG.md Entradas do upstream + nova 3.8.5 (Consistem), em ordem cronológica.

Verificações de não-regressão

  • Para cada arquivo, o delta "fork sobre upstream" é o mesmo antes e depois do merge (as únicas diferenças são as resoluções intencionais acima), e todo o delta do upstream entrou.
  • src/ccs não usa nada removido pelo upstream. Os clientes CCS usam new AtelierAPI(uri) sem configOnly, então continuam recebendo usuário/senha (o Give API clients only the chosen connection's plaintext password intersystems-community/vscode-objectscript#1907 só restringe a API exportada para outras extensões). Com UnknownUser, o SourceControlApi simplesmente não envia auth.
  • O conector de namespace (activateSiblingFolders) segue chamado no sucesso da checagem de conexão.
  • O fork do Server Manager (3.14.3) já conhece UnknownUser; getAccount é opcional no código do upstream; não há exigência de versão mínima.

Validação

  • npm install, npx tsc -p ./ --noEmit, npm run compile, npm run lint, npm run test-compile: OK
  • npx @vscode/vsce package: VSIX 3.8.5 gerado (26 arquivos, ~477 KB)
  • Teste em VS Code 1.146 real (VSCODE_EXECUTABLE_PATH, caso clientSide-os-host-named-active, sem containers IRIS):
    • extensão ativa com o build TS 6;
    • Dot-prefixed indentation: 3/3 ✔;
    • SM resolves: ✔;
    • OS resolves / round-trips: falham, como esperado sem os containers IRIS (portas 52798/52799).
  • Não executada: a suíte de integração completa com containers (test-fixtures/README.md).

Pontos de atenção (anteriores a este PR)

  • Testes no CI: consistem-sistemas.consistem-servermanager e consistem-language-server não estão no Marketplace, então o npm test nunca conseguiu instalá-las. O CI passava porque o suite/index.ts antigo não propagava falhas do mocha; o upstream corrigiu isso. O upstream também tirou o npm test do main.yml/prerelease.yml e o colocou em prepare-release.yml (manual ou branches prepare-*, com containers). Para esse workflow funcionar no fork, será preciso instalar as duas extensões a partir de VSIX.
  • Publicação no main.yml: o upstream passou a publicar no Marketplace/Open VSX via OIDC sem condição (antes só com token, || true). Hoje o job publish do fork já falha no checkout (falta secrets.TOKEN), então nada muda agora; se esse job for configurado, esses passos precisam ser condicionados.
  • O Prettier 3.9.9 aponta formatação em 8 arquivos do upstream; não foram reformatados para não gerar conflito em syncs futuros.

🤖 Generated with Claude Code

dependabot Bot and others added 30 commits May 11, 2026 17:28
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.0...v3.1.2)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios](https://github.com/axios/axios) from 1.15.0 to 1.15.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.15.0...v1.15.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.15.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Kuang-Chen (KC) Lu <klu@intersystems.com>
…y#1785)

Bumps [@nevware21/ts-utils](https://github.com/nevware21/ts-utils) from 0.12.5 to 0.14.0.
- [Release notes](https://github.com/nevware21/ts-utils/releases)
- [Changelog](https://github.com/nevware21/ts-utils/blob/main/CHANGELOG.md)
- [Commits](nevware21/ts-utils@0.12.5...0.14.0)

---
updated-dependencies:
- dependency-name: "@nevware21/ts-utils"
  dependency-version: 0.14.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [ws](https://github.com/websockets/ws) from 8.20.0 to 8.20.1.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](websockets/ws@8.20.0...8.20.1)

---
updated-dependencies:
- dependency-name: ws
  dependency-version: 8.20.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios](https://github.com/axios/axios) from 1.15.2 to 1.16.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.15.2...v1.16.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.16.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [axios](https://github.com/axios/axios) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.17.0...v1.18.0)

---
updated-dependencies:
- dependency-name: axios
  dependency-version: 1.18.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.2 to 3.1.4.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.2...v3.1.4)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps  and [brace-expansion](https://github.com/juliangruber/brace-expansion). These dependencies needed to be updated together.

Updates `brace-expansion` from 5.0.6 to 5.0.9
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.6...v5.0.9)

Updates `brace-expansion` from 1.1.13 to 1.1.18
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.6...v5.0.9)

Updates `brace-expansion` from 2.0.3 to 2.1.4
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](juliangruber/brace-expansion@v5.0.6...v5.0.9)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.9
  dependency-type: indirect
- dependency-name: brace-expansion
  dependency-version: 1.1.18
  dependency-type: indirect
- dependency-name: brace-expansion
  dependency-version: 2.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.4...v3.1.5)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.2.0 to 4.3.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.1/CHANGELOG.md)
- [Commits](nodeca/js-yaml@4.2.0...4.3.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.3.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bot and others added 29 commits September 17, 2026 20:37
…y#1887)

* fix intersystems-community#1750

* fix

* s

* s

* s

* s

* s

* s

* Update docstrings for renamed functions

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* fix

* s

* Address review: name on settings fallback, configured username wins, lazy identity

- getResolvedConnectionSpec takes the raw IJSONServerSpec and adds name: key,
  so the auth provider always gets a server-name scope; callers pin the
  settings read with get<IJSONServerSpec>()
- resolveAuth prefers the configured username and ignores the UnknownUser
  placeholder the provider returns when its username prompt is dismissed
- Status-bar identity is computed when used so the 401 retry shows the
  entered username
- 401 handler skips the retry instead of throwing when no spec is available

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* Drop UnknownUser guard: a blank username at the prompt is a deliberate choice, not a dismissal

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* undo rn

* s

* s

* s

* s

* s

* s

* s

* s

* s

* s

* s

* Keep the requested key as name on the settings fallback; build the spec copy in one spread

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>

* rename

---------

Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
…ommunity#1888)

Companion to intersystems-community/intersystems-servermanager#366,
which makes "username": "UnknownUser" request unauthenticated access.

- Use BasicAuthorization and the corrected spec types from the
  3.15.0-beta.3 package instead of a local copy.
- Skip the Authorization header when it is empty.
- On a 401 for UnknownUser, report the rejection instead of asking for
  a password.
- Compare intersystems.servers changes against getServerSpec, so
  recording UnknownUser doesn't reconnect.
- Document UnknownUser in the objectscript.conn schema.
- Test UnknownUser for each connection kind. The '-anonymous' cases
  also accept UnknownUser, since Server Manager may record it during a
  run.
Bumps [fast-uri](https://github.com/fastify/fast-uri) from 3.1.8 to 3.1.9.
- [Release notes](https://github.com/fastify/fast-uri/releases)
- [Commits](fastify/fast-uri@v3.1.8...v3.1.9)

---
updated-dependencies:
- dependency-name: fast-uri
  dependency-version: 3.1.9
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
)

Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.16.1 to 1.16.2.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](follow-redirects/follow-redirects@v1.16.1...v1.16.2)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-version: 1.16.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…#1891)

Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 7.1.2 to 7.1.4.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](yahoo/serialize-javascript@v7.1.2...v7.1.4)

---
updated-dependencies:
- dependency-name: serialize-javascript
  dependency-version: 7.1.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ntersystems-community#1896)

Declaring a job-level permissions block resets every unlisted scope to
none for GITHUB_TOKEN, so adding id-token: write for OIDC vsce publish
silently dropped contents: write. That broke Upload Release Asset
(softprops/action-gh-release needs it to update the release) with
"Resource not accessible by integration".
…errors (intersystems-community#1906)

The error block serialized the whole axios error, and axios includes the
request config with its headers, so the Authorization header the request block
had just redacted appeared a few lines below it. Log the error's message, as
the rest of the extension does.

Fixes intersystems-community#1905
O PR #138 trouxe o upstream até 5b1d295 (intersystems-community#1864) por squash, o que
apagou a ancestralidade. Este merge 'ours' não altera arquivos: só
recupera a base comum correta para o próximo merge do upstream.
Verificado: a árvore de b7d7d66 (merge real de 5b1d295) é idêntica à
de bbcb9dc.
Traz os 28 commits do upstream posteriores a 5b1d295 (intersystems-community#1867 a intersystems-community#1911).

Conflitos resolvidos:
- src/extension.ts: mantidos os imports e constantes Consistem (indentação
  com ponto, comandos CCS) e o teste de porta sem regex; adotado o
  URL.parse do upstream no lugar do url.parse depreciado; removida a
  cópia local de BasicAuthorization (agora vem do pacote do Server
  Manager), mantendo o `export { outputChannel }` do fork.
- src/test/runTest.ts e src/test/suite/extension.test.ts: adotada a nova
  matriz de testes de integração do upstream, com os IDs
  consistem-sistemas.*; os testes de continuação de linha com ponto
  foram para src/test/suite/dotIndent.test.ts.
- src/commands/unitTest.ts: mantida a versão do fork (o upstream só
  trocou `let` por `const` em trecho que o fork reescreveu).
- package.json: mantida a identidade Consistem; aplicados o schema de
  UnknownUser e as atualizações de dependências do upstream; versão 3.8.5.
- package-lock.json: lock do upstream reconciliado com o package.json do
  fork (core-js mantido em 3.49.0 pelo registry público).
- README.md: mantida a versão do fork.
- CHANGELOG.md: entradas do upstream e nova entrada 3.8.5 (Consistem),
  em ordem cronológica.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
O ESLint 10, trazido pelo upstream, inclui no-useless-assignment no
conjunto recommended. Os três casos estavam no código do fork e eram
atribuições sem efeito: todo caminho reatribui o valor antes de lê-lo
ou sai do laço. Nenhuma mudança de comportamento.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
O npm test passou a rodar a matriz de casos do upstream contra containers
IRIS. Registra como subir os containers, o filtro por caso e onde ficam os
testes Consistem que não dependem de servidor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…runTest

Ao adotar o runTest.ts do upstream na resolução do merge, ficou de fora a
customização do fork que permite apontar um VS Code já instalado
(VSCODE_EXECUTABLE_PATH) e aumenta o tempo limite do download para 60 s.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ricxJr
ricxJr merged commit 4d0b68e into master Nov 13, 2026
6 checks passed
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.

6 participants