Skip to content

workflows: Snapshot native Issue dependencies - #22

Merged
idy merged 1 commit into
mainfrom
codex/issue-21-native-dependencies
Aug 3, 2026
Merged

workflows: Snapshot native Issue dependencies#22
idy merged 1 commit into
mainfrom
codex/issue-21-native-dependencies

Conversation

@idy

@idy idy commented Aug 3, 2026

Copy link
Copy Markdown
Member

Summary

  • collect every bounded native blockedBy and blocking relationship for each closing Issue in both review-context capture and publication-time verification
  • normalize dependency repository, number, and state data with deterministic case-insensitive deduplication and repository/number ordering
  • upgrade Issue snapshots to schema v4, include dependencies in Issue/readiness hashes, and fail closed when either relationship is truncated
  • document the dependency snapshot contract and cover query, mapping, normalization, sorting, truncation, and identity invalidation

Live acceptance evidence

The updated local snapshot mapper was exercised against the current GraphQL state of h2vivi/firmwares#654 and captured:

  • #642 blocking #618
  • #649 blocking #651 and #652
  • #650 blocked by #651
  • #651 blocked by #649 and blocking #650, #652, and #653
  • #652 blocked by #649 and #651
  • #653 blocked by #644 and #651, and blocking #618

No dependency connection was truncated in that live snapshot.

Validation

  • node .github/scripts/issue-review/test.mjs
  • node .github/scripts/pr-readiness/test.mjs
  • node .github/scripts/pr-review/test.mjs
  • node --check .github/scripts/issue-review/common.mjs
  • node --check .github/scripts/pr-readiness/verify.mjs
  • ruby -e 'require "yaml"; YAML.load_file(".github/workflows/codex-openai-review.yml")'
  • git diff --check
  • live h2vivi/firmwares#654 GraphQL query plus local schema-v4 mapping assertion

actionlint reports the same six existing job.workflow_repository / job.workflow_sha context diagnostics on both the base workflow and this branch; this change adds no new diagnostic.

Closes #21

Issue Review omitted GitHub's native dependency connections, so reviewers
could not verify real blocked-by ordering and readiness could remain unchanged
when those relationships changed.

- Capture bounded blockedBy and blocking connections in review and verification queries
- Normalize, deduplicate, sort, hash, and fail closed on incomplete dependencies
- Upgrade the Issue snapshot schema and cover live identity-changing boundaries

Generated with [Codex](https://github.com/openai)

@github-actions github-actions 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.

✅ OpenAI PR Review: PASS

Conclusion: Ready from the OpenAI review perspective. PR format, linked Issue design, and code/plan conformance passed with no actionable findings.

Review checks

Check Result
PR format ✅ PASS
Issue design ✅ PASS
Code & plan conformance ✅ PASS

Scope: 2a3e3b377c · 186e83c1a0..2a3e3b377c · full · 1 diff chunk

Usage: 43s · 263,658 tokens · 76.5% cache hit · 6.261 credits

Summary

All completed code chunks are consistent with Issue #21’s plan. No actionable findings or plan-conformance blockers remain.

Review metadata
  • Commit: 2a3e3b377c
  • Range: 186e83c1a0..2a3e3b377c
  • Mode: full
  • Diff chunks: 1
  • Model: gpt-5.6-terra
  • Reasoning effort: medium
  • Session: repo-1309321116-pr-22-v2
  • Generation: a5f4b3c4a2b97066ad3d505bbc05157e6ce4c8fecd70d8b491adce08b377fce1
  • Evidence: d1a851b27c4517542f7d60bdf50bc6f007c406d5151868c9becbace148b66e92

Totals

  • Input: 260,499
  • Cached input: 199,200
  • Cache write: 61,263
  • Output: 3,159
  • Reasoning: 1,604
  • Total: 263,658
  • Estimated credits: 6.261
  • Credit rate per 1M tokens: 62.5 input / 6.25 cached / 375 output
Token and cache details
Stage Mode Target Time Input Cached Hit Output Total Credits
pr deterministic format rules 0s 0 0 0.0% 0 0 0.000
pr full pr 5s 19,432 9,275 47.7% 276 19,708 0.796
issue full Issue #21 17s 84,359 68,818 81.6% 1,465 85,824 1.951
code full chunk 1/1 17s 87,300 54,604 62.5% 1,204 88,504 2.836
code full aggregate 4s 69,408 66,503 95.8% 214 69,622 0.677

@idy
idy merged commit 6984a5e into main Aug 3, 2026
11 checks passed
@idy
idy deleted the codex/issue-21-native-dependencies branch August 3, 2026 23:48
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.

workflows: Snapshot native Issue dependencies

1 participant