Skip to content

infra: bump portal e636b0a → d1da46d + ic.did + docs sync#160

Merged
marc0olo merged 3 commits into
mainfrom
infra/portal-bump-apr28
Apr 28, 2026
Merged

infra: bump portal e636b0a → d1da46d + ic.did + docs sync#160
marc0olo merged 3 commits into
mainfrom
infra/portal-bump-apr28

Conversation

@marc0olo
Copy link
Copy Markdown
Member

@marc0olo marc0olo commented Apr 28, 2026

Summary

  • Bumps .sources/portal from e636b0a to d1da46d (7 new commits, Apr 9–28 2026)
  • Syncs public/reference/ic.did with two new types and one new method
  • Updates docs/reference/management-canister.md with the new list_canisters method
  • Updates docs/reference/http-gateway-spec.md: API Gateway → API Boundary Node rename + simplified Canister ID Resolution
  • Updates docs/reference/ic-interface-spec.md: full patch for user attributes on ingress messages (d1da46d)

Portal changes captured (e636b0a → d1da46d)

Commit Change Our action
09f6aa2 New list_canisters query method for subnet admins ic.did synced; method added to management-canister.md
d1da46d User attributes (sender_info) on ingress messages Full patch applied to ic-interface-spec.md
f14d30c API Gateway → API Boundary Node rename; simplified Canister ID Resolution http-gateway-spec.md updated
e9e7995 CODEOWNERS fix Infra only; no docs action
2f06ad4 dfx version bump Ignored (dfx banned)
3a87def PR approval override for editorial Infra only; no docs action
492317e Motoko home page wording Portal-only content; no equivalent page affected

ic.did changes (09f6aa2)

  • New canister_id_range type (record { start : canister_id; end : canister_id })
  • New list_canisters_result type (record { canisters : vec canister_id_range })
  • New list_canisters : () -> (list_canisters_result) query method (subnet admin methods section)

ic-interface-spec.md changes (d1da46d)

  • sender_info optional field added to: synchronous call requests, asynchronous call requests, and query call requests
  • 4 new system API functions: ic0.msg_caller_info_data_size, ic0.msg_caller_info_data_copy, ic0.msg_caller_info_signer_size, ic0.msg_caller_info_signer_copy
  • Formal model: CallerInfoData/CallerInfoSigner types threaded through method/callback signatures; verify_envelope rules updated to validate sender_info signature

Sync recommendation

sync from dfinity/portal docs/references/_attachments/ic.did

ic.did changes:
- New canister_id_range type (start/end principal)
- New list_canisters_result type (vec canister_id_range)
- New list_canisters query method (subnet admin only)

Management canister reference:
- Add list_canisters under "Subnet and node information"

HTTP Gateway spec:
- Rename "API Gateway" → "API Boundary Node" throughout
- Simplify Canister ID Resolution: remove implementation-specific
  hostname table and step-by-step logic; replace with protocol-agnostic
  description listing example approaches
Applies the full portal diff for commit d1da46d to ic-interface-spec.md:

- sender_info optional field added to call requests (sync/async), query
  requests, and query calls: carries caller info (blob) + signer principal
  + canister signature authenticating the info blob
- 4 new system API functions available in all non-init/non-task contexts:
    ic0.msg_caller_info_data_size / _copy
    ic0.msg_caller_info_signer_size / _copy
- Formal model updates: CallerInfoData/CallerInfoSigner types threaded
  through method signatures, state transition rules for verify_envelope
  updated to validate sender_info signature when present
…cklist

ic-interface-spec.md:
- Apply portal commit 09f6aa2 (missed in first pass): adds list_canisters
  method section, effective canister ID routing rule, and formal model
  for the query call state transition

CLAUDE.md / AGENTS.md portal bump checklist:
- Add ic-interface-spec.md and http-gateway-spec.md to synced files table
- Replace single ic.did step with a 3-step checklist that explicitly covers
  all three synced portal files on every bump
- Add helper commands to find which commits touched each file in a range
@marc0olo marc0olo merged commit 9c13846 into main Apr 28, 2026
2 checks passed
@marc0olo marc0olo deleted the infra/portal-bump-apr28 branch April 28, 2026 15:18
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