shader: bound post-tested loop image tables by their start value (Guardians of the Galaxy, #1004) #1444

Open
github-bot wants to merge 1 commit from github-bot/gh-1444 into main AGit
Owner

@⁠overlordxrz-source on GitHub · 2026-10-12 08:38 UTC · original
overlordxrz-source:fix/gotg-post-tested-loop → main · +163 −12 · 2 files · 1 commits · open

Game: Marvel's Guardians of the Galaxy (PPSA01748), issue #1004.

Problem: With #1438 applied, the game gets past its first crash, shows a loading screen, and then stops at:

shader resource tracking: hash=0xb86c8dfc3f2471af stage=pixel pc=0x00000604 GetImageResource dword 0 is not a valid runtime value

@⁠hackerinfo89 traced it to this loop over a 16-entry T# table (his comment, plus the native IR he attached):

0x430: s_mov_b32 s48, 1
0x504: loop:
0x588:   s_load_dwordx8 s[8:15], s[50:51], s48<<5
0x604:   image_sample_l v8, v4, s[8:15], s[4:7]
0x610:   image_sample_l v0, v4, s[8:15], s[4:7]
0x650:   s_add_i32 s48, s48, 1
0x658:   s_cmp_lt_u32 s48, 16
0x65c:   s_cbranch_scc1 loop

In the IR the key is Phi [1, entry], [%1215, latch] with %1215 = IAdd32 %847, 1. The only way back to the header is the SCC true edge of ULessThan32 %1215, 16. BoundedLoop (BoundedLoopCount before 429d0af6) only accepts a counter that starts at 0 and is tested against its bound before the body. So this handle gets no key range, TryMakeIndirectImage rejects it, and the image falls through to the failure above.

Change:

  • ResourceTracking.cpp: adds BoundedPostTestLoop. It accepts a header Phi that enters at an immediate start, has key + 1 as its back value, and whose only way back is the positive, all-lanes edge of ULessThan32(key + 1, limit) or SLessThan32(key + 1, limit), with start < limit (and start >= 0 for the signed compare). The edge can be on the back-edge block itself (the synthetic continue block here) or on every path from the header to it. Then every value of the key is in [start, limit). That holds after the loop too, because the test runs after the body, so the use doesn't need a dominating guard. The direct image-table path tries it only after BoundedLoop, and then records selector_first = start and key_count = limit - start.
  • ResourceMaterialization.cpp: the selector-less direct-table path now enumerates keys from selector_first when it is set, and its bounds check covers the last key. Before, it always started at 0. In this shader, table entry 0 is read separately after the loop at a constant offset, so the loop's table is exactly keys 1..15.

Shapes that are not in the shader stay rejected: a runtime limit, a != exit, and any start at or past the limit.

Tests: TestPostTestedImageLoop in tests/ResourceTrackingTests.cpp rebuilds the shader's IR shape: start 1, limit 16, a synthetic continue block that carries the SCC branch, and the same eight descriptor reads sampled twice. Variants:

  • Accepted: ult from 1, from 0 and from 15, and slt from 1.
  • Rejected: start 16 and start 17, signed start −1, step +2, the back edge on the false edge, and a VCC-nonzero (any-lane) edge.
  • Materialization: enumerates keys 1..15 and never reads record 0.

Results:

  • With the patch: resource_tracking_tests passes in full, built natively (aarch64 Linux, zig 0.17 clang).
  • On main (dad900c6): the new test fails with the reported error, pc=0x00000604 GetImageResource dword 0 is not a valid runtime value.
  • Tracking change alone (old materialization): the new test fails with "did not enumerate keys 1 to 15".

The touched files also compile for x86_64-linux with zig. clang-format 23.1.3 with src/.clang-format is clean on the changed lines.

I couldn't run resource_materialization_tests here: it JITs x86 code and dies with SIGILL on this aarch64 host, and unmodified main does the same. CI should cover it.

Scope: this fixes the second stop only. It doesn't depend on #1438 (the files don't overlap), so it is based on main. hackerinfo89 also reported a third stop after this one (PS 0x4a260221f9feeae6, an SRT selected by a per-primitive material index). That one needs separate design work and isn't addressed here.

Thanks to @⁠hackerinfo89 for the analysis, the logs and the full shader dump.

AI-assisted: yes

