Skip to content

refactor(sv): carry the imports of a scope in its analysis context - #2673

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/refactor/analyzer-explicit-state/carry-imports-scope-analysis-context--082a6f20
Oct 31, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/refactor/analyzer-explicit-state/carry-imports-scope-analysis-context--082a6f20

Conversation

@tignear

@tignear tignear commented Oct 30, 2026

Copy link
Copy Markdown
Contributor

The symbols a scope imports and the package being analyzed were installed
into the shared analysis state behind RefCells, swapped by guards on the
way in and out of each scope, with a revision that told memoized
elaborations the state had changed. They are now values of the analysis
context: entering a scope or a package derives a context for it, a
generate item keeps the imports of the scope that elaborated it, and the
elaboration memo keys entries by the context's imports and package.
Functions that read the imports take the context instead of the state.

@tignear

tignear commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 refactor(sv): carry the imports of a scope in its analysis context #2673 👈
2 refactor(sv): pass constant functions explicitly instead of installing them #2674
3 refactor(sv): carry interface instances and time scopes in the context #2675

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 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-30T18:26:25.113910Z 9e38238 New commits
ℹ️ 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.

The symbols a scope imports and the package being analyzed were installed
into the shared analysis state behind RefCells, swapped by guards on the
way in and out of each scope, with a revision that told memoized
elaborations the state had changed. They are now values of the analysis
context: entering a scope or a package derives a context for it, a
generate item keeps the imports of the scope that elaborated it, and the
elaboration memo keys entries by the context's imports and package.
Functions that read the imports take the context instead of the state.

Change-Id: I082a6f20410bbcaea1391f510c56832fae20f57a
@tignear
tignear force-pushed the stack/tignear/refactor/analyzer-explicit-state/carry-imports-scope-analysis-context--082a6f20 branch from 89c31dc to 9e38238 Compare October 30, 2026 18:24
@tignear

tignear commented Oct 30, 2026

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial 89c31dc 2026-10-30 18:24 UTC
2 rebase 89c31dc → 9e38238 (rebase only) 2026-10-30 18:24 UTC

@mergify

mergify Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 31, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 31, 2026
@mergify

mergify Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as e475752 at 05:02 UTC

15 min in the queue, 13 min of it CI.

So far

9 merge conditions met
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • check-success = Verify workflow lockfile
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Queue validation
    • check-neutral = @github-actions/Queue validation
    • check-skipped = @github-actions/Queue validation
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Verify workflow lockfile
    • check-neutral = @github-actions/Verify workflow lockfile
    • check-skipped = @github-actions/Verify workflow lockfile

Times in UTC · dashboard · how the merge queue works

@mergify
mergify Bot merged commit e475752 into master Oct 31, 2026
28 checks passed
@mergify
mergify Bot deleted the stack/tignear/refactor/analyzer-explicit-state/carry-imports-scope-analysis-context--082a6f20 branch October 31, 2026 05:02
@mergify mergify Bot removed the queued Mergify queue entry label Oct 31, 2026
@github-actions github-actions Bot mentioned this pull request Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant