Skip to content

Fix GlobalEnvironment injected state refresh#26

Merged
hainayanda merged 4 commits into
mainfrom
codex/fix-globalenvironment-injected-state-refresh
Mar 9, 2026
Merged

Fix GlobalEnvironment injected state refresh#26
hainayanda merged 4 commits into
mainfrom
codex/fix-globalenvironment-injected-state-refresh

Conversation

@hainayanda
Copy link
Copy Markdown
Owner

Summary

  • track local injected value updates with an explicit state version tick
  • reset local injected state version when clearing injected values
  • ensure global assignment updates are received on the main queue before state assignment

Testing

  • not run (not requested)

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

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: 2e5186125d

ℹ️ 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 Sources/SwiftEnvironment/Environment/GlobalEnvironment.swift
@hainayanda hainayanda merged commit 5d80696 into main Mar 9, 2026
3 checks passed
@hainayanda hainayanda deleted the codex/fix-globalenvironment-injected-state-refresh branch March 9, 2026 11:16
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