Skip to content

Make lossy collection APIs explicit and provide a runnable quick start - #74

Merged
hardbyte merged 2 commits into
mainfrom
codex/explicit-lossy-quickstart
Sep 20, 2026
Merged

hardbyte merged 2 commits into
mainfrom
codex/explicit-lossy-quickstart

Conversation

@hardbyte

@hardbyte hardbyte commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

Collection calls can now make outage omission explicit with filter_lossy, filter_by_lossy, and lookup_page_lossy. Existing names forward to those methods with targeted deprecation messages; strict try_* methods and all decision semantics are unchanged. Lossy lookup continues to report lookup, hydration, and adapter-contract errors.

The README contains a complete program enforcing access via check().await.into_result()?, supported by its exact crates.io alpha.1 dependency. The separate consumer checks README parity and runs against the checkout. Its --released mode resolves the documented dependency from the registry, without a path override or the checkout lockfile. Both modes pass locally. The alpha.2 release preparation switches the program to authorize() alongside the version update. Axum handlers already use authorize.

Validation: formatting, all-target/all-feature Clippy, workspace build, full tests, doctests, and both consumer modes pass. Compatibility tests cover old/new lossy equivalence, order, duplicates, projected items, outages, cursor preservation, and pipeline failures.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.

Tip: disable this comment in your organization's Code Review settings.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 20, 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 Completed 2026-09-20T06:53:18.911359Z 60404ab 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.

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

Copy link
Copy Markdown

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: 60404abccb

ℹ️ 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 thread README.md

```toml
[dependencies]
gatehouse = "=0.6.0-alpha.1"

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Point the quick start at a version that provides authorize

Following these instructions against crates.io installs the already-published 0.6.0-alpha.1, but that release does not contain BoundEvaluator::authorize (it was introduced later in commit 7c6b212), so the program below fails to compile with a missing-method error. The new CI check masks this because it replaces the dependency with a path to the current checkout; use a released version containing authorize, or make the published quick start compatible with alpha.1.

Useful? React with 👍 / 👎.

@hardbyte
hardbyte merged commit 929bdc8 into main Sep 20, 2026
9 checks 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