Skip to content

Commit 0874568

Browse files
committed
Add validation workflow and release metadata
1 parent 8d7c111 commit 0874568

3 files changed

Lines changed: 64 additions & 0 deletions

File tree

.github/workflows/validate.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Validate fix package
2+
3+
on:
4+
push:
5+
pull_request:
6+
workflow_dispatch:
7+
8+
jobs:
9+
validate:
10+
name: Validate scripts, patch, and shim
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Check out repository
15+
uses: actions/checkout@v4
16+
17+
- name: Validate shell scripts
18+
run: |
19+
bash -n scripts/build_codex_0_131_0_with_issue14860_fix.sh
20+
bash -n scripts/install_patched_codex.sh
21+
22+
- name: Validate patch file parses
23+
run: git apply --stat patches/codex-cli-0.131.0-issue14860-tcp-user-timeout.patch
24+
25+
- name: Validate CentOS 7 compatibility shim compiles
26+
run: cc -fPIC -Wall -Wextra -Werror -c src/centos7_compat.c -o /tmp/centos7_compat.o
27+

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Codex CLI 0.131.0 issue #14860 fix package
22

3+
[![Validate fix package](https://github.com/GitLaughs/codex-cli-0.131.0-issue14860-fix/actions/workflows/validate.yml/badge.svg)](https://github.com/GitLaughs/codex-cli-0.131.0-issue14860-fix/actions/workflows/validate.yml)
4+
[![Release](https://img.shields.io/github/v/release/GitLaughs/codex-cli-0.131.0-issue14860-fix)](https://github.com/GitLaughs/codex-cli-0.131.0-issue14860-fix/releases)
5+
36
This repository contains a small, source-based patch package for Codex CLI
47
0.131.0. It does not ship or replace Codex with any third-party binary.
58

@@ -11,6 +14,14 @@ The patch follows the Nopiskl issue #14860 approach:
1114
- provide a CentOS 7 compatibility shim for the final link step when older
1215
system headers/libc do not expose symbols needed by transitive native code
1316

17+
## Search Keywords
18+
19+
Codex CLI, OpenAI Codex, codex-cli 0.131.0, rust-v0.131.0, issue 14860,
20+
Nopiskl issue 14860, remote compaction, compaction timeout, long-running
21+
request timeout, reqwest tcp_user_timeout, TCP_USER_TIMEOUT, Rust source build,
22+
CentOS 7 build, Linux CLI patch, OpenSSL build dependency, Perl IPC::Cmd,
23+
`memfd_create`, `le16toh`, `be16toh`, source patch package.
24+
1425
## Contents
1526

1627
- `patches/codex-cli-0.131.0-issue14860-tcp-user-timeout.patch`
@@ -26,6 +37,8 @@ The patch follows the Nopiskl issue #14860 approach:
2637
locally built replacement.
2738
- `docs/centos7-build-notes.md`
2839
- Notes from the CentOS 7 build and install flow.
40+
- `.github/workflows/validate.yml`
41+
- CI workflow that checks shell syntax, patch parsing, and shim compilation.
2942

3043
## Prerequisites
3144

docs/release-notes-v0.1.0.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# v0.1.0
2+
3+
Initial public release of the source-based Codex CLI 0.131.0 issue #14860 fix
4+
package.
5+
6+
## Included
7+
8+
- Patch for `codex-rs/login/src/auth/default_client.rs` that sets
9+
`reqwest::ClientBuilder::tcp_user_timeout` to 120 seconds.
10+
- Build script for applying the patch to an official `rust-v0.131.0` Codex
11+
source checkout and building `codex-cli`.
12+
- Install script that backs up the existing vendor binary before installing the
13+
locally built replacement.
14+
- CentOS 7 link compatibility shim for `memfd_create`, `le16toh`, and
15+
`be16toh`.
16+
- GitHub Actions validation workflow for scripts, patch parsing, and shim
17+
compilation.
18+
19+
## Search keywords
20+
21+
Codex CLI, OpenAI Codex, codex-cli 0.131.0, issue 14860, Nopiskl, remote
22+
compaction, compaction timeout, tcp_user_timeout, reqwest, Rust, CentOS 7,
23+
Linux, source build, patch package.
24+

0 commit comments

Comments
 (0)