gitlink-cli/reports/FEISHU_TEST_ENTERPRISE_SMOK...

2.5 KiB

Feishu Test Enterprise Smoke Report

Date: 2026-06-15

Branch:

feat/feishu-export-clean

Scope

This smoke run validates the stable Feishu export path in a real Feishu test enterprise.

Stable path:

bot-test
notify
weekly-report
bitable-schema
bitable-records

Experimental path:

doc-export

Secrets, full webhook URLs, app secrets, and real Wiki tokens are not recorded in this report.

Local Verification

Commands:

gofmt -w shortcuts/feishu
git diff --check
go test ./shortcuts/feishu ./shortcuts ./...

Result:

passed

Windows JSON Encoding Check

The smoke run generated workflow JSON through Windows PowerShell redirection.

Initial result before fix:

parse workflow JSON: invalid character 'ÿ' looking for beginning of value

Fix:

workflow JSON reader now accepts UTF-8 BOM, UTF-16LE BOM, and UTF-16BE BOM.

Post-fix result:

workflow JSON generated by PowerShell redirection is accepted.

Real Feishu Bot Smoke

Step Result Notes
bot-test preview pass local preview
bot-test send pass HTTP 200 / Feishu code 0
notify preview pass local preview
notify send pass HTTP 200 / Feishu code 0
notify send with doc URL pass HTTP 200 / Feishu code 0
weekly-report markdown pass markdown rendered
weekly-report send pass HTTP 200 / Feishu code 0

Bitable Dry-Run Smoke

Step Result Notes
bitable-schema json pass JSON schema generated
bitable-schema markdown pass Markdown schema generated
bitable-records json pass dry-run records generated
bitable-records table pass reports/issues/prs records summarized; contributors reserved

Experimental Doc Export Smoke

Step Result Notes
doc-export preview pass target resolved as Wiki append preview
doc-export send expected failure Feishu returned HTTP 403 / code 1770032 / forBidden

Interpretation:

The self-built app credentials can get tenant_access_token and resolve the Wiki node, but the app cannot write blocks to the target Wiki-backed DocX page yet.

Required Feishu-side action:

Grant the self-built app approved DocX/Drive scopes and write access to the target Wiki/DocX page or use a writable folder token.

Conclusion

Stable Feishu export path is working in the test enterprise.

doc-export remains experimental and permission-blocked for real writes.