**@⁠overlordxrz-source** on GitHub · 2026-10-12 08:38 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1444) `overlordxrz-source:fix/gotg-post-tested-loop` → `main` · +163 −12 · 2 files · 1 commits · open **Game:** Marvel's Guardians of the Galaxy (PPSA01748), issue #1004. **Problem:** With #1438 applied, the game gets past its first crash, shows a loading screen, and then stops at: ``` shader resource tracking: hash=0xb86c8dfc3f2471af stage=pixel pc=0x00000604 GetImageResource dword 0 is not a valid runtime value ``` @⁠hackerinfo89 traced it to this loop over a 16-entry T# table ([his comment](https://git.gtahub.st/github/KytyPS5--KytyPS5/issues/1004), plus the native IR he attached): ``` 0x430: s_mov_b32 s48, 1 0x504: loop: 0x588: s_load_dwordx8 s[8:15], s[50:51], s48<<5 0x604: image_sample_l v8, v4, s[8:15], s[4:7] 0x610: image_sample_l v0, v4, s[8:15], s[4:7] 0x650: s_add_i32 s48, s48, 1 0x658: s_cmp_lt_u32 s48, 16 0x65c: s_cbranch_scc1 loop ``` In the IR the key is `Phi [1, entry], [%1215, latch]` with `%1215 = IAdd32 %847, 1`. The only way back to the header is the SCC true edge of `ULessThan32 %1215, 16`. `BoundedLoop` (`BoundedLoopCount` before 429d0af6) only accepts a counter that starts at 0 and is tested against its bound *before* the body. So this handle gets no key range, `TryMakeIndirectImage` rejects it, and the image falls through to the failure above. **Change:** - `ResourceTracking.cpp`: adds `BoundedPostTestLoop`. It accepts a header Phi that enters at an immediate `start`, has `key + 1` as its back value, and whose only way back is the positive, all-lanes edge of `ULessThan32(key + 1, limit)` or `SLessThan32(key + 1, limit)`, with `start < limit` (and `start >= 0` for the signed compare). The edge can be on the back-edge block itself (the synthetic continue block here) or on every path from the header to it. Then every value of the key is in `[start, limit)`. That holds after the loop too, because the test runs after the body, so the use doesn't need a dominating guard. The direct image-table path tries it only after `BoundedLoop`, and then records `selector_first = start` and `key_count = limit - start`. - `ResourceMaterialization.cpp`: the selector-less direct-table path now enumerates keys from `selector_first` when it is set, and its bounds check covers the last key. Before, it always started at 0. In this shader, table entry 0 is read separately after the loop at a constant offset, so the loop's table is exactly keys 1..15. Shapes that are not in the shader stay rejected: a runtime limit, a `!=` exit, and any start at or past the limit. **Tests:** `TestPostTestedImageLoop` in `tests/ResourceTrackingTests.cpp` rebuilds the shader's IR shape: start 1, limit 16, a synthetic continue block that carries the SCC branch, and the same eight descriptor reads sampled twice. Variants: - **Accepted:** `ult` from 1, from 0 and from 15, and `slt` from 1. - **Rejected:** start 16 and start 17, signed start −1, step +2, the back edge on the false edge, and a VCC-nonzero (any-lane) edge. - **Materialization:** enumerates keys 1..15 and never reads record 0. Results: - **With the patch:** `resource_tracking_tests` passes in full, built natively (aarch64 Linux, zig 0.17 clang). - **On main (dad900c6):** the new test fails with the reported error, `pc=0x00000604 GetImageResource dword 0 is not a valid runtime value`. - **Tracking change alone (old materialization):** the new test fails with "did not enumerate keys 1 to 15". The touched files also compile for x86_64-linux with zig. `clang-format` 23.1.3 with `src/.clang-format` is clean on the changed lines. I couldn't run `resource_materialization_tests` here: it JITs x86 code and dies with SIGILL on this aarch64 host, and unmodified main does the same. CI should cover it. **Scope:** this fixes the second stop only. It doesn't depend on #1438 (the files don't overlap), so it is based on main. hackerinfo89 also reported a third stop after this one (PS `0x4a260221f9feeae6`, an SRT selected by a per-primitive material index). That one needs separate design work and isn't addressed here. Thanks to @⁠hackerinfo89 for the analysis, the logs and the full shader dump. AI-assisted: yes
Guardians of the Galaxy (PPSA01748) PS 0xb86c8dfc3f2471af walks a T#
table from s48 = 1 and loops back while s48 + 1 < 16 (s_cmp_lt_u32,
s_cbranch_scc1). Post-tested selector loops are only proven when they
start at zero (PostTestLoopMaximum), so the image handle had no key
range and tracking failed with "GetImageResource dword 0 is not a valid
runtime value".

When the header Phi enters at an immediate start below the limit and
its only way back is the uniform true edge of (key + 1 < limit),
unsigned or signed, every key is in [start, limit). PostTestLoopRange
proves that range; PostTestLoopMaximum keeps its zero-start behaviour on
top of it. The direct table plan records a nonzero start as
selector_first and limit - start as key_count, and materialization
already enumerates the keys from selector_first, so the record before
the start is not read. A start at or past the limit is still rejected.

Refs #1004.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:56:53 +00:00
Author
Owner

@⁠coderabbitai[bot] on GitHub · 2026-10-12 08:40 UTC · original · edited 2026-10-16 02:42 UTC

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository: KytyPS5/KytyPS5/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f3231692-6edd-43d6-89cf-952b37031449
📥 Commits

Reviewing files that changed from the base of the PR and between 1e11e530e2ce94d398797a39ee62c3294423333d and 1f309cd5c3.

📒 Files selected for processing: 2
  • src/graphics/shader/recompiler/ir/passes/ResourceTracking.cpp
  • tests/ResourceTrackingTests.cpp

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review.

📝 Walkthrough

Post-tested loop recognition now supports qualifying unit-increment loops whose immediate start is below the signed or unsigned limit. Indirect descriptor planning uses the recognized start and range length to set selector_first and key_count. Tests cover accepted and rejected loop forms, signed and unsigned pixel-shader loops, and materialization of keys without reading key 0.

Suggested reviewers: nmzik

Priority: ➖ Normal

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 1f309

No merge-blocking issue is established for the post-tested image-table loop change. Merge after normal checks.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 18.18% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 11 functions across 3 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: bounding post-tested loop image tables by their start value. It also identifies the affected game context without adding unrelated detail.
Description check Passed The description is directly related to the changeset. It explains the shader issue, the new loop analysis and materialization behavior, the test coverage, validation results, and the out-of-scope limi…
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.
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

