Skip to content

Report I/O subtypes for session config import failures - #37723

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e9a1a7cd36979911f422805180dd91b6ed65e14e
Aug 9, 2026
Merged

copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/e9a1a7cd36979911f422805180dd91b6ed65e14e

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 9, 2026 •

Copy link
Copy Markdown

Report I/O subtypes for session config import failures

What changed

  • Append a stable std::io::ErrorKind category to the
    failed_to_load_session_config subtype, including categories such as
    invalid_data, not_found, and permission_denied.
  • Propagate the categorized subtype through session import failure reporting.

Testing

  • Add an app-server test that verifies an invalid config reports
    failed_to_load_session_config_invalid_data in both the import completion
    notification and analytics event.

## What changed

- Append a stable `std::io::ErrorKind` category to the
  `failed_to_load_session_config` subtype, including categories such as
  `invalid_data`, `not_found`, and `permission_denied`.
- Propagate the categorized subtype through session import failure reporting.

## Testing

- Add an app-server test that verifies an invalid config reports
  `failed_to_load_session_config_invalid_data` in both the import completion
  notification and analytics event.

GitOrigin-RevId: e9a1a7cd36979911f422805180dd91b6ed65e14e
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/e9a1a7cd36979911f422805180dd91b6ed65e14e branch from eae2dd5 to 50ef739 Compare August 9, 2026 18:43
@copyberry
copyberry Bot merged commit 50ef739 into main Aug 9, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/e9a1a7cd36979911f422805180dd91b6ed65e14e branch August 9, 2026 18:44
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 9, 2026

This branch was previously deployed

1 inactive deployment
issue-triage — 50ef7395 Deployed Aug 9, 2026 by wuyak via Identify potential duplicates (open issues fallback) #36953
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.