Skip to content

Commit 4575c9a

Browse files
committed
docs: add v0.1.3 changelog and skip CI for docs-only PRs
- Add v0.1.3 changelog entry for plugin .ts/.js loading fix - Skip lint, build, and test jobs when only markdown files change - Uses dorny/paths-filter with '**' + '!**/*.md' pattern - Gate ci-status on changes job to catch filter failures Signed-off-by: Simon Davies <simongdavies@users.noreply.github.com>
1 parent 4aa42f2 commit 4575c9a

2 files changed

Lines changed: 31 additions & 1 deletion

File tree

.github/workflows/pr-validate.yml

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,27 @@ permissions:
1616
contents: read
1717

1818
jobs:
19+
# Skip heavy CI when only markdown files change
20+
changes:
21+
name: Detect Changes
22+
runs-on: ubuntu-latest
23+
outputs:
24+
code: ${{ steps.filter.outputs.code }}
25+
steps:
26+
- uses: actions/checkout@v6
27+
- uses: dorny/paths-filter@v3
28+
id: filter
29+
with:
30+
filters: |
31+
code:
32+
- '**'
33+
- '!**/*.md'
34+
1935
# Lint, typecheck, and unit tests (needs KVM for sandbox tests)
2036
lint-and-test:
2137
name: Lint & Test
38+
needs: [changes]
39+
if: needs.changes.outputs.code == 'true'
2240
runs-on: [self-hosted, Linux, X64, "1ES.Pool=hld-kvm-amd"]
2341
steps:
2442
- uses: actions/checkout@v6
@@ -48,6 +66,8 @@ jobs:
4866
# See: https://github.com/hyperlight-dev/hyperagent/issues/1
4967
build-and-test:
5068
name: Build & Test (${{ matrix.hypervisor }}-${{ matrix.config }})
69+
needs: [changes]
70+
if: needs.changes.outputs.code == 'true'
5171
strategy:
5272
fail-fast: false
5373
matrix:
@@ -107,6 +127,8 @@ jobs:
107127
# Build Docker image (just setup clones deps so Dockerfile COPY works)
108128
build-docker:
109129
name: Build Docker Image
130+
needs: [changes]
131+
if: needs.changes.outputs.code == 'true'
110132
runs-on: ubuntu-latest
111133
steps:
112134
- uses: actions/checkout@v6
@@ -141,7 +163,7 @@ jobs:
141163
# Gate PR merges on all jobs passing
142164
ci-status:
143165
name: CI Status
144-
needs: [lint-and-test, build-and-test, build-docker]
166+
needs: [changes, lint-and-test, build-and-test, build-docker]
145167
if: always()
146168
runs-on: ubuntu-latest
147169
steps:

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ All notable changes to this project will be documented in this file.
44

55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [v0.1.3] - 2026-03-24
8+
9+
### Fixed
10+
11+
- **Plugin loading under npm** — Plugins failed with "Stripping types is currently unsupported for files under node_modules" when installed via npm. Plugin loader now prefers compiled `.js` over `.ts` when running under `node_modules`, while still using `.ts` in dev mode for live editing
12+
- **Plugin hash/approval consistency**`computePluginHash()`, `loadSource()`, and `verifySourceHash()` now use centralised `resolvePluginSource()` helper to ensure hashing and import use the same file
13+
714
## [v0.1.2] - 2026-03-23
815

916
### Fixed
@@ -91,6 +98,7 @@ Initial public release.
9198
- Path jailing for filesystem plugins
9299
- SSRF protection for fetch plugin (DNS + post-connect IP validation)
93100

101+
[v0.1.3]: https://github.com/hyperlight-dev/hyperagent/releases/tag/v0.1.3
94102
[v0.1.2]: https://github.com/hyperlight-dev/hyperagent/releases/tag/v0.1.2
95103
[v0.1.1]: https://github.com/hyperlight-dev/hyperagent/releases/tag/v0.1.1
96104
[v0.1.0]: https://github.com/hyperlight-dev/hyperagent/releases/tag/v0.1.0

0 commit comments

Comments
 (0)