Skip to content

tests: Match Core initializer signature - #117

Merged
BenWestgate merged 1 commit into
reviewability-v1from
codex/38-core-stub-signature
Oct 27, 2026
Merged

BenWestgate merged 1 commit into
reviewability-v1from
codex/38-core-stub-signature

Conversation

@BenWestgate

Copy link
Copy Markdown
Owner

Refs #38.

The prior dead-code cleanup removed the unused fake state but left its obsolete private= keyword in _FakeBitcoinCore.initialize. Production BitcoinCore.initialize does not accept that keyword. Remove the one parameter so future accidental calls fail in CLI tests instead of only against real Core.

Verification: 232 CLI tests passed on this branch; git diff --check passes. No runtime code changed.

AI assistance was used to find and prepare this one-line test correction. Human review remains with the maintainer.

@BenWestgate BenWestgate added ci Continuous integration and workflow configuration. wallet/core Wallet integration and Bitcoin Core boundaries. gate: adversarial review Resolve, merge, or explicitly defer before the next full adversarial review. labels Oct 4, 2026
@BenWestgate
BenWestgate force-pushed the codex/38-core-stub-signature branch from 90b9efe to 6fc7e68 Compare October 4, 2026 06:59
@BenWestgate
BenWestgate marked this pull request as draft October 4, 2026 07:00

@BenWestgate BenWestgate left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

AI-generated review (Codex), posted at the maintainer's request.

ACK 6fc7e68. The test fake now matches the actual initializer signature.

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Can't wait for the next one!

Reviewed commit: 6fc7e68b83

ℹ️ 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".

@BenWestgate
BenWestgate marked this pull request as ready for review October 4, 2026 22:20

@BenWestgate BenWestgate left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Codex current-head review at 6fc7e68: no findings. The test double now matches the current BitcoinCore.initialize signature.

Copy link
Copy Markdown
Owner Author

@codex review

Please review current head 6fc7e68b83 only. This is the final current-head audit check before human review; focus on correctness, security, and release-blocking regressions.

@chatgpt-codex-connector

This comment has been minimized.

Remove the obsolete `private` keyword from the CLI test double so its initializer matches the production BitcoinCore API.

Refs #38.
@BenWestgate
BenWestgate force-pushed the codex/38-core-stub-signature branch from 6fc7e68 to f4004a3 Compare October 6, 2026 14:27
@chatgpt-codex-connector

This comment has been minimized.

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

This comment has been minimized.

@BenWestgate BenWestgate left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

AI-assisted current-head review: ACK f4004a3. This is exactly the intended test-only cleanup: _FakeBitcoinCore.initialize no longer accepts the obsolete private= keyword that production BitcoinCore.initialize does not accept. No runtime code changes. Exact-head Python-package CI is green and there are no unresolved review threads.

Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 23, 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-23T23:04:20.518136Z f4004a3 Manual request
ℹ️ 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

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: f4004a3fcc

ℹ️ 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".

@BenWestgate
BenWestgate merged commit c52197a into reviewability-v1 Oct 27, 2026
23 checks passed
@BenWestgate
BenWestgate deleted the codex/38-core-stub-signature branch October 27, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Continuous integration and workflow configuration. gate: adversarial review Resolve, merge, or explicitly defer before the next full adversarial review. wallet/core Wallet integration and Bitcoin Core boundaries.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant