Skip to content

GitHub actions implemntation - #4

Merged
ajs2583 merged 2 commits into
mainfrom
github-actions
Feb 11, 2026
Merged

ajs2583 merged 2 commits into
mainfrom
github-actions

Conversation

@ajs2583

@ajs2583 ajs2583 commented Feb 11, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces a comprehensive set of improvements to the project's automation, configuration, and error logging. The main focus is on setting up robust CI/CD workflows, automated PR labeling, dependency and security checks, and enhancing error reporting for document ingestion in the DocGPT subproject. These changes aim to streamline development processes, improve code quality, and provide clearer diagnostics.

CI/CD and Automation Workflows:

  • Added .github/workflows/ci.yml to run linting, formatting, type checks, and tests across multiple Python versions, including specialized testing for the DocGPT subproject.
  • Introduced .github/workflows/codeql.yml for automated CodeQL security analysis on pushes, pull requests, and a weekly schedule.
  • Added .github/workflows/dependency-review.yml to review dependencies on PRs, fail on high-severity vulnerabilities, and deny GPL/AGPL licenses.
  • Implemented .github/workflows/stale.yml to automatically mark and close stale issues and PRs based on inactivity, with configurable exemption labels.
  • Created .github/workflows/pr-changelog.yml to automatically comment a detailed change log summary on PRs, including file stats, directory breakdown, dependency changes, and large file warnings.

Automated Labeling:

  • Added .github/labeler.yml to map labels to file path patterns for core framework, metrics, data ingestion, DocGPT, tests, documentation, CI/CD, dependencies, config, and Docker.
  • Introduced .github/workflows/auto-label.yml to automatically label PRs based on changed files and PR size, removing old size labels and applying new ones according to the number of code changes.

Configuration and Dependency Management:

  • Added pyproject.toml for project metadata, dependencies, and tool configurations (Ruff, Mypy, Pytest), supporting optional dependencies for development, Excel, and BibTeX.

DocGPT Error Logging Improvements:

  • Enhanced error handling in systems/docgpt/main.py by replacing print statements with structured logging, capturing detailed metadata and exception info for failed document ingestions, and summarizing failed files for easier debugging. [1] [2] [3]

Testing Infrastructure:

  • Added tests/conftest.py with shared pytest fixtures for RAG evaluation, including default and faithfulness-only evaluators, sample data, and batch data for testing.

@github-actions

Copy link
Copy Markdown

PR Change Log

Changed Files Summary

Overall: 14 files changed, 1004 insertions(+), 3 deletions(-)

Files Changed

Status File Lines Added Lines Removed
Added .github/labeler.yml +76 -0
Added .github/workflows/auto-label.yml +87 -0
Added .github/workflows/ci.yml +108 -0
Added .github/workflows/codeql.yml +41 -0
Added .github/workflows/dependency-review.yml +24 -0
Added .github/workflows/pr-changelog.yml +136 -0
Added .github/workflows/stale.yml +45 -0
Added pyproject.toml +69 -0
Modified systems/docgpt/main.py +47 -3
Added tests/__init__.py +0 -0
Added tests/conftest.py +65 -0
Added tests/test_data_ingestion.py +94 -0
Added tests/test_evaluator.py +126 -0
Added tests/test_metrics.py +86 -0

Changes by Directory

  • .github/workflows/: 6 file(s)
  • tests/: 5 file(s)
  • ./: 2 file(s)
  • systems/docgpt/: 1 file(s)
  • .github/: 1 file(s)

Dependency Changes

Warnings

No large file changes detected.


Updated: 2026-02-11T18:24:25.011Z

@github-advanced-security

Copy link
Copy Markdown

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@ajs2583
ajs2583 merged commit 9466f8e into main Feb 11, 2026
9 of 12 checks passed
@ajs2583
ajs2583 deleted the github-actions branch February 11, 2026 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants