Added CI worker for native S390X #1052
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.67) × (1 − Review Confidence (0.80)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.67 · 222 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.89 · 5 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.323
Self Review
self_review
0.140
Real PR Conversation Timeline
9 items
You would need to maintain the worker, and I am the only maintainer with which to exchange tokens.
closing >
this PR is ready for review.
i left this in the code: enabled: ${{ github.repository == 'fneddy/zlib' && 'true' || false }}
If I change it to madler/zlib before the actions workers are connected it will create stalling actions.
next steps:
Ok. So how does this get set up?
i added a readme here that explains how one could setup actions worker.
However as i shall maintain the worker, I sent a pgp encrypted email with info about how we could do a token exchange to the email mentioned in your github profile(_madler[at]alumni.caltech.edu_).
@fneddy: Good job!
@madler: Do not forget this PR too.
@fneddy Please check the conflicts.
fneddy
Background
As mentioned in #1050
Qemudoes not implement the hardware acceleration instructions forS390X. Therefor a Qemu based CI will never actually test the code but fallback and use the software implementation. For this reason its highly desirable to run the zlib CI on a _real_ S390X IBM System Z worker.Setup
This PR adds CI jobs for native S390X workers.
GitHub has not yet support for this architecture. Therefore its necessary to add self-hosted workers.
Marist University offers free workers for open source projects with their LinuxONE Community Cloud.
Job Control
The self-hosted worker setup does not allow forks to run their CI jobs on the worker. Therefor it is necessary to deactivate this new jobs for forks.
Currently its not possible to deactivate or skip a GitHub Action Job. Therefor I added an
enabledflag to thecmakeandconfigurejob matrix. Together with a repository check (${{ github.repository == 'madler/zlib' && 'true' || 'false' }}) the new CI jobs can bedisabledfor forks. By filtering on this flag in the job steps forks could be set toalways succeedoralways fail.S390X worker
GitHub does not officially support S390X as a worker. With gaplib its possible to connect an S390X instance as a self-hosted worker.
This raises some questions: Should we add the gaplib-scripts to the zlib src (zlib-ng did that). Who will maintain the
self-hostedworker at the LinuxONE Community Cloud? I've already setup an account for testing and am willing to take this responsibility. But if its decided that it should be maintained by an official zlib maintainer I am happy to assist with the setup. If I shall maintain the worker, I need a communication channel with a zlib maintainer to exchange the github tokens.Open Questions
native S390XCI run on forks be always failing or always success ? -> @fneddy votes for always successcontribfolder? -> ~@fneddy no~ / @iii-i yes