Skip to content

chore: adopt vigOS v0.3.5 devcontainer and upgrade Actions toolkit - #100

Merged
c-vigo merged 6 commits into
devfrom
chore/6-update-devcontainer
Jun 11, 2026
Merged

c-vigo merged 6 commits into
devfrom
chore/6-update-devcontainer

Conversation

@c-vigo

@c-vigo c-vigo commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Description

Updates the project to the latest vigOS devcontainer (v0.3.5) and realigns the
tooling around Node. As part of the same effort, the GitHub Actions toolkit is
upgraded to its ESM-only releases (clearing bundled undici audit findings),
the committed dist/ artifacts are narrowed to the shipped ncc bundle, and the
local just test workflow now runs the full suite. Closes the devcontainer
update task (#6).

Type of Change

  • feat -- New feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • Devcontainer & developer workflow (.devcontainer/**, scripts/setup-node.sh, justfile, justfile.project, .cursor/**, .githooks/**, .pre-commit-config.yaml)
    • Adopt vigOS v0.3.5 devcontainer; provision Node via scripts/setup-node.sh and just recipes
    • Run lint, build, and test inside the devcontainer; drop Python scaffolding and legacy setup-env/build-dist composite actions
  • GitHub Actions toolkit upgrade (package.json, package-lock.json, src/**, tsconfig.json, dist/**)
    • Bump @actions/github to v9 (Octokit v7) and @actions/core to v3, clearing high-severity undici advisories
    • Update TypeScript module resolution and Jest module mocks for ESM-only toolkit packages
  • dist/ tracking (.gitignore, dist/**)
    • Track only the shipped ncc bundle (dist/index.js, dist/licenses.txt); stop committing tsc emit under dist/src/
  • Workflows, labels & docs (.github/workflows/**, .github/label-taxonomy.toml, docs/**, README.md, SECURITY.md)
    • Adapt release/sync workflows and label taxonomy to the standardized vigOS layout
  • Local test runner (justfile.project, jest.config.js)
    • just test runs the full suite (unit + integration when a token is available); add just test-unit for unit-only runs
  • Changelog (CHANGELOG.md)
    • Document the above under the Unreleased section

Changelog Entry

### Security

- **Resolve npm audit vulnerabilities** ([#6](https://github.com/vig-os/sync-issues-action/issues/6))
  - Upgrade `@actions/github` to v9 and `@actions/core` to v3, resolving high-severity `undici` advisories in the bundled action
  - Apply non-breaking audit fixes for dev/build-only dependencies (`handlebars`, `flatted`, `picomatch`, `brace-expansion`)

### Changed

- **Adopt vigOS v0.3.5 devcontainer and realign project tooling to Node** ([#6](https://github.com/vig-os/sync-issues-action/issues/6))
  - Provision Node via `scripts/setup-node.sh` and `just` recipes; run lint, build, and test inside the devcontainer
  - Adapt release workflows and label taxonomy to the standardized vigOS layout
  - Drop Python scaffolding and the legacy `setup-env`/`build-dist` composite actions
- **`just test` runs the full local suite; add `just test-unit` for unit-only runs**
  - `just test` runs unit tests plus integration when a GitHub token is available; integration is skipped with a warning otherwise
  - `just test-unit` replaces the previous unit-only `just test` behavior and accepts Jest filter args
- **Upgrade GitHub Actions toolkit to ESM-only releases** ([#6](https://github.com/vig-os/sync-issues-action/issues/6))
  - Adopt `@actions/github` v9 (Octokit v7) and `@actions/core` v3 for current toolkit HTTP client and type support
  - Update TypeScript module resolution and Jest module mocks for ESM toolkit packages
- **Stop committing tsc emit under dist/** ([#6](https://github.com/vig-os/sync-issues-action/issues/6))
  - Only `dist/index.js` and `dist/licenses.txt` are tracked; `verify-dist` checks those files only

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

N/A

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

N/A

Refs: #6

c-vigo added 5 commits June 10, 2026 12:47
- Provision Node via scripts/setup-node.sh and just recipes
- Run lint/build/test in devcontainer; adapt release workflows and labels
- Drop Python scaffolding and legacy setup-env/build-dist composites

Refs: #6
Bump @actions/github to v9 and @actions/core to v3 so the bundled
action no longer ships vulnerable undici versions. Update TypeScript
module resolution and Jest mocks for ESM-only toolkit packages.

Refs: #6
Gitignore tsc emit under dist/src/ and narrow verify-dist to the
shipped ncc artifacts (dist/index.js and dist/licenses.txt).

Refs: #6
- just test runs unit + integration when a GitHub token is available

- just test-unit replaces the previous unit-only just test behavior
@c-vigo c-vigo self-assigned this Jun 10, 2026
The lint job only ran setup-node.sh and never installed node_modules,
so the eslint/prettier pre-commit hooks failed with exit code 127
(command not found). Use just sync (setup-node.sh + npm ci) like the
build and test jobs.

Refs: #6
@c-vigo
c-vigo merged commit 223248c into dev Jun 11, 2026
21 checks passed
@c-vigo
c-vigo deleted the chore/6-update-devcontainer branch June 11, 2026 06:01
c-vigo added a commit that referenced this pull request Jul 15, 2026
## Remove Dependabot — Renovate takes over

Pre-flight step for the vigOS devkit adoption (#106).

### What changed
- Deleted `.github/dependabot.yml`. Renovate (`renovate.json`, adopted
with the 0.3.5 devcontainer in #100) covers the same npm +
github-actions ecosystems; running both duplicates update PRs.
- The 4 open Dependabot PRs (#88, #90, #104, #105) will be closed
alongside this PR — Renovate re-proposes anything still relevant.

### Verification
- Full pre-commit suite locally: all hooks green except `typos`, which
cannot execute on a NixOS host (glibc binary — the known pre-migration
limitation the devkit adoption fixes; diff is a pure YAML deletion).
- `npm ci` prepare step rebuilt `dist/` with no resulting diff —
committed bundle stays fresh.

Refs: #106
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