Skip to content

tests: Match Core initializer signature - #117

Open
BenWestgate wants to merge 1 commit into
reviewability-v1from
codex/38-core-stub-signature
Open

BenWestgate wants to merge 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 area: ci Continuous integration and workflow configuration. area: 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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant