@adea-ai/plugins 3.0.1 → 3.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adea-ai/plugins",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Deterministic compiler for AI agent plugin marketplaces: schemas, source parsing, provenance verification, per-harness materialization, and provenance-checked static artifacts.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agents",
|
|
@@ -38,3 +38,28 @@ test('new PRs supersede checks while trusted push cache writers finish', () => {
|
|
|
38
38
|
)
|
|
39
39
|
expect(source).toContain("cancel-in-progress: ${{ github.event_name == 'pull_request' }}")
|
|
40
40
|
})
|
|
41
|
+
|
|
42
|
+
test('marketplace checks rerun on ready PR updates without running on draft updates', () => {
|
|
43
|
+
const source = readFileSync(
|
|
44
|
+
new URL('../../../.github/workflows/marketplace-ci.yml', import.meta.url),
|
|
45
|
+
'utf8'
|
|
46
|
+
)
|
|
47
|
+
expect(source).toContain('types: [opened, reopened, ready_for_review, synchronize]')
|
|
48
|
+
expect(source).toContain(
|
|
49
|
+
"if: github.event_name != 'pull_request' || github.event.pull_request.draft == false"
|
|
50
|
+
)
|
|
51
|
+
})
|
|
52
|
+
|
|
53
|
+
test('review policy runs on each ready PR transition and review event', () => {
|
|
54
|
+
const source = readFileSync(
|
|
55
|
+
new URL('../../../.github/workflows/review-policy.yml', import.meta.url),
|
|
56
|
+
'utf8'
|
|
57
|
+
)
|
|
58
|
+
expect(source).toContain('types: [opened, reopened, ready_for_review, synchronize]')
|
|
59
|
+
expect(source).toContain('types: [submitted, dismissed]')
|
|
60
|
+
expect(source).toContain('name: Review Policy / Gate')
|
|
61
|
+
expect(source).toContain('if: github.event.pull_request.draft != true')
|
|
62
|
+
expect(source).toContain(
|
|
63
|
+
'group: review-policy-${{ github.event_name }}-${{ github.event.pull_request.number }}'
|
|
64
|
+
)
|
|
65
|
+
})
|