Repository navigation
chore: sync dev with main - #118
Merged
Merged
Conversation
npm audit fix resolves the high-severity undici WebSocket DoS advisory (GHSA-vxpw-j846-p89q) and three related undici advisories blocking the release/0.3.0 dependency-review gate, plus dev-only @babel/core and js-yaml findings. Rebuild dist/ since undici ships in the bundle. Refs: #111
#112) Forward-fix on the 0.3.0 release branch: the Dependency Review gate on release PR #110 flags `[email protected]` (high-severity GHSA-vxpw-j846-p89q plus three related advisories). `npm audit fix` resolves everything within existing semver ranges — undici → **6.27.0**, and dev-only `@babel/core` / `js-yaml` findings. `dist/index.js` rebuilt (undici is bundled). Changelog: entry added to the frozen `0.3.0` Security section. Local validation: 115/115 jest, full prek suite green, `npm audit` clean. Refs: #111
…ease The release PR validates merge-base(main, head)..head — the full span since v0.2.2, including history merged before the devkit commit gate existed. Commit 9574ee1 (PR #97) lacks the mandatory Refs line and is immutable on dev. Advance the validation base past it behind a merge-base --is-ancestor guard: only ranges that already contain the commit are tightened; dev-PR ranges are unaffected. Self-heals once 0.3.0 reaches main. Refs: #113
…ease (#114) Unblocks the last red check on release PR #110 (Commit Messages), per approved plan in #113. The release-PR validation range `merge-base(main, head)..head` spans all pre-devkit history since v0.2.2; commit `9574ee12` (PR #97, merged 2026-06-10 before the gate existed) lacks the mandatory `Refs:` line and is immutable on `dev`. This patch advances `BASE_SHA` past that single SHA behind a `git merge-base --is-ancestor` guard: - **Release PR (#110)**: merge-base (Feb) is an ancestor of the waived commit → base advances → the one grandfathered commit is skipped, everything after it (June onward, incl. #112 and the freeze commit) is still validated. - **Dev PRs**: merge-bases are at dev's recent tip, not ancestors of the waived commit → range unchanged. Verified locally: `validate-commit-range` passes on the release span with the advanced base; `actionlint` + full hook run green. Self-healing: once 0.3.0 lands on `main`, merge-bases move past June, and the next devkit `ci.yml` regeneration drops the patch (hand-patch precedent: `codeql.yml`, vig-os/devkit#1142). Refs: #113
Finalize dispatched sync-issues.yml without --ref, so GitHub ran the pre-devkit workflow from the default branch (main) whose state cache is stuck at 2026-02-26 (delete step lacks permission, save collides) — every run re-syncs ~5 months and outlives the hardcoded 120 s wait. Pin the dispatch to release/$VERSION so the devkit workflow with the incremental-cutoff self-heal runs, filter the wait polling by that branch to avoid racing scheduled runs, and raise the timeout to 600 s. Self-corrects once main carries the devkit scaffold; dropped on the next devkit regeneration. Refs: #116
#117) Fixes the finalize timeout that killed the first final release attempt (run 29494385057 → rollback #115). Diagnosis and approved plan in #116. Three changes to `release-core.yml` (hand-patch; managed-file precedent #113/#114): 1. **`--ref "release/$VERSION"` on the dispatch** — without it, workflow_dispatch resolves `sync-issues.yml` on the default branch (`main`), which still carries the pre-devkit workflow whose state cache is permanently stale (created 2026-02-26; its cache-delete step fails with `Resource not accessible by integration`, so every save collides). The devkit workflow on the release branch — with the incremental-cutoff self-heal — now runs instead. 2. **`--branch` filter on the wait polling** (both the status loop and the conclusion check) — the unfiltered `--limit 1` could race a concurrent scheduled run. 3. **Timeout 120 → 600 s** — headroom for a first run with no cutoff cache. Self-corrects once `main` carries the devkit scaffold post-release; the patch disappears on the next devkit `ci`/`release-core` regeneration. Upstream report to vig-os/devkit drafted separately. `actionlint` + hooks green locally. Refs: #116
Set release date to 2026-07-16 in CHANGELOG.md Refs: #110
# Release 0.3.0 This PR prepares release 0.3.0 for merge to main. ## [0.3.0] - TBD ### Added - **Sync specific issues/PRs by number or range** ([#55](#55)) - New optional `issues-filter` and `prs-filter` inputs accept comma-separated numbers and inclusive ranges (e.g. `1,5,10-20`) - When set, the action fetches only the requested items directly instead of paginating through all issues or pull requests ### Changed - **Run the action on the Node.js 24 runtime** ([#77](#77)) - `action.yml` `runs.using` switched from `node20` to `node24` ahead of GitHub's June 2026 forced default - `.nvmrc` updated to 24, matching the flake dev-shell (node 24.16) the suite already runs on - **Adopt vigOS devkit 1.3.0 (direnv mode)** ([#106](#106)) - Replace the bespoke CI/release stack with the devkit scaffold (managed ci/release/promote workflows; native dist prep, tag prefix `v`, and floating `v0`/`v0.X` tags) - Nix flake dev-shell (direnv) with flake-generated pre-commit hooks replaces the devcontainer image and `scripts/setup-node.sh` provisioning - Keep the 8-scenario integration-test matrix (new PR-gate and published-tag-smoke callers); re-home provenance attestation in `attest-release.yml`; add Dist Check and JS Quality gates ported from commit-action - Retire the placeholder `security-scan.yml`, `CODEOWNERS`, the bespoke changelog/release helper scripts, and Dependabot (Renovate takes over) - **Adopt vigOS v0.3.5 devcontainer and realign project tooling to Node** ([#6](#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](#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](#6)) - Only `dist/index.js` and `dist/licenses.txt` are tracked; `verify-dist` checks those files only - **Post-release replaced by PR-based main-to-dev sync** ([#52](#52)) - Remove `post-release.yml` workflow; add `sync-main-to-dev.yml` that opens a PR to sync `main` into `dev`, satisfying branch protection on both branches - Harden sync checks by failing clearly when `origin/main` or `origin/dev` is missing instead of silently treating branches as up to date - Fix `workflow_dispatch` hyphenated input access and conflict path robustness (`issues: write`, safer conflict label handling, clearer manual resolution commands) - Reduce duplicate/no-op sync PR risk by re-checking ahead/behind state inside the `sync` job and tightening existing-sync-PR detection (search + explicit list limit) - Split auth into explicit app tokens by responsibility: `COMMIT_APP_*` for checkout/ref operations and `RELEASE_APP_*` for PR/label operations requiring broader scopes - Generate `RELEASE_APP_*` only after re-check confirms sync work remains, reducing unnecessary broader-scope token issuance - **Sync workflow uses commit-scoped app secrets and manual output target** - Update `sync-issues.yml` to use `COMMIT_APP_ID`/`COMMIT_APP_PRIVATE_KEY` for both checkout token generation and action app auth inputs - Respect `workflow_dispatch` `output-dir` input in the action call, with `'docs'` as the default fallback - **Bound integration test runtime to a fixed subset** ([#56](#56)) - Integration test workflow and local test scripts now pass `issues-filter`/`prs-filter` so only a small, stable set of issues and PRs is synced - Keeps test duration bounded as the repository's issue/PR count grows ### Fixed - **Retry transient GitHub 5xx errors and skip failing items during sync** ([#96](#96)) - Add `withRetry` helper with exponential backoff for 5xx, rate-limit, and network errors - Sanitize GitHub "Unicorn!" HTML error pages into concise messages - Skip individual issues/PRs that fail persistently instead of aborting the entire sync run ### Security - **Resolve npm audit vulnerabilities** ([#6](#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`)
15 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Syncs
devwithmain(sync-main-to-dev workflow).