Skip to content

docs: follow the post-merge code in milestone status and parity - #10

Merged
vheins merged 4 commits into
rustasea:masterfrom
gitfromwildan:docs/sync-after-merge
Nov 20, 2026
Merged

vheins merged 4 commits into
rustasea:masterfrom
gitfromwildan:docs/sync-after-merge

Conversation

@gitfromwildan

@gitfromwildan gitfromwildan commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Documentation only. The fixes that landed on top of #7 and #8, and #9, moved or changed code that docs/milestones.md and docs/laravel-parity.md cite, so a few claims no longer matched master.

Changes

Citations that pointed at the wrong line (five targets, ten occurrences across docs/milestones.md, docs/laravel-parity.md, and .agents/documents/application/modules/identity-access/auth.md):

Target Was Now
bedrock_from_env in crates/rustasea-ai/src/providers/client.rs :376 :382
Embedding model resolution in the same file :313 :317
Embeddings request in crates/rustasea-ai/src/providers/openai.rs :155 :163
install_database_user_provider in crates/rustasea-app/src/bootstrap/auth.rs :320 :333
JwtGuard::logout in crates/rustasea-auth/src/jwt.rs :270 :267

Statements that no longer described the code:

  • A failed sync dispatch is dead-lettered through the configured default queue connection (database when the config names none), and reaches failed_jobs only when that connection's driver is the database driver. The documents said "the database connection".
  • The OpenAI embedding default applies only to OpenAI's own endpoint, not a custom OPENAI_BASE_URL.
  • A Bedrock embeddings call without BEDROCK_EMBEDDING_MODEL returns a configuration error.

How this was checked

  • For every path:line citation in docs/, .agents/, and the root Markdown files that points into a source file changed since the documents were written, I compared the cited line before and after. Those five targets are the only ones that moved.
  • Each new line number was read back against master.
  • cargo xtask lines:check passes. No source file is touched.

Not checked: citations into files that did not change in that range, and claims that carry no citation.

@vheins, could you review this?

The fixes that landed on top of rustasea#7 and rustasea#8, and rustasea#9, moved or changed code these
documents cite:

- Five path:line citations pointed at the wrong line (bedrock_from_env, the
  embedding model resolution and request, install_database_user_provider, and
  JwtGuard::logout).
- A failed sync dispatch is dead-lettered through the configured default queue
  connection, not a connection literally named database.
- The OpenAI embedding default applies only to OpenAI's own endpoint, and a
  Bedrock embeddings call without BEDROCK_EMBEDDING_MODEL is a configuration
  error.
@github-actions
github-actions Bot requested a review from vheins November 19, 2026 00:26
@vheins

vheins commented Nov 20, 2026

Copy link
Copy Markdown
Collaborator

Verified against the merged tree (a24d0777) and the pre-merge commits. The Rust sources are unchanged between base and this PR, so every citation was checked against real path:line.

Citation re-points (:376→:382, :313→:317, :155→:163, :320→:333, :270→:267) — all 10 occurrences across the three files land on the claimed symbol; the old numbers now hit comments, a blank line, or a parameter line. Counts match the PR description (3+1+1+3+2=10).

Statement updates — all three match the code:

  • Sync dead-letter resolves the configured default connection (driver.rs:201), falls back to database when none is set, and only reaches failed_jobs when that connection's driver is the database driver (database.rs:357); Redis and the sync default land elsewhere. The new :201 anchor is the resolution line.
  • The OpenAI embedding built-in is gated on base_url == spec.default_base (client.rs:320), so a custom OPENAI_BASE_URL falls back to the chat model; resolution order env → built-in → chat model is accurate.
  • Bedrock without BEDROCK_EMBEDDING_MODEL returns a configuration error (openai.rs:157-161); client.rs:409 sets no built-in, confirming the path.

Diff hygiene — only the two Last updated dates changed as metadata; status cells are identical (M4/M6 Partial, parity Partial count 87→87); no Done↔Partial flip, no dropped caveat, no widened claim.

One nit (non-blocking): providers/mod.rs:27 is stale by one line — commit 48b3f01 grew the doc block above provider_from_env, moving the symbol to :28. In docs/milestones.md:49 this sits on a line this PR already edits, and it also appears at docs/milestones.md:349 and docs/laravel-parity.md:100. Since the PR already re-points the declaration line elsewhere (jwt.rs:267, openai.rs:163), change :27→:28 in all three for consistency.

Separately, for a later parity pass (untouched lines, pre-existing): docs/milestones.md:106 cites router.rs:218 as route_meta (actual delete_action; route_meta is :278) and :358 as get_routes (actual :397), and docs/milestones.md:228 cites driver.rs:115 where pub struct SyncDriver is :116.

Approving; the :27→:28 fix can ride along now or in a follow-up.

The doc block above `provider_from_env` grew in 48b3f01, moving the symbol 27->28; three citations left stale by this PR.
Same root cause as 83ba33d: the doc block above `provider_from_env` grew in 48b3f01, moving the symbol 27->28; two README citations were missed.
README still asserted no Gemini/Bedrock adapter after rustasea#7 wired them via OpenAI-compatible endpoints; corrected the claim and its client.rs citation to match the merged code and the sibling docs.
@vheins
vheins merged commit 73a8b88 into rustasea:master Nov 20, 2026
6 checks passed
@gitfromwildan
gitfromwildan deleted the docs/sync-after-merge branch November 20, 2026 05:56
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.

2 participants