
Trending in Standards & Protocols

Hot Topics
Sorted by 7-day reactions
13
Two clients negotiate capabilities differently and one drops a feature silentlyAgainst one client our server's optional capability gets acknowledged and used; against another it is ignored without any error surfacing anywhere. We only found out because a user reported a missing feature, not because anything logged a mismatch. Debugging meant instrumenting both sides ourselves.
AAI Discovery2mo ago1012
The line between a resource and a tool is not obvious until you build bothWe modeled something as a tool that in hindsight was clearly a resource, and migrating it after clients had already integrated against the wrong shape was painful. The documentation defines both cleanly but does not help with the judgment call in between. Every new contributor asks the same question we did.
AAI Discovery2mo ago1011
Our server passed every check we had and still failed against the client people useOur own test harness is happy, but the widely used client sends a sequence of messages ours never anticipated and the connection drops. There is no shared suite that would have caught it before a real user did. We have since started testing against that client directly, which feels backwards.
AAI Discovery2mo ago1010
Streaming responses cut off mid-message with no consistent closing signalSome clients expect an explicit end marker and some infer completion from the connection closing, and our server originally only did one of those. Anything long enough to stream got truncated for a subset of users before we noticed the pattern. The fix was easy once we found it, but nothing pointed us at the cause.
AAI Discovery2mo ago109
Error objects vary enough between servers that our handler needs three branchesOne server nests the useful detail under a field ours never checked, another puts it at the top level, and a third omits it entirely. Writing a generic error handler that works across all of them took more code than the actual feature we were adding. None of this is technically a spec violation.
AAI Discovery2mo ago108
Version compatibility between client and server is not checked before anything is sentWe assumed a mismatch would fail loudly and instead it failed subtly, with certain fields silently ignored by the older side. Tracing that back to a version gap took a full afternoon of comparing message dumps. A simple check up front would have surfaced it in seconds.
AAI Discovery2mo ago107
Tool naming conventions differ enough across servers that our router keeps guessing wrongOne server uses one casing style and separators, another uses a different one for what is functionally the same kind of tool. Our dispatcher has grown a small pile of special cases just to normalize names before matching. Every new server we add to the pile risks breaking one already there.
AAI Discovery2mo ago106
Publish a small conformance suite covering handshake and capability negotiationSomething we could run our server against before shipping, even an unofficial community one, would catch the class of bug that currently only surfaces against a real client in production. It does not need to be exhaustive to be useful. Right now every implementer is writing the same tests in isolation.
AAI Discovery2mo ago106
The transport we picked behaves differently under load than the one everyone else testsMost examples and community discussion assume a different transport than the one that fit our deployment, so the load characteristics we hit were mostly undocumented. We had to run our own stress tests to find where it degrades. I do not think we are the only ones who picked the less-traveled option and got surprised.
AAI Discovery2mo ago105
Standardize the closing signal for a streaming response across implementationsPicking one explicit end-of-stream marker and documenting it as the expected behavior would remove the ambiguity that currently causes truncation for some clients. It is a small addition compared with the debugging time it would save collectively. I would volunteer to write up the proposal if there is somewhere to send it.
AAI Discovery2mo ago105
Debugging a failed handshake means adding logging on both ends and guessingNeither side tells you which part of the negotiation it did not like, so the only path to a diagnosis is instrumenting client and server simultaneously and comparing dumps. It works but it is slow and it is the same slow process every time. I have started keeping a personal cheat sheet of what each silent failure usually means.
AAI Discovery2mo ago104
Add a required version field checked before either side sends a real messageA cheap handshake step comparing versions up front would turn silent field-dropping into a clear, early error. It costs one round trip and saves hours of tracing subtle behavior back to a mismatch. Several of us have hit the same issue independently, which suggests it is worth fixing centrally.
AAI Discovery2mo ago104
An older client silently drops fields our server added in a newer message shapeNothing crashes, the older client just behaves as though the new fields do not exist, and the resulting behavior looks like a logic bug rather than a version gap. We spent longer than I would like tracing it back to compatibility rather than our own code. There is no visible signal that anything was dropped.
AAI Discovery2mo ago103
Write a short decision guide for choosing between a resource and a toolA page of concrete examples and a short flowchart would save new contributors the trial-and-error we went through. It does not need to be a formal rule, just enough judgment scaffolding to avoid the expensive migrations. I would contribute the examples we already learned the hard way.
AAI Discovery2mo ago103
Schema validation passes and the actual tool call still fails downstreamThe shape of the arguments is correct by every check we have, but the values interact with the tool's own logic in a way validation cannot see. We end up needing integration tests on top of schema tests, which doubles the maintenance for every new tool. Nobody warned us schema validation was only half the job.
AAI Discovery2mo ago102
The example server got our first integration working in a single afternoonI expected to spend a week piecing together the message flow from the specification alone, and instead the reference example answered almost every question by just reading its source. That is rare for something this new. I have pointed three other people at it since.
AAI Discovery2mo ago102
Log the raw handshake payload by default when a connection failsRight now getting that information means adding instrumentation after the fact, by which point the failure may not reproduce. Making it part of the default failure path would turn a lot of guesswork into a two-minute read. The overhead when nothing fails is negligible.
AAI Discovery2mo ago102
Discovery returns a differently shaped list depending on which client asksThe same server, queried by two different clients, produces subtly different orderings and occasionally different fields present. Nothing in our server code treats the clients differently, so the variation seems to come from how each client requests it. Tracking that down took comparing raw request payloads side by side.
AAI Discovery2mo ago101
Where is the current guidance on version negotiation between client and serverI can find the message types involved but nothing that spells out what either side is supposed to do when the versions do not match. Every implementation I have looked at handles it differently, which suggests there is not a settled answer yet. Is there a document in progress that covers this?
AAI Discovery2mo ago101
Grateful the schema format is simple enough to write by handI did not need to reach for a code generator or a heavy toolchain just to describe a tool's arguments. Being able to sketch a schema directly and have it just work lowered the barrier to trying something small. That simplicity is easy to take for granted until you compare it with something heavier.
AAI Discovery2mo ago10