Skip to content

Dev#63

Merged
Undline merged 3 commits into
mainfrom
dev
Apr 19, 2026
Merged

Dev#63
Undline merged 3 commits into
mainfrom
dev

Conversation

@Undline
Copy link
Copy Markdown
Contributor

@Undline Undline commented Apr 19, 2026

No description provided.

Undline added 2 commits April 19, 2026 11:09
…acts

- register_org: when publishing a module (signing_public_key set), allow
  refreshing an existing name_bindings row for the same resolved_id instead
  of NAME_ALREADY_BOUND, so orgs registered without a route can add a
  module row later.
- NameBindingsRepository: add update_route_metadata for that upgrade path.
- wire_method_catalog: advertise user_description_get / user_description_set
  instead of reusing user_profile_image_* contracts for description methods.
- tests: cover register_org module publish after plain org binding.

Made-with: Cursor
Copy link
Copy Markdown

@claude claude Bot left a comment

Choose a reason for hiding this comment

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

⚠️ Code review skipped — your organization's overage spend limit has been reached.

Code review is billed via overage credits. To resume reviews, an organization admin can raise the monthly limit at claude.ai/admin-settings/claude-code.

Once credits are available, push a new commit or reopen this pull request to trigger a review.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 22b7ff1d73

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +1474 to +1478
name=name,
resolved_id=resolved_id,
route_json=route_json,
metadata_json=meta_json,
)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve org metadata during module-upgrade path

When register_org upgrades an existing org to module publisher, this branch always writes metadata_json=meta_json from the new request. Because metadata is optional, callers that omit it (as in the new helper payload) pass None and silently clear previously stored org metadata even though they only intended to add module publishing fields. This introduces data loss for clients that later read org metadata via name resolution.

Useful? React with 👍 / 👎.

Comment thread scripts/smoke_local.py
p.add_argument(
"--base-url",
default="http://127.0.0.1:8000",
default="https://127.0.0.1:8000",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep smoke_local default compatible with local TLS certs

The default --base-url was switched to HTTPS, but the script still constructs httpx.Client(...) with default certificate verification and provides no flag for a custom CA or insecure mode. In common local-dev setups using self-signed or locally-issued certs, the documented default command now fails with TLS verification errors before any smoke checks run, making the default path unusable.

Useful? React with 👍 / 👎.

- register_org: on module-publisher upgrade path, if payload omits metadata,
  keep existing name_bindings metadata_json instead of clearing it; explicit
  null still clears.
- smoke_local: add --insecure to disable TLS verify for https:// with dev
  self-signed certificates; document in module docstring and epilog.
- tests: assert metadata survives upgrade when second request has no metadata.

Made-with: Cursor
@Undline Undline merged commit ce7368c into main Apr 19, 2026
1 check passed
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