**@⁠coderabbitai[bot]** on GitHub · 2026-10-12 08:40 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1444#issuecomment-6120763597) · edited 2026-10-16 02:42 UTC <!-- This is an auto-generated comment: summarize by coderabbit.ai --> <!-- review_stack_entry_start --> <a href="https://app.coderabbit.ai/change-stack/KytyPS5/KytyPS5/pull/1444?scope=ghh_OusAJGA4HG8ljoOV0wJvVx8NmnZIjc2DdjmxOu0xZWA&amp;cs_source=review_comment"><picture><source media="(prefers-color-scheme: dark)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg?v=3"><source media="(prefers-color-scheme: light)" srcset="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg?v=3"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg?v=3" alt="Review in Change Stack →" height="32"></picture></a> <!-- review_stack_entry_end --> <!-- recent_review_start --> No actionable comments were generated in the recent review. 🎉 <details> <summary><strong>ℹ️ Recent review info</strong></summary> <dl> <dd> <details> <summary><strong>⚙️ Run configuration</strong></summary> <dl> <dd> - **Configuration used**: Repository: KytyPS5/KytyPS5/.coderabbit.yaml - **Review profile**: CHILL - **Plan**: Advanced - **Run ID**: `f3231692-6edd-43d6-89cf-952b37031449` </dd> </dl> </details> <details> <summary><strong>📥 Commits</strong></summary> <dl> <dd> Reviewing files that changed from the base of the PR and between 1e11e530e2ce94d398797a39ee62c3294423333d and 1f309cd5c38698a4a63e1fe86c3b91a1afbcc6ff. </dd> </dl> </details> <details> <summary><strong>📒 Files selected for processing: 2</strong></summary> <dl> <dd> * `src/graphics/shader/recompiler/ir/passes/ResourceTracking.cpp` * `tests/ResourceTrackingTests.cpp` </dd> </dl> </details> **Included review availability:** This review used your included allowance. Your plan provides up to 8 included reviews per hour; 5 remain after this review. </dd> </dl> </details> <!-- recent_review_end --> <!-- walkthrough_start --> <details> <summary><strong>📝 Walkthrough</strong></summary> <dl> <dd> Post-tested loop recognition now supports qualifying unit-increment loops whose immediate start is below the signed or unsigned limit. Indirect descriptor planning uses the recognized start and range length to set `selector_first` and `key_count`. Tests cover accepted and rejected loop forms, signed and unsigned pixel-shader loops, and materialization of keys without reading key 0. **Suggested reviewers:** `nmzik` </dd> </dl> </details> <!-- walkthrough_end --> <!-- change_assessment_start --> **Priority:** ➖ Normal <!-- change_assessment_commit:"1f309cd5c38698a4a63e1fe86c3b91a1afbcc6ff" --> **Change:** Bug fix <!-- change_assessment_end --> <details> <summary><strong>Merge Risk:</strong> <strong>⚪ Minimal</strong> · up to <code>1f309</code></summary> <dl> <dd> <!-- final_review_risk_start --> <!-- final_review_risk_label **Merge Risk:** **⚪ Minimal** · up to `1f309` --> <!-- final_review_risk_coverage:{"sourceCommitId":"1f309cd5c38698a4a63e1fe86c3b91a1afbcc6ff","coveredCommitId":"1f309cd5c38698a4a63e1fe86c3b91a1afbcc6ff","kind":"reviewed"} --> No merge-blocking issue is established for the post-tested image-table loop change. Merge after normal checks. <!-- final_review_risk_end --> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_start --> <details> <summary><strong>Pre-merge checks: <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> 4 · <sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-failed-14-v2.svg" width="14" height="14" align="middle" alt="Failed" title="Failed"></picture></sup> 1</strong></summary> <dl> <dd> <strong><sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-failed-14-v2.svg" width="14" height="14" align="middle" alt="Failed" title="Failed"></picture></sup> Failed checks: 1 warning</strong> | Check name | Status | Explanation | Resolution | | :---------------- | :----------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------- | | Docstring Coverage | ![Warning](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-warning.svg) | Docstring coverage is 18.18% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 11 functions across 3 files. | Write docstrings for the functions missing them to satisfy the coverage threshold. | <details> <summary><strong><sup><picture><img src="https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-counter-passed-14-v2.svg" width="14" height="14" align="middle" alt="Passed" title="Passed"></picture></sup> Passed checks: 4 passed</strong></summary> <dl> <dd> | Check name | Status | Explanation | | :------------------------ | :--------------------------------------------------------------------------------------------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Title check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The title clearly and concisely describes the main change: bounding post-tested loop image tables by their start value. It also identifies the affected game context without adding unrelated detail. | | Description check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | The description is directly related to the changeset. It explains the shader issue, the new loop analysis and materialization behavior, the test coverage, validation results, and the out-of-scope limi… | | Linked Issues check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | | Out of Scope Changes check | ![Passed](https://storage.googleapis.com/coderabbit_public_assets/pre-merge-checks-passed.svg) | Check skipped because no linked issues were found for this pull request. | </dd> </dl> </details> </dd> </dl> </details> <!-- pre_merge_checks_walkthrough_end --> <!-- autopilot:start --> - [ ] <!-- {"checkboxId":"2708ad07-9f24-4260-9c11-7dc76a49f2e3"} --> <strong title="Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts">Autofix</strong> · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts <!-- autopilot:end --> <!-- tips_start --> Thanks for using [CodeRabbit](https://coderabbit.ai?utm_source=oss&utm_medium=github&utm_campaign=KytyPS5/KytyPS5&utm_content=1444)! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. <details> <summary><strong>❤️ Share</strong></summary> <dl> <dd> - [X](https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai) - [Mastodon](https://mastodon.social/share?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A%20https%3A%2F%2Fcoderabbit.ai) - [Reddit](https://www.reddit.com/submit?title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&text=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code.%20Check%20it%20out%3A%20https%3A//coderabbit.ai) - [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fcoderabbit.ai&mini=true&title=Great%20tool%20for%20code%20review%20-%20CodeRabbit&summary=I%20just%20used%20CodeRabbit%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20proprietary%20code) </dd> </dl> </details> <sub>Comment `@coderabbitai help` to get the list of available commands.</sub> <!-- tips_end -->
Author
Owner

