Skip to content

fix(reveng): restore local tshark workflow and align manual CI/docs - #56

Merged
cherninkiy merged 2 commits into
devfrom
copilot/create-demo-reveng-folder
Apr 21, 2026
Merged

fix(reveng): restore local tshark workflow and align manual CI/docs#56
cherninkiy merged 2 commits into
devfrom
copilot/create-demo-reveng-folder

Conversation

@cherninkiy

Copy link
Copy Markdown
Collaborator

Summary

This PR restores the demo/reveng workflow as a fully working local and CI-ready path, then aligns the manual tshark workflow and README with the actual commands that now pass locally.

Changes

  • Restored the local demo/reveng execution path so generation and tshark validation work end to end.
  • Repaired the demo YAML specs used by the reveng cases.
  • Updated helper scripts to:
    • use the real CLI entrypoint (pc, with protocollab fallback),
    • register/generated Lua dissectors for DLT_USER0,
    • configure the required user_dlt mapping for tshark and Wireshark,
    • resolve the correct generated Lua filenames.
  • Marked downloaded real_sample.* captures as ignored in demo/reveng/.gitignore.
  • Regenerated the tracked synthetic sample.pcap fixtures to match the now-verified tshark assertions.
  • Updated the manual GitHub Actions workflow to use a valid CLI probe.
  • Updated demo/reveng/README.md so it documents the actual working flow:
    • fetch real samples,
    • regenerate synthetic fixtures,
    • generate Lua dissectors,
    • run tshark assertions,
    • use the manual-only Actions workflow.

Validation

Local validation completed successfully:

  • ./tools/fetch_samples.sh --force
  • python tools/make_samples.py
  • ./tools/generate_all.sh
  • ./tools/test_dissectors.sh

Result:

  • 28 passed
  • 0 failed
  • 0 skipped

Notes

  • run_wireshark.sh is functionally aligned with the rest of the workflow, but GUI launch could not be fully verified because the local Wireshark installation fails with a system-level shared-library error unrelated to this repository.
  • The GitHub Actions workflow remains manual-only via workflow_dispatch.

@cherninkiy
cherninkiy changed the base branch from dev to main April 21, 2026 23:00
- repair demo YAML specs used by reveng generation and bool filter behavior
- update helper scripts to use the real CLI, map DLT_USER0, and resolve output names
- ignore downloaded real_sample captures in git
- regenerate synthetic sample pcaps to match the verified tshark assertions
- document the actual local reveng flow: fetch, generate, test, and manual CI
- switch the manual tshark workflow to a valid CLI probe using pc --help
- remove machine-specific paths from the README
@cherninkiy
cherninkiy force-pushed the copilot/create-demo-reveng-folder branch from 3d4fca9 to 9a806c8 Compare April 21, 2026 23:03
@cherninkiy
cherninkiy changed the base branch from main to dev April 21, 2026 23:03
@cherninkiy
cherninkiy merged commit 873c286 into dev Apr 21, 2026
@cherninkiy
cherninkiy deleted the copilot/create-demo-reveng-folder branch April 21, 2026 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant