GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(map): upgrade keygen to v0.5.1 so pkgs/map builds again by dezren39 · Pull Request #339 · developing-today/code

Conversation

@dezren39

@dezren39 dezren39 commented Oct 19, 2026 •
edited by coderabbitai Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Fixes #338

Problem

go build ./... in pkgs/map failed on main (284cd52): charm v0.12.6 → keygen v0.4.2 → caarlos0/sshmarshal v0.1.0 dot-imports golang.org/x/crypto/ssh, and its MarshalPrivateKey / MarshalPrivateKeyWithPassphrase collide with the same functions in x/crypto v0.16.0 (ssh/keys.go:302/308). Reproduced this run with the module's pinned Go 1.21.3 toolchain (after go mod download fills the go.mod hashes main's go.sum is missing — tidy fixes that too). Same root cause as #166 (pkgs/graph), but map actually uses charm/kv in main.go, so the chain is upgraded, not removed.

Solution

  • go get github.com/charmbracelet/[email protected] && go mod tidy: keygen v0.5.1 no longer depends on sshmarshal; sshmarshal leaves the module graph entirely. x/crypto rises v0.16.0 → v0.26.0 (keygen's requirement), with x/net, x/sync, x/sys, x/term, x/text following. charm/kv usage untouched.
  • Stale nix packaging removed instead of regenerated (the issue's alternative acceptance path): default.nix, shell.nix, flake.todo.nix, flake.lock, gomod2nix.toml. Evidence it was abandoned, all verified this run: the flake was never renamed from flake.todo.nix; its outputs signature fails on modern nix (function 'outputs' called with unexpected argument 'self'); after patching that in a scratch copy the locked Oct-2023 gomod2nix builder rejects the patch-level go 1.21.3 directive, and after a full flake update it still cannot build badger v4 (the locked Go predates unsafe.SliceData); gomod2nix.toml was an empty stub (schema line + empty [mod], 3 lines). Nothing in the root flake references pkgs/map. If nix packaging is wanted again, it is one gomod2nix generate run on a module that now builds.
  • New .github/workflows/map-build.yml: builds and vets pkgs/map on PR/push changes to it. No CI built this module at all, which is how it rotted silently.

Verification

  • Pre-fix: collision reproduced exactly as the issue reports (exit 1, both symbols).
  • Post-fix: go build ./... and go vet ./... pass with GOTOOLCHAIN=go1.21.3 and with go1.25.1; go mod tidy idempotent; workflow YAML parses.
  • Single-repo change: no sources/map module exists in developing-today/opencode, developing-today/openchamber, or dezren39/nix, so there is nothing to propagate.

View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Build and Validation

    • Added automated Go build and static analysis checks for map package changes and updates to the main branch.
  • Dependency Updates

    • Updated the Go key-generation and supporting cryptography, networking, synchronization, system, terminal, and text packages.
  • Development Tooling

    • Removed the map package’s Nix-based build and development environment.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Muse Sweep
fix(map): upgrade keygen to v0.5.1 so pkgs/map builds again (#338)
40bf6dc
charm v0.12.6 -> keygen v0.4.2 -> caarlos0/sshmarshal v0.1.0 dot-imports
golang.org/x/crypto/ssh, whose MarshalPrivateKey /
MarshalPrivateKeyWithPassphrase (x/crypto v0.16.0, ssh/keys.go) collide
with sshmarshal's own declarations, so 'go build ./...' in pkgs/map
failed. Unlike pkgs/graph (#166), map actually uses charm/kv
(main.go), so the chain is upgraded, not removed: keygen v0.5.1 no
longer depends on sshmarshal at all, and pulls x/crypto v0.26.0.

Also remove the stale gomod2nix packaging (default.nix, shell.nix,
flake.todo.nix, flake.lock, gomod2nix.toml): it never worked - the
flake was never renamed from flake.todo.nix, its outputs signature
rejects modern nix ('function outputs called with unexpected argument
self'), its lock pins Oct-2023 nixpkgs/gomod2nix, and gomod2nix.toml
was an empty stub (schema + empty [mod]). Nothing in the root flake
references it. Regenerating is one gomod2nix run on a building module
if nix packaging is wanted again.

Add .github/workflows/map-build.yml: no CI built this module at all,
which is how it rotted silently; the workflow builds and vets
pkgs/map on changes to it.

Verified: reproduced the collision on main (284cd52) with the
module's Go 1.21.3 toolchain; after the fix 'go build ./...' and
'go vet ./...' pass on go1.21.3 and on go1.25.1, 'go mod tidy' is
idempotent, and the charm/kv usage in main.go is untouched.
@dezren39
dezren39 requested a review from a team as a code owner October 19, 2026 08:13
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-19T08:13:53.457402Z 40bf6dc PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot assigned dezren39 Oct 19, 2026
@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8a1e4bdb-b41f-438a-ab2c-59f4d6a17c7f
📥 Commits

Reviewing files that changed from the base of the PR and between 284cd52 and 40bf6dc.

⛔ Files ignored due to path filters: 2
  • pkgs/map/flake.lock is excluded by !**/*.lock
  • pkgs/map/go.sum is excluded by !**/*.sum
📒 Files selected for processing: 6
  • .github/workflows/map-build.yml
  • pkgs/map/default.nix
  • pkgs/map/flake.todo.nix
  • pkgs/map/go.mod
  • pkgs/map/gomod2nix.toml
  • pkgs/map/shell.nix
+--------------------------+
| // TODO: Find more bugs. |
+--------------------------+
  \
   \   (\__/)
       (•ㅅ•)
       /   づ
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 merged commit 556d084 into main Oct 19, 2026
4 of 5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@dezren39
dezren39 deleted the sweep/338-map-sshmarshal branch October 19, 2026 08:16
This was referenced Oct 19, 2026
pkgs/identity builds only with -tags sqlite|libsql and nothing in CI says so — plain go build fails on 3 undefined symbols #340
Closed
ci(identity): build and vet both tagged variants (sqlite, libsql) #341
Merged
CI: five pkgs Go modules (chat, database, import, launcher, tea) are built by nothing — the map/identity rot pattern, still unguarded #342
Closed
ci: build and vet the five uncovered pkgs Go modules (#342) #343
Merged
pkgs/import and pkgs/launcher carry the same abandoned gomod2nix packaging PR #339 removed from pkgs/map #345
Closed
chore(pkgs): remove abandoned gomod2nix packaging from import and launcher #346
Merged
pkgs/graph still carries the abandoned gomod2nix packaging removed from map/import/launcher — the keep-or-remove decision #345 deferred to #166 was never made #498
Closed
chore(graph): remove abandoned gomod2nix packaging (#498) #499
Merged
This was referenced Oct 18, 2026
mcpx: re-home the open mcpx backlog from dezren39/nix, with this repo as the single source #309
Closed
docs(dashboard): build out the mcpx project section (/program/mcpx) + decide its Project/roadmap integration #1127
Closed
mcpx: adopt what is useful from codex-connectors-mcp #1984
Closed
This was referenced Nov 21, 2026
Closure audit: every closed issue/PR verified; unmerged branches + unpushed worktrees inventoried #7079
Open
AUDIT-7 Lane 2 — Closed-Issues Review (past month, since 2026-10-23) #13878
Closed
Audit programme: seven-lane review of PRs, issues and designs (2026-11-23) #13871
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@dezren39 dezren39

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

pkgs/map Go build fails on sshmarshal/x/crypto symbol collision — same root cause as #166, separate module, and it actually uses charm/kv

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@dezren39
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.