Skip to content

fix(ci): avoid slow Azure archive for the native cross compiler - #1016

Merged
N0zoM1z0 merged 3 commits into
mainfrom
fix/ci-native-apt-mirror
Oct 7, 2026
Merged

N0zoM1z0 merged 3 commits into
mainfrom
fix/ci-native-apt-mirror

Conversation

@N0zoM1z0

@N0zoM1z0 N0zoM1z0 commented Oct 7, 2026 •

Copy link
Copy Markdown
Collaborator

The Windows native cross-build twice exhausted its ten-minute job budget while downloading MinGW packages from azure.archive.ubuntu.com; compilation never started. Compiler preparation now uses Ubuntu's main archive over HTTPS in the runner's mirror list and standard source files, while keeping the existing signed packages, compiler, build, artifact verification, and job timeout.

The failing run uses /etc/apt/apt-mirrors.txt, so changing only ubuntu.sources would not address its actual download source. GitHub's runner APT configuration documents that mirror-list boundary.

Validation:

  • Parsed the complete workflow and verified that only compiler preparation changed; the ten-minute timeout and package selection are preserved.
  • YAML formatting and extracted Bash syntax checks passed.
  • npm run build:cached and npm run check:fast passed.
  • The required real cross-compiler build and native package verification run in this PR's existing CI lane. No packages or APT configuration were changed on the local host.

The first mirror-only CI run still waited for HTTP fallback on every index. Explicit HTTPS subsequently completed real compiler preparation, compilation, and native artifact verification. Main, including #1014's independent Linux stdio smoke-test fix, is integrated; rebuilt stdio tests and static checks pass locally. Final CI is running on that exact combination.

This addresses the same download failure observed on #1008 and during the earlier modularization batch. No real Hopper/Ghidra verification was performed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T18:57:42.156081Z 1e84f36 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@N0zoM1z0
N0zoM1z0 merged commit 51956c1 into main Oct 7, 2026
23 checks passed
@N0zoM1z0
N0zoM1z0 deleted the fix/ci-native-apt-mirror branch October 7, 2026 19:08
darsrc pushed a commit to darsrc/rea that referenced this pull request Oct 10, 2026
…uto#1016)

* fix(ci): avoid slow Azure archive for the native cross compiler

* fix(ci): use HTTPS for Ubuntu archive transfers
@morluto morluto added bug Something isn't working area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior labels Oct 14, 2026
@morluto morluto added the area: build Build, CI, packaging, and publishing label Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build Build, CI, packaging, and publishing area: native Native analysis and decompilation, including Ghidra, IDA, and Hopper analysis behavior bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants