kimi-code/.github
qer 44b40e6852
ci: add VS Code extension publish workflow (#3332)
* ci: add VS Code extension publish workflow

Publish VSIX to VS Marketplace and Open VSX on version-change pushes
to main, with online-version gates and workflow_dispatch fallback.

* ci(vscode): harden publish gate with before-SHA diff and per-platform checks

Address review on the auto-publish workflow:

- Version-change detection now compares against the push event's
  `before` SHA instead of `GITHUB_SHA~1`, so a single push carrying
  multiple commits cannot skip a version bump. An empty or all-zero
  `before` (e.g. first push of a branch) is treated as a version
  change — better an extra marketplace lookup than a missed release.
- Marketplace gates now verify all 6 targetPlatforms
  (darwin/linux/win32 x x64/arm64) instead of only the version number:
  Open VSX is checked per-platform via REST, VS Marketplace via the
  targetPlatform entries in `vsce show --json`. A partially published
  version now reruns the affected publish step, which backfills
  idempotently via --skip-duplicate / already-exists handling.
  Lookup failures stay fail-closed (treated as not published).

---------

Co-authored-by: kimi-agent-bot <kimi-agent-bot@users.noreply.github.com>
2026-08-28 19:59:38 +08:00
..
actions Kimi For Coding 2026-05-22 15:54:50 +08:00
ISSUE_TEMPLATE docs: align contributor entry docs with approved-bug-fix-only policy (#3089) 2026-08-19 20:31:56 +08:00
workflows ci: add VS Code extension publish workflow (#3332) 2026-08-28 19:59:38 +08:00
pr-title-checker-config.json Kimi For Coding 2026-05-22 15:54:50 +08:00
pull_request_template.md docs: align contributor entry docs with approved-bug-fix-only policy (#3089) 2026-08-19 20:31:56 +08:00