feat: add Feishu release notification and bilingual highlight summary workflow - #116
Merged
Merged
Annotations
3 errors and 1 warning
|
Run npm test
Process completed with exit code 1.
|
|
Run npm test:
test/feishu-release-notes.test.ts#L28
Error: Command failed: python3 /Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py generate-fallback --tag v0.4.0 --output /Users/runner/work/dsh-desktop/dsh-desktop/.temp-feishu-test-notes.md
Traceback (most recent call last):
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 463, in <module>
main()
~~~~^^
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 447, in main
notes = generate_deterministic_fallback(args.tag)
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 330, in generate_deterministic_fallback
evidence = collect_release_evidence(release_tag)
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 241, in collect_release_evidence
release_range, commit_details, diff_summary, code_diff = collect_range_evidence(
~~~~~~~~~~~~~~~~~~~~~~^
release_tag,
^^^^^^^^^^^^
previous_tag,
^^^^^^^^^^^^^
)
^
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 193, in collect_range_evidence
commit_details = git_output(
"log",
...<4 lines>...
release_tag,
)
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 129, in git_output
return subprocess.check_output(
~~~~~~~~~~~~~~~~~~~~~~~^
["git", *args],
^^^^^^^^^^^^^^^
text=True,
^^^^^^^^^^
stderr=subprocess.DEVNULL,
^^^^^^^^^^^^^^^^^^^^^^^^^^
).strip()
^
File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/subprocess.py", line 473, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'log', '--no-merges', '--pretty=format:---%nSubject: %s%nBody:%n%b', '-n', '100', 'v0.4.0']' returned non-zero exit status 128.
❯ test/feishu-release-notes.test.ts:28:7
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'Traceback (most recent call last):\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 463, in <module>\n main()\n ~~~~^^\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 447, in main\n notes = generate_deterministic_fallback(args.tag)\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 330, in generate_deterministic_fallback\n evidence = collect_release_evidence(release_tag)\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 241, in collect_release_evidence\n release_range, commit_details, diff_summary, code_diff = collect_range_evidence(\n ~~~~~~~~~~~~~~~~~~~~~~^\n release_tag,\n ^^^^^^^^^^^^\n previous_tag,\n ^^^^^^^^^^^^^\n )\n ^\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 193, in collect_range_evidence\n commit_details = git_output(\n "log",\n ...<4 lines>...\n release_tag,\n )\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 129, in git_output\n return subprocess.check_output(\n ~~~~~~~~~~~~~~~~~~~~~~~^\n ["git", *arg
|
|
Run npm test:
test/feishu-release-notes.test.ts#L11
Error: Command failed: python3 /Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py build-prompt --tag v0.4.0
Traceback (most recent call last):
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 463, in <module>
main()
~~~~^^
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 434, in main
prompt = build_prompt(args.tag)
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 257, in build_prompt
evidence = collect_release_evidence(release_tag)
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 241, in collect_release_evidence
release_range, commit_details, diff_summary, code_diff = collect_range_evidence(
~~~~~~~~~~~~~~~~~~~~~~^
release_tag,
^^^^^^^^^^^^
previous_tag,
^^^^^^^^^^^^^
)
^
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 193, in collect_range_evidence
commit_details = git_output(
"log",
...<4 lines>...
release_tag,
)
File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 129, in git_output
return subprocess.check_output(
~~~~~~~~~~~~~~~~~~~~~~~^
["git", *args],
^^^^^^^^^^^^^^^
text=True,
^^^^^^^^^^
stderr=subprocess.DEVNULL,
^^^^^^^^^^^^^^^^^^^^^^^^^^
).strip()
^
File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/subprocess.py", line 473, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
**kwargs).stdout
^^^^^^^^^
File "/opt/homebrew/Cellar/python@3.14/3.14.6/Frameworks/Python.framework/Versions/3.14/lib/python3.14/subprocess.py", line 578, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'log', '--no-merges', '--pretty=format:---%nSubject: %s%nBody:%n%b', '-n', '100', 'v0.4.0']' returned non-zero exit status 128.
❯ test/feishu-release-notes.test.ts:11:20
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { status: 1, signal: null, output: [ null, '', 'Traceback (most recent call last):\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 463, in <module>\n main()\n ~~~~^^\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 434, in main\n prompt = build_prompt(args.tag)\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 257, in build_prompt\n evidence = collect_release_evidence(release_tag)\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 241, in collect_release_evidence\n release_range, commit_details, diff_summary, code_diff = collect_range_evidence(\n ~~~~~~~~~~~~~~~~~~~~~~^\n release_tag,\n ^^^^^^^^^^^^\n previous_tag,\n ^^^^^^^^^^^^^\n )\n ^\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 193, in collect_range_evidence\n commit_details = git_output(\n "log",\n ...<4 lines>...\n release_tag,\n )\n File "/Users/runner/work/dsh-desktop/dsh-desktop/.github/scripts/feishu_release_notes.py", line 129, in git_output\n return subprocess.check_output(\n ~~~~~~~~~~~~~~~~~~~~~~~^\n ["git", *args],\n ^^^^^^^^^^^^^^^\n text=True,\n ^^^^^^^^^^\n stderr=subprocess.DEVNULL,\n ^^^^^^^^^^^^^^^^^^^^^^^^^^\n ).strip()\n
|
|
Complete job
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
background
wait
wait-all
cancel
parallel
Loading