Skip to content

docs: add _fs_utils.py to architecture Components table (#881)#884

Merged
microsasa merged 2 commits intomainfrom
fix/881-fs-utils-architecture-docs-8d3a954f2e76e964
Apr 9, 2026
Merged

docs: add _fs_utils.py to architecture Components table (#881)#884
microsasa merged 2 commits intomainfrom
fix/881-fs-utils-architecture-docs-8d3a954f2e76e964

Conversation

@microsasa
Copy link
Copy Markdown
Owner

Closes #881

Changes

  1. src/copilot_usage/docs/architecture.md — Added _fs_utils.py row to the ### Components table describing its two public symbols (lru_insert, safe_file_identity) and their consumers.

  2. tests/test_docs.py — Added test_components_table_lists_all_modules that enumerates all src/copilot_usage/*.py modules (excluding __init__.py) and asserts each one appears in the Components table. This prevents future modules from being silently omitted.

Testing

  • New test fails before the architecture.md fix (because _fs_utils.py is absent from the table) and passes after both changes are applied.
  • make check passes cleanly (lint, typecheck, security, unit + e2e tests at 99% coverage).

Generated by Issue Implementer · ● 3.8M ·

…ompleteness

- Add _fs_utils.py row to the ### Components table in architecture.md
- Add test_components_table_lists_all_modules to test_docs.py that
  enumerates all src/copilot_usage/*.py modules and asserts each one
  appears in the Components table

Closes #881

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@microsasa microsasa added the aw Created by agentic workflow label Apr 9, 2026
Copilot AI review requested due to automatic review settings April 9, 2026 10:54
@microsasa microsasa enabled auto-merge April 9, 2026 10:54
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the copilot-usage architecture documentation to include the missing _fs_utils.py module and adds a regression test to ensure all src/copilot_usage/*.py modules are listed in the ### Components table going forward.

Changes:

  • Added a _fs_utils.py entry to src/copilot_usage/docs/architecture.md under the ### Components table.
  • Added test_components_table_lists_all_modules in tests/test_docs.py to assert every top-level module file is represented in the Components table.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
tests/test_docs.py Adds a docs regression test to enforce completeness of the architecture Components table.
src/copilot_usage/docs/architecture.md Documents _fs_utils.py in the Components table, including its exported symbols and consumers.

@microsasa microsasa added the aw-review-response-attempted Responder has attempted to address review comments label Apr 9, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 9, 2026

Commit pushed: 6ab65bc

Generated by Review Responder

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@microsasa microsasa added the aw-quality-gate-approved Quality gate approved the PR label Apr 9, 2026
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Low-impact documentation + test-only change. The architecture.md update accurately describes _fs_utils.py (lru_insert, safe_file_identity), and the new test_components_table_lists_all_modules test is well-structured to prevent future modules from being silently omitted. CI green, code quality good. Auto-approving for merge.

@microsasa microsasa merged commit cccf00d into main Apr 9, 2026
9 checks passed
@microsasa microsasa deleted the fix/881-fs-utils-architecture-docs-8d3a954f2e76e964 branch April 9, 2026 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aw Created by agentic workflow aw-quality-gate-approved Quality gate approved the PR aw-review-response-attempted Responder has attempted to address review comments

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[aw][code health] _fs_utils.py missing from architecture docs and no automated check enforces module listing completeness

2 participants