Skip to content

[Agent] feat(duckstation): switch to Provenance-Emu fork, update submodule to latest master#3453

Open
github-actions[bot] wants to merge 5 commits intodevelopfrom
agent/issue-3447
Open

[Agent] feat(duckstation): switch to Provenance-Emu fork, update submodule to latest master#3453
github-actions[bot] wants to merge 5 commits intodevelopfrom
agent/issue-3447

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Summary

  • Switches DuckStation submodule URL from stenzek/duckstation (upstream) to Provenance-Emu/duckstation (our fork)
  • Updates submodule pointer to latest master: 125c3ec (2026-03-20: "Qt: Respond to QScreen refresh rate changes")
  • Adds branch = master tracking in .gitmodules so future syncs pull from our fork

Since DuckStation never compiled against the old pinned commit, starting fresh from the latest fork master is the right approach. The fork was synced from upstream master on 2026-03-20.

Changes

  • .gitmodules — URL updated to Provenance-Emu fork, branch tracking added
  • Cores/DuckStation/duckstation — submodule pointer moved from e4f5904 to 125c3ec

Test plan

  • Verify git submodule update --init Cores/DuckStation/duckstation fetches from Provenance-Emu fork
  • Confirm submodule checks out at 125c3ec70fd1b4fdcf61d52500e5afad72be17e5
  • Subsequent DuckStation build work can proceed from this base

Part of #3447
Part of #3425

🤖 Generated with Claude Code

@github-actions github-actions bot requested a review from JoeMatt as a code owner March 23, 2026 00:59
@github-actions github-actions bot enabled auto-merge (squash) March 23, 2026 00:59
@github-actions github-actions bot added agent-work PR or issue being worked on by the AI agent ai-reviewing AI code review in progress labels Mar 23, 2026
@github-actions
Copy link
Copy Markdown
Contributor Author

🤖 PR created. AI review starting automatically.

@github-actions github-actions bot force-pushed the agent/issue-3447 branch 5 times, most recently from bf26041 to 96bec85 Compare March 23, 2026 03:17
@JoeMatt JoeMatt requested a review from Copilot March 23, 2026 03:17
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the DuckStation submodule to point at the Provenance-Emu fork and advances the pinned submodule commit to a newer revision, enabling future work to build from an up-to-date fork baseline.

Changes:

  • Switched DuckStation submodule URL from upstream (stenzek/duckstation) to Provenance-Emu/duckstation
  • Updated the DuckStation submodule gitlink to commit 125c3ec70f...
  • Added branch = master tracking for DuckStation in .gitmodules

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
Cores/DuckStation/duckstation Advances the pinned submodule commit to a newer fork revision.
.gitmodules Repoints the DuckStation submodule remote to the Provenance-Emu fork and sets branch tracking.
.changelog/3447.md Documents the DuckStation submodule fork switch and update.

@@ -0,0 +1,2 @@
### Changed
- **DuckStation submodule** — Switched submodule URL from upstream `stenzek/duckstation` to the Provenance-Emu fork and updated to latest master (2026-03-20).
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

The changelog entry uses relative wording (“latest master”) which will become inaccurate over time. Consider recording an immutable reference (e.g., the pinned commit 125c3ec70fd1b4fdcf61d52500e5afad72be17e5) instead of (or in addition to) ‘latest master’/a date so the change is always traceable.

Suggested change
- **DuckStation submodule** — Switched submodule URL from upstream `stenzek/duckstation` to the Provenance-Emu fork and updated to latest master (2026-03-20).
- **DuckStation submodule** — Switched submodule URL from upstream `stenzek/duckstation` to the Provenance-Emu fork and updated to commit `125c3ec70fd1b4fdcf61d52500e5afad72be17e5` on `master` (as of 2026-03-20).

Copilot uses AI. Check for mistakes.
path = Cores/DuckStation/duckstation
url = https://github.com/stenzek/duckstation.git
url = https://github.com/Provenance-Emu/duckstation.git
branch = master
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

Adding branch = master only affects git submodule update --remote (and some tooling may ignore it); the repo will still be pinned to the gitlink commit for normal checkouts. If the intent is to make ‘sync to fork master’ a standard workflow, consider documenting the expected update command (and whether it should --merge/--rebase) in contributor docs to avoid inconsistent local/CI submodule states.

Suggested change
branch = master

Copilot uses AI. Check for mistakes.
@JoeMatt
Copy link
Copy Markdown
Member

JoeMatt commented Mar 23, 2026

@claude please validate copilot review issues, improve, fix and then self-re review and mark copilot for re-review

@github-actions
Copy link
Copy Markdown
Contributor Author

github-actions bot commented Mar 23, 2026

Copilot Review Audit — Complete

Progress

  • Agent started
  • Checked out branch agent/issue-3447
  • Fetched all Copilot inline review comments (5 total)
  • Audited all comments
  • Fixed remaining nit: standardized placeholder naming in DEVELOPER.md
  • Pushed changes and posted summary comment

Copilot Comments Summary

All 5 Copilot review comments addressed (4 in prior commits, 1 in this run).

Updated: 2026-03-25

@github-actions
Copy link
Copy Markdown
Contributor Author

✅ Fixes pushed — addressed both Copilot review comments:

  1. .changelog/3447.md — replaced "latest master" with the specific pinned commit hash 125c3ec70fd1b4fdcf61d52500e5afad72be17e5 for permanent traceability
  2. DEVELOPER.md — added a new "Submodule Management" section documenting how to update Provenance-Emu fork submodules, clarifying the behavior of branch = vs the pinned gitlink, and the expected git submodule update --remote workflow

@JoeMatt JoeMatt requested a review from Copilot March 23, 2026 04:11
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

### Updating a Core Submodule to Fork HEAD

When a Provenance-Emu fork submodule has a `branch = <name>` entry and you want to advance it:

Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

git submodule update --remote --merge can fail or behave unexpectedly when the submodule is in the common detached-HEAD state (which is typical after a normal git submodule update). The docs should recommend a command sequence that works from a detached HEAD (e.g., using --remote without --merge, or explicitly checking out the target branch inside the submodule before updating), and clarify the precondition if --merge is kept.

Copilot uses AI. Check for mistakes.
DEVELOPER.md Outdated
Comment on lines +110 to +112
### Updating a Core Submodule to Fork HEAD

When a Provenance-Emu fork submodule has a `branch = <name>` entry and you want to advance it:
Copy link

Copilot AI Mar 23, 2026

Choose a reason for hiding this comment

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

The placeholders in this section mix casing/styles (<CoreName> vs <corename> later). For readability and to reduce copy/paste errors, standardize the placeholder convention (e.g., consistently use <core-name> or <CoreName> everywhere, including the example commit message).

Copilot uses AI. Check for mistakes.
@github-actions github-actions bot force-pushed the agent/issue-3447 branch 2 times, most recently from b7041a4 to 5c92727 Compare March 23, 2026 04:21
@JoeMatt
Copy link
Copy Markdown
Member

JoeMatt commented Mar 23, 2026

@claude please validate copilot review issues, improve, fix and then self-re review and mark copilot for re-review

@github-actions
Copy link
Copy Markdown
Contributor Author

✅ Fixes pushed — addressed all 4 Copilot review issues:

  1. Changelog (.changelog/3447.md) — Already had the commit hash 125c3ec70fd1b4fdcf61d52500e5afad72be17e5 applied; no change needed.
  2. .gitmodules branch = master — Informational comment; addressed by improved DEVELOPER.md docs explaining the behavior.
  3. DEVELOPER.md --merge flag — Removed --merge from git submodule update --remote command and added an explicit warning that submodules are in detached-HEAD state after normal checkout, making --merge fail or produce unexpected results.
  4. DEVELOPER.md placeholder casing — Fixed <corename><CoreName> in the commit message example for consistency.

@github-actions github-actions bot force-pushed the agent/issue-3447 branch 3 times, most recently from 77e31bf to da3662c Compare March 23, 2026 04:41
@github-actions github-actions bot removed the ai-reviewing AI code review in progress label Mar 23, 2026
@JoeMatt
Copy link
Copy Markdown
Member

JoeMatt commented Mar 25, 2026

@claude please audit all Copilot review comments on this PR. For each comment:

  1. Evaluate whether the concern is valid
  2. Fix any valid issues (compile errors, logic bugs, missing null checks, incorrect API usage, etc.)
  3. Note/dismiss nits that are style-only with a brief explanation

After addressing the review comments, do a self-review pass:

  • Verify all changed files compile (check for unresolved symbols, missing imports, type mismatches)
  • Check for any dead code, unused variables, or missing test coverage
  • Ensure multi-platform compatibility (iOS + tvOS + macOS Catalyst)

Then re-request Copilot review.

@github-actions
Copy link
Copy Markdown
Contributor Author

Copilot Review Audit — Completed

All Copilot review comments have been audited and addressed (across this and prior commits):

Comments Addressed

File Copilot Concern Resolution
.changelog/3447.md Used "latest master" (imprecise) Fixed in prior commit — now includes immutable commit hash 125c3ec70f...
.gitmodules branch = master only affects --remote, needs docs Addressed — DEVELOPER.md now explains this behavior clearly
DEVELOPER.md Missing --init and sync prerequisite steps Fixed in prior commit — both steps added to the bash example
DEVELOPER.md --merge fails in detached-HEAD state Fixed in prior commit — command uses --remote only, with a comment explaining why --merge is avoided
DEVELOPER.md Placeholder inconsistency (<name> vs <CoreName>) Fixed in this commit — changed <name> to <branch-name> for clarity

Self-Review Pass

  • Compile check: No Swift/ObjC code changed — only .gitmodules, DEVELOPER.md, .changelog/3447.md, and the submodule gitlink. No compilation risk.
  • Dead code: None introduced.
  • Multi-platform: N/A (documentation and config changes only).
  • Submodule: The DuckStation gitlink points to 125c3ec70f on Provenance-Emu/duckstation — correct and intentional.

Fixes pushed — placeholder naming standardized; all prior Copilot concerns already addressed

@github-actions github-actions bot added ai-reviewing AI code review in progress and removed ai-reviewing AI code review in progress labels Mar 25, 2026
@github-actions github-actions bot force-pushed the agent/issue-3447 branch 19 times, most recently from 5f1d53e to 4698bcc Compare April 1, 2026 01:09
github-actions bot and others added 5 commits April 4, 2026 02:01
…ster

- Update .gitmodules URL from stenzek/duckstation to Provenance-Emu/duckstation
- Pin submodule to 125c3ec (2026-03-20: "Qt: Respond to QScreen refresh rate changes")
- Add branch = master tracking in .gitmodules

Part of #3447

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…submodule update workflow

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…asing

- Remove --merge flag from submodule update command (fails from detached HEAD)
- Add explicit warning about detached-HEAD state in DEVELOPER.md note
- Fix placeholder casing: <corename> -> <CoreName> for consistency

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Address Copilot review: document `git submodule update --init` for
first-time checkouts and `git submodule sync` after URL/branch changes
in .gitmodules, before running `--remote` to advance the submodule.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-work PR or issue being worked on by the AI agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants