Skip to content

test: validate an isolated native Codex MemoryD instance - #266

Merged
joshyorko merged 3 commits into
masterfrom
feature/dakota-isolated-native-runtime
Oct 14, 2026
Merged

joshyorko merged 3 commits into
masterfrom
feature/dakota-isolated-native-runtime

Conversation

@joshyorko

@joshyorko joshyorko commented Oct 14, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add automated acceptance coverage for two independent native homes, including concurrent startup, separate runtime paths and SQLite stores, CLI/MCP status and recall, lifecycle isolation, conflict safety, and recovery.
  • Import only synthetic native Codex memory fixtures; compare full logical SQLite snapshots around preview and record/source/provenance snapshots across repeat apply.
  • Fix native endpoint resolution so partial --host/--port overrides preserve the unspecified component of an inherited bind while replacing stale persisted endpoints.
  • Harden the Dakota wrapper with a clean environment, make both documented port probes use MEMORYD_CODEX_PORT, add matching --bind to runbook initialization, and fix the recall jq filter to read .data // ..
  • Bound Linux test cleanup with nonblocking waitpid(WNOHANG); the timeout starts when shutdown is requested.

PRs #261–#265 were checked for overlap. No directly matching issue was found, so no issue was created or linked.

Validation

  • cargo test --test native_instance_isolation -- --nocapture — 4 passed.
  • scripts/v0.1-release-gate.sh --artifact-dir /tmp/codex-memoryd-dakota-review-two-findings — passed: 572 tests across 48 result groups, zero failures; formatting, whitespace, release build, doctor, eval, performance, and dry-run checks passed.
  • Optional operator dogfood checks were skipped by the gate’s default mode.

Safety boundary

All test records and native memory files are synthetic and temporary. No Dakota access or deployment, Friday service/store/config/port/systemd change, private-data transfer, cloud migration, Devsy change, database reset, provider writeback, or Codex config mutation was performed. Native Codex memory remains available as fallback.

@joshyorko
joshyorko marked this pull request as ready for review October 14, 2026 10:27
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 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-10-14T11:08:23.570755Z 60e96e6 Draft marked ready
ℹ️ 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: 4e5bbfcbc3

ℹ️ 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 docs/dakota-native-codex-instance.md Resolved
Comment thread tests/native_instance_isolation.rs Resolved
Comment thread docs/dakota-native-codex-instance.md Resolved
Comment thread docs/dakota-native-codex-instance.md Resolved
@joshyorko
joshyorko marked this pull request as draft October 14, 2026 10:57
@joshyorko
joshyorko marked this pull request as ready for review October 14, 2026 10:59

@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: 60e96e66bf

ℹ️ 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 docs/dakota-native-codex-instance.md Resolved
Comment thread src/native_runtime.rs Resolved
@joshyorko
joshyorko merged commit 2422cd3 into master Oct 14, 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