@⁠theantipopau on GitHub · 2026-10-12 10:21 UTC · original · approved these changes

Verified against main (the PR branches on a lot of other in-flight work, so I fetched fix/gotg-post-tested-loop and reviewed just the three files in its commit 1e11e530):

  • BoundedPostTestLoop prep-test ordering is right: with the test after the body, (key+1) < limit on the post-loop edge proves key ∈ [start, limit) inside and after the loop, so the sampled use in the header/body needs no dominating guard. It only accepts a 2-arm U32 Phi with immediate start, IAdd32 key, 1 back value, an immediate ULessThan32/SLessThan32 operand-0 compare, start < limit (and non-negative signed start), and the continuation edge Implies(edge.condition, comparator) with LaneQuantifier::All — GuardedOnEntry covers the synthetic-continue-block shape in the GotG IR (latch → proxy → header/exit), and VccNonZero (AnyLane) variants are rejected since Some-lane continuation can't bound the divergent lanes.
  • ResourceMaterialization: enumeration now uses iota(keys, first) and the stride/bounds check correctly accounts for first via (first + key_count - 1) * stride, and the selector-less path validates selector_first through clean.Evaluate like key_count. The pre-existing else if (!indirect.selector_first.IsEmpty()) selector path already handled first/count, so appending selector_first from a post-test loop can't desync that path.
  • Test fixture mirrors the native IR (two image_sample_l sharing one GetImageResource, start=1, limit=16) and asserts negative cases: start==limit, non-1 step, false-edge polarity, VccNonZero, signed start below 0, and that key 0's record (0x100) is never read.

CI green on Linux/Windows/macOS (run 38226266320). LGTM.

**@⁠theantipopau** on GitHub · 2026-10-12 10:21 UTC · [original](https://github.com/KytyPS5/KytyPS5/pull/1444#pullrequestreview-5489392178) · **approved these changes** Verified against main (the PR branches on a lot of other in-flight work, so I fetched `fix/gotg-post-tested-loop` and reviewed just the three files in its commit `1e11e530`): - `BoundedPostTestLoop` prep-test ordering is right: with the test after the body, `(key+1) < limit` on the post-loop edge proves `key ∈ [start, limit)` *inside* and *after* the loop, so the sampled use in the header/body needs no dominating guard. It only accepts a 2-arm U32 Phi with immediate start, `IAdd32 key, 1` back value, an immediate `ULessThan32/SLessThan32` operand-0 compare, `start < limit` (and non-negative signed start), and the continuation edge `Implies(edge.condition, comparator)` with `LaneQuantifier::All` — `GuardedOnEntry` covers the synthetic-continue-block shape in the GotG IR (latch → proxy → header/exit), and `VccNonZero` (AnyLane) variants are rejected since Some-lane continuation can't bound the divergent lanes. - `ResourceMaterialization`: enumeration now uses `iota(keys, first)` and the stride/bounds check correctly accounts for `first` via `(first + key_count - 1) * stride`, and the selector-less path validates `selector_first` through `clean.Evaluate` like `key_count`. The pre-existing `else if (!indirect.selector_first.IsEmpty())` selector path already handled first/count, so appending `selector_first` from a post-test loop can't desync that path. - Test fixture mirrors the native IR (two `image_sample_l` sharing one `GetImageResource`, start=1, limit=16) and asserts negative cases: start==limit, non-1 step, false-edge polarity, VccNonZero, signed start below 0, and that key 0's record (`0x100`) is never read. CI green on Linux/Windows/macOS (run 38226266320). LGTM.
This pull request has changes conflicting with the target branch.
  • src/graphics/shader/recompiler/ir/passes/ResourceTracking.cpp
  • tests/ResourceTrackingTests.cpp
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/1444/head:github-bot/gh-1444'
git switch 'github-bot/gh-1444'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-1444'
git switch 'github-bot/gh-1444'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-1444'
git switch 'github-bot/gh-1444'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-1444'
git switch 'main'
git merge --squash 'github-bot/gh-1444'
git switch 'main'
git merge --ff-only 'github-bot/gh-1444'
git switch 'main'
git merge 'github-bot/gh-1444'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.