Skip to content

updates - #59

Closed
0cwa wants to merge 17 commits into
0cwa:mainfrom
pixincreate:main
Closed

updates#59
0cwa wants to merge 17 commits into
0cwa:mainfrom
pixincreate:main

Conversation

@0cwa

@0cwa 0cwa commented Jul 19, 2026

Copy link
Copy Markdown
Owner

No description provided.

pixincreate and others added 2 commits July 18, 2026 15:36
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
@coderabbitai

coderabbitai Bot commented Jul 19, 2026

Copy link
Copy Markdown

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review
📝 Walkthrough

Walkthrough

Release component version constants and two GitHub Actions workflow references were updated. Build, release, publishing, and workflow wiring logic were not changed.

Changes

Release updates

Layer / File(s) Summary
Version default updates
src/declarations.sh
AVBRoot, its setup commit, BCR, CUSTOTA, and MSD default versions were updated. GRAPHENEOS and MAGISK remain empty fallbacks.
Workflow action upgrades
.github/workflows/release.yml, .github/workflows/renovate.yml
The Python setup action and self-hosted Renovate action now reference newer versions.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Possibly related PRs

  • 0cwa/PixeneOS#56: Updates overlapping version pins in src/declarations.sh and GitHub Actions.
  • 0cwa/PixeneOS#57: Updates overlapping component version constants in src/declarations.sh.

Suggested reviewers: pixincreate

Poem

A rabbit checks each version line,
And finds the release pins in time.
Python hops to version seven,
Renovate climbs toward heaven.
AVBRoot and friends align.

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title "updates" is too generic to identify the workflow and version-pin changes. Use a concise title that identifies the dependency and version updates, such as "Update action versions and tool pins".
Description check ❓ Inconclusive No pull request description was provided, so the changeset has no author-provided summary. Add a brief description that summarizes the GitHub Actions updates and tool version-pin changes.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
⚔️ Resolve merge conflicts 💡
  • Resolve merge conflict in branch main
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@0cwa
0cwa marked this pull request as draft July 19, 2026 17:23
@0cwa
0cwa marked this pull request as ready for review July 19, 2026 17:23
pixincreate and others added 6 commits July 21, 2026 11:00
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
 digest to a0f2448 (#323)

Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/release.yml:
- Line 172: Replace the mutable actions/setup-python v7 reference in
.github/workflows/release.yml:172-172 with the verified full immutable commit
SHA for v7. Also replace the mutable renovatebot/github-action v46.1.20
reference in .github/workflows/renovate.yml:28-28 with its verified full commit
SHA, preserving the existing action versions.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 45ba977d-7cb3-424e-a5a7-562c2c268e23

📥 Commits

Reviewing files that changed from the base of the PR and between d2031e5 and eee093b.

📒 Files selected for processing (3)
  • .github/workflows/release.yml
  • .github/workflows/renovate.yml
  • src/declarations.sh


- name: Install Python
uses: actions/setup-python@v6
uses: actions/setup-python@v7

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Pin all changed workflow actions to immutable commit SHAs.

Both updated references use mutable tags, violating the repository’s blanket action-pinning policy:

  • .github/workflows/release.yml#L172-L172: pin actions/setup-python to the verified full SHA for v7.
  • .github/workflows/renovate.yml#L28-L28: pin renovatebot/github-action to the verified full SHA for v46.1.20.
🧰 Tools
🪛 zizmor (1.26.1)

[error] 172-172: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)

(unpinned-uses)

📍 Affects 2 files
  • .github/workflows/release.yml#L172-L172 (this comment)
  • .github/workflows/renovate.yml#L28-L28
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/release.yml at line 172, Replace the mutable
actions/setup-python v7 reference in .github/workflows/release.yml:172-172 with
the verified full immutable commit SHA for v7. Also replace the mutable
renovatebot/github-action v46.1.20 reference in
.github/workflows/renovate.yml:28-28 with its verified full commit SHA,
preserving the existing action versions.

Source: Linters/SAST tools

pixincreate and others added 2 commits July 23, 2026 20:46
 digest to 848deb1 (#327)

Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.github/workflows/renovate.yml:
- Line 28: Update the Renovate workflow’s uses entry to reference the immutable
commit SHA for version v46.1.21 instead of the mutable tag, and retain
“v46.1.21” in an adjacent comment for maintainability.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: a4bce63a-613f-49e6-a81c-400ae0dc346d

📥 Commits

Reviewing files that changed from the base of the PR and between a0153c7 and abdd07d.

📒 Files selected for processing (1)
  • .github/workflows/renovate.yml

Comment thread .github/workflows/renovate.yml Outdated

- name: Self-hosted Renovate
uses: renovatebot/github-action@v46.1.19
uses: renovatebot/github-action@v46.1.21

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟠 Major | ⚡ Quick win

Pin the action to an immutable commit SHA.

@v46.1.21 is still a mutable tag. Because this action receives secrets.RENOVATE, a retagged or compromised release could execute unreviewed code with repository credentials. Pin the action to its commit SHA and retain the version in a comment for maintainability.

🧰 Tools
🪛 zizmor (1.26.1)

[error] 28-28: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)

(unpinned-uses)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/renovate.yml at line 28, Update the Renovate workflow’s
uses entry to reference the immutable commit SHA for version v46.1.21 instead of
the mutable tag, and retain “v46.1.21” in an adjacent comment for
maintainability.

Source: Linters/SAST tools

pixincreate and others added 4 commits July 30, 2026 10:57
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@src/declarations.sh`:
- Line 31: Update the default VERSION[AVBROOT] value in the declarations
configuration to a published, compatible upstream AVBRoot release tag,
preserving the existing release URL construction and override behavior.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 28ef7d8a-1ea8-45e7-9284-5ef2568c4bbd

📥 Commits

Reviewing files that changed from the base of the PR and between 5d2270d and ecfb4b5.

📒 Files selected for processing (1)
  • src/declarations.sh

Comment thread src/declarations.sh
VERSION[AVBROOT_SETUP]="e4f80bb54aa5ae8de6109edd7d0873d5b4966748" # Commit hash
VERSION[BCR]="${VERSION[BCR]:-3.4}"
VERSION[CUSTOTA]="${VERSION[CUSTOTA]:-6.2}"
VERSION[AVBROOT]="${VERSION[AVBROOT]:-3.33.0}"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== declarations.sh relevant lines =="
sed -n '1,80p' src/declarations.sh 2>/dev/null || true

echo "== util_functions.sh AVBROOT/url references =="
rg -n "AVBROOT|avbroot|VERSION\[" src/util_functions.sh src/declarations.sh 2>/dev/null || true

echo "== local git diff summary =="
git diff --stat 2>/dev/null || true

echo "== upstream AVBRoot release metadata =="
python3 - <<'PY'
import json, urllib.request
url = "https://api.github.com/repos/chenxiaolong/avbroot/releases/latest"
try:
    with urllib.request.urlopen(url, timeout=20) as r:
        data = json.load(r)
        print("latest_release_tag:", data.get("tag_name"))
        print("latest_release_name:", data.get("name"))
        print("published_at:", data.get("published_at"))
except Exception as e:
    print("ERROR:", type(e).__name__, str(e))

for i in range(1, 6):
    url = f"https://api.github.com/repos/chenxiaolong/avbroot/releases?per_page=20&page={i}"
    print(f"\npage {i} releases:")
    try:
        with urllib.request.urlopen(url, timeout=20) as r:
            for item in json.load(r)[:5]:
                print("-", item.get("tag_name") or "<nil>", item.get("published_at"))
    except Exception as e:
        print("ERROR:", type(e).__name__, str(e))
PY

Repository: 0cwa/PixeneOS

Length of output: 9633


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "== util_functions.sh download function around AVBRoot release URLs =="
sed -n '335,380p' src/util_functions.sh 2>/dev/null || true

echo "== fetch all known AVBRoot releases containing v3.33.0 or v3.32.2 =="
python3 - <<'PY'
import urllib.request, json, ssl

ctx = ssl.create_default_context()
ctx.check_hostname=False
ctx.verify_mode=ssl.CERT_NONE

releases=[]
for page in range(1,10):
    url = f"https://api.github.com/repos/chenxiaolong/avbroot/releases?per_page=100&page={page}"
    try:
        with urllib.request.urlopen(url, timeout=20, context=ctx) as r:
            data = json.load(r)
    except Exception as e:
        print(f"page {page} error:", repr(e))
        break
    if not data:
        break
    releases.extend(data)

for tag in ["v3.33.0", "v3.32.2"]:
    hits = [r for r in releases if r.get("tag_name") == tag]
    print("tag:", tag, "count", len(hits))
    if hits:
        print(hits[0].get("published_at"), hits[0].get("assets", [])[:3])

latest = None
for r in releases:
    if not latest or r.get("published_at", "") > latest.get("published_at",""):
        latest=r
print("latest:", latest.get("tag_name"), "published", latest.get("published_at"))
PY

Repository: 0cwa/PixeneOS

Length of output: 2627


🌐 Web query:

chenxiaolong avbroot releases v3.33.0 v3.32.2

💡 Result:

As of August 6, 2026, there are no official releases for avbroot versions v3.33.0 or v3.32.2 [1][2]. The latest available version of avbroot is v3.32.0, which was published on July 18, 2026 [2].

Citations:


Use a published AVBRoot release.

VERSION[AVBROOT] is turned into the release URL chenxiaolong/avbroot/releases/download/v<version>/avbroot-<version>-<ARCH>.zip. v3.33.0 is not published on the upstream release page, so the default download path fails. Set this to a published, compatible tag before merging.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@src/declarations.sh` at line 31, Update the default VERSION[AVBROOT] value in
the declarations configuration to a published, compatible upstream AVBRoot
release tag, preserving the existing release URL construction and override
behavior.

pixincreate and others added 3 commits August 6, 2026 16:32
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
Co-authored-by: Renovate Bot <renovatebot@non-existent-email.com>
@0cwa

0cwa commented Aug 8, 2026

Copy link
Copy Markdown
Owner Author

Superseded by #60, which keeps 0cwa/my-avbroot-setup as the helper source, preserves PixeneOS fork-specific workflows/security changes, and is based on the maintained helper sync in 0cwa/my-avbroot-setup#4.

@0cwa 0cwa closed this Aug 8, 2026
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