Skip to content

build(deps): unify CoreGo to one version across all four go-render modules#35

Merged
Snider merged 1 commit into
mainfrom
lane/modernize-corego
Jul 23, 2026
Merged

build(deps): unify CoreGo to one version across all four go-render modules#35
Snider merged 1 commit into
mainfrom
lane/modernize-corego

Conversation

@Snider

@Snider Snider commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Unifies every dappco.re/* (CoreGo) pin to one modern version so the four go-render modules compose in a single workspace (mixed versions made MVS force-upgrade old-API code).

  • dappco.re/gov0.12.0, iov0.15.1 everywhere; webkit was v0.11.0, engine/php was v0.10.4.
  • engine/php: cli → v0.11.4; dropped i18n/log/inference (pulled via core's own services, never directly imported).
  • go.work now unifies all four (./go ./cli ./display/webkit ./engine/php); wails + frankenphp untouched.
  • Zero core.Result cascade needed — webkit was already Result-shaped; php's pre-Result call sites live behind //go:build frankenphp (out of the stub gate).

Gates (GOWORK=off): go/, display/webkit (cgo/Wails), engine/php (stub) all build+vet rc=0; workspace composes (go build all / per-module rc=0). (Note: go build ./... from the workspace root hits a Go 1.26.5 quirk — ./... won't expand from a non-module dir; go build all is the equivalent.)

🤖 Generated with Claude Code
Co-Authored-By: Virgil virgil@lethean.io

Summary by CodeRabbit

  • Chores
    • Updated supporting components across the command-line, web display and PHP engine areas.
    • Improved compatibility with newer platform capabilities and libraries.
    • Removed outdated supporting components and aligned shared tooling versions.
    • No changes to exported functionality or user-facing workflows are included in this release.

display/webkit and engine/php were pinned to older dappco.re/* releases
(v0.11.0 and v0.10.4 respectively) than the go/ library (v0.12.0),
so the four modules couldn't share a go.work — MVS would force the
max version onto engine/php's pre-core.Result code.

Bump every dappco.re/* dependency to one version per module, resolving
each ONCE and reusing it everywhere it's needed:
  dappco.re/go       v0.12.0  (library's existing anchor)
  dappco.re/go/io     v0.15.1
  dappco.re/go/i18n   v0.12.1
  dappco.re/go/log    v0.13.1
  dappco.re/go/config v0.18.0 (webkit; already latest)
  dappco.re/go/webview v0.11.0 (webkit; already latest)
  dappco.re/go/cli    v0.11.4 (engine/php; latest)

engine/php's go mod tidy dropped dappco.re/go/i18n (the code calls
i18n via the core module's own I18n() service, not the standalone
package — never a real dependency) and dappco.re/go/log/inference
(no longer pulled transitively at the new version set).

Neither module needed a core.Result cascade fix on their default
build target: webkit's default set was already Result-shaped, and
engine/php's pre-Result call sites live behind the frankenphp build
tag (needs libphp/CGO headers absent here), out of this gate's reach.

Extend go.work to all four modules and go work sync the graph. Sync
also gave cli/ its first real go.mod requires (dappco.re/go, io,
process@v0.16.1 latest) for deps it always imported but never
declared. cli/ still can't build with GOWORK=off (imports its own
sibling go/ library, resolved only via the workspace use directive
by design — documented in this repo's own CLAUDE.md); that's
pre-existing and unrelated to this unification.

Co-Authored-By: Virgil <virgil@lethean.io>
@Snider
Snider merged commit 9b8eae1 into main Jul 23, 2026
1 check passed
@sonarqubecloud

Copy link
Copy Markdown

@coderabbitai

coderabbitai Bot commented Jul 23, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: aa354699-2c78-437d-9651-e2e7896daeed

📥 Commits

Reviewing files that changed from the base of the PR and between bcee2e8 and e5e5763.

⛔ Files ignored due to path filters (5)
  • cli/go.sum is excluded by !**/*.sum
  • display/webkit/go.sum is excluded by !**/*.sum
  • engine/php/go.sum is excluded by !**/*.sum
  • go.work is excluded by !**/*.work
  • go.work.sum is excluded by !**/*.sum
📒 Files selected for processing (3)
  • cli/go.mod
  • display/webkit/go.mod
  • engine/php/go.mod

📝 Walkthrough

Walkthrough

Changes

Go module dependency updates

Layer / File(s) Summary
CLI module requirements
cli/go.mod
Adds direct dappco.re/go requirements and indirect dependencies, including Enchantrix and updated golang.org/x modules.
WebKit dependency graph
display/webkit/go.mod
Updates direct and indirect dappco.re/go and golang.org/x versions and adds Enchantrix.
PHP engine dependency graph
engine/php/go.mod
Updates direct requirements, removes obsolete modules, replaces indirect dependencies, and bumps several golang.org/x modules.

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 golangci-lint (2.12.2)

Error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions
The command is terminated due to an error: can't load config: unsupported version of the configuration: "" See https://golangci-lint.run/docs/product/migration-guide for migration instructions

Warning

Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption.


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.

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.

1 participant