Tester 代码审计
- 作者仓库星标 7,979
- 许可证 NOASSERTION
- 作者仓库 webiny-js
Running Tests
DDB-only tests (default)
yarn test packages/<package-name>
OpenSearch (ddb-os) tests
yarn test:os packages/<package-name>
Which command to use
Determine which commands to run based on the package. Source of truth: the storageOps key in each package's ci.config.json.
Packages that need BOTH yarn test AND yarn test:os
These packages have storageOps: ["ddb", "ddb-os,ddb"]:
api-acoapi-audit-logsapi-file-managerapi-file-manager-acoapi-headless-cmsapi-headless-cms-acoapi-headless-cms-bulk-actionsapi-headless-cms-import-exportapi-mailerapi-schedulerapi-workflowstaskstesting
Packages that need ONLY yarn test:os (no standalone ddb)
These packages have storageOps: ["ddb-os,ddb"] (no separate "ddb" entry):
api-dynamodb-to-elasticsearchapi-elasticsearch-tasksapi-headless-cms-ddb-esapi-headless-cms-es-tasksapi-opensearch
All other packages — yarn test only
If a package is not listed above, run only yarn test.
Keeping this list up to date
If the list seems stale, re-derive it:
# Packages with ddb-os support
grep -rl "ddb-os" --include="ci.config.json" packages/ | sort
# Then check each file's storageOps to see if "ddb" is also present- 流狐分类
- 通用
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @webiny · NOASSERTION
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 DDB-only tests (default)
OpenSearch (ddb-os) tests
Determine which commands to run based on the package. Source of truth: the storageOps key in each package's ci.config.json.
These packages have storageOps: ["ddb", "ddb-os,ddb"]: api-aco api-audit-logs
These packages have storageOps: ["ddb-os,ddb"] (no separate "ddb" entry): api-dynamodb-to-elasticsearch api-elasticsearch-tasks
If a package is not listed above, run only yarn test.
# Running Tests
## DDB-only tests (default)
```bash
yarn test packages/<package-name>
```
## OpenSearch (ddb-os) tests
```bash
yarn test:os packages/<package-name>
```
## Which command to use
Determine which commands to run based on the package. Source of truth: the `storageOps` key in each package's `ci.config.json`.
### Packages that need BOTH `yarn test` AND `yarn test:os`
These packages have `storageOps: ["ddb", "ddb-os,ddb"]`:
- `api-aco`
- `api-audit-logs`
- `api-file-manager`
- `api-file-manager-aco`
- `api-headless-cms`
- `api-headless-cms-aco`
- `api-headless-cms-bulk-actions`
- `api-headless-cms-import-export`
- `api-mailer`
- `api-scheduler`
- `api-workflows`
- `tasks`
- `testing`
### Packages that need ONLY `yarn test:os` (no standalone ddb)
These packages have `storageOps: ["ddb-os,ddb"]` (no separate `"ddb"` entry):
- `api-dynamodb-to-elasticsearch`
- `api-elasticsearch-tasks`
- `api-headless-cms-ddb-es`
- `api-headless-cms-es-tasks`
- `api-opensearch`
### All other packages — `yarn test` only
If a package is not listed above, run only `yarn test`.
## Keeping this list up to date
If the list seems stale, re-derive it:
```bash
# Packages with ddb-os support
grep -rl "ddb-os" --include="ci.config.json" packages/ | sort
# Then check each file's storageOps to see if "ddb" is also present
``` 作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> DDB-only tests (default) → OpenSearch (ddb-os) tests → Which command to use → Packages that need BOTH yarn test AND yarn test:os → Packages that need ONLY yarn test:os (no standalone ddb) → All other packages — yarn test only
要点 -> Determine which commands to run based on the package. · If a package is not listed above, run only yarn test.
文件/命令 -> storageOps · ci.config.json · yarn test · yarn test:os · storageOps: ["ddb", "ddb-os,ddb"] · api-aco · api-audit-logs · api-file-manager
内容 SHA-256 -> 31e0036aa69d
原文结构
适用与边界
原文中的明确线索
storageOps、ci.config.json、yarn test、yarn test:os、storageOps: ["ddb", "ddb-os,ddb"]、api-aco、api-audit-logs、api-file-manager