Skip to content

Fix build (bpf-dyn-link) by syncing committed mitm-ui/dist with current UI sources - #40

Closed
arloor with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-bpf-dyn-link-job
Closed

arloor with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-bpf-dyn-link-job

Conversation

Copilot AI commented Aug 30, 2026 •

Copy link
Copy Markdown

The failing build (bpf-dyn-link) job was caused by a stale committed mitm-ui/dist tree. CI rebuilds the UI and enforces git diff --exit-code -- mitm-ui/dist, which failed because the checked-in bundle hash no longer matched generated output.

  • Root cause

    • mitm-ui/dist artifacts in the repo were out of date relative to current mitm-ui source, so the workflow’s dist-integrity check failed before Rust build stages.
  • Change: refresh committed dist artifacts

    • Regenerated mitm-ui/dist with current toolchain output.
    • Updated mitm-ui/dist/index.html to reference the newly generated JS asset.
    • Removed stale bundle and added the current hashed bundle file.
  • Resulting artifact delta

    • dist/assets/index-C_XxRa6b.js → removed
    • dist/assets/index-CtOFfkzd.js → added
    • dist/index.html → script reference updated
-<script type="module" crossorigin src="/mitm/assets/index-C_XxRa6b.js"></script>
+<script type="module" crossorigin src="/mitm/assets/index-CtOFfkzd.js"></script>

Co-authored-by: arloor <21768987+arloor@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'build (bpf-dyn-link)' Fix build (bpf-dyn-link) by syncing committed mitm-ui/dist with current UI sources Aug 30, 2026
Copilot AI requested a review from arloor August 30, 2026 03:15
@arloor arloor closed this Aug 30, 2026
@arloor
arloor deleted the copilot/fix-bpf-dyn-link-job branch August 30, 2026 03:17
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.

2 participants