airvzxf / airvzxf/ftp-deployment-action
test(smoke): smoke tests do not cover FTPS (implicit or explicit)
- Ngôn ngữ chính
- Shell
- Star
- 37
- Fork
- 9
- Merge trung bình
- 44 phút
- Pull request đã merge (30 ngày)
- 47
Mô tả
gh issue create --title "test(smoke): smoke tests do not cover FTPS (implicit or explicit)" --label "test,audit,priority:low" --body "## Finding
tests/smoke.sh runs the action against a plain FTP server only. FTPS scenarios (03 and 04 in the integration suite) are not exercised by the smoke gate. A FTPS-only regression could pass smoke and break in production.
## Affected code
- tests/smoke.sh
- (maybe a new tests/smoke-ftps.sh)
## Reproduction
1. Inspect tests/smoke.sh: no FTPS test case.
## Suggested fix
Add a smoke test that runs the action with INPUT_FTP_SSL=true and a self-signed cert. Or add a separate tests/smoke-ftps.sh target and wire it into the Makefile.
## Source
F2 audit 2026-09-03 (tests audit). Reporter: subagent-pekodbj7.
## Related
- Part of EPIC #[epic-number]
- Closes: #NONE (no existing issue)
- Related: #120 (FTPS integration coverage — closed, superseded by current scenarios)"
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Start by reading tests/smoke.sh and compare its plain FTP coverage with FTPS scenarios 03 and 04 in the integration suite. Check the Makefile to see how smoke targets are wired, then determine whether the FTPS case belongs in tests/smoke.sh or a separate tests/smoke-ftps.sh. Done means the smoke gate runs an FTPS test with INPUT_FTP_SSL=true and a self-signed certificate.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- github-actions, shell
- Lĩnh vực
- ci-cd, testing
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 72/100