Skip to content

Standardize Codex manager logging and fix documentation typos#1060

Open
Ivorisnoob wants to merge 2 commits intopingdotgg:mainfrom
Ivorisnoob:main
Open

Standardize Codex manager logging and fix documentation typos#1060
Ivorisnoob wants to merge 2 commits intopingdotgg:mainfrom
Ivorisnoob:main

Conversation

@Ivorisnoob
Copy link

@Ivorisnoob Ivorisnoob commented Mar 14, 2026

What Changed

  • Migrated Codex manager lifecycle logs from console to Effect.log.
  • Fixed grammar and spelling errors within the project guidelines and maintainability documentation.
  • Validated all changes with existing linting rules.

Why

  • Log Persistence: Events logged via console are not captured by the project's rotating file sink. This change ensures critical provider events are persisted to disk.
  • Consistency: Brings the Codex server management logic in line with the established patterns used by the Git and Terminal services.
  • Documentation: Enhances readability of core repository instructions for both developers and agents.

UI Changes

N/A

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Standardize CodexAppServerManager.startSession logging to use Effect-based log calls

  • Replaces console.log/console.error calls in startSession with Effect.logInfo/Effect.logWarning executed via runPromise, matching the logging style used elsewhere in the manager.
  • Error logs now include a structured cause field extracted from Error.message or String(error).
  • Fixes grammar and spelling typos in AGENTS.md.

Macroscope summarized 49e8496.

- Migrate console logs to Effect.log in apps/server/src/codexAppServerManager.ts
- Fix grammar and typos in AGENTS.md
- Standardize on Effect-based logging for better persistence and scoping
@coderabbitai
Copy link

coderabbitai bot commented Mar 14, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 08f4084c-cccd-4a38-b155-4b811cc539c1

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Tip

CodeRabbit can scan for known vulnerabilities in your dependencies using OSV Scanner.

OSV Scanner will automatically detect and report security vulnerabilities in your project's dependencies. No additional configuration is required.

@github-actions github-actions bot added size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list. labels Mar 14, 2026
## Maintainability

Long term maintainability is a core priority. If you add new functionality, first check if there are shared logic that can be extracted to a separate module. Duplicate logic across mulitple files is a code smell and should be avoided. Don't be afraid to change existing code. Don't take shortcuts by just adding local logic to solve a problem.
Long term maintainability is a core priority. If you add new functionality, first check if there is shared logic that can be extracted to a separate module. Duplicate logic across multiple files is a code smell and should be avoided. Don't be afraid to change existing code. Don't take shortcuts by just adding local logic to solve a problem.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this get to do with the PR?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this get to do with the PR?

Sorry for the noise, Those were just small typos I spotted in the docs while working on this. They aren't related to the main logic, just felt like a quick win to fix them here

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can leave it as is. I am just a contributor trying to help the maintainers; they should have the final say in that. But I agree with you that it is a small change :)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciate it, I'll leave it in as-is and see what they say. Thanks for the help

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

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants