Skip to content

Commit e5fae4c

Browse files
committed
ci: tell tooling-ci-specialist to take responsibility over the agent environment workflow
Signed-off-by: F.N. Claessen <felix@seita.nl>
1 parent 79ba848 commit e5fae4c

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

.github/agents/tooling-ci-specialist.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Keep FlexMeasures automation reliable and maintainable by reviewing GitHub Actio
1515

1616
- GitHub Actions workflows (`.github/workflows/`)
1717
- Pre-commit configuration (`.pre-commit-config.yaml`)
18+
- Agent environment setup (`.github/workflows/copilot-setup-steps.yml`)
1819
- Linter configurations (flake8, black, mypy)
1920
- Build and deployment scripts
2021
- CI matrix strategy (Python versions, services)
@@ -74,6 +75,45 @@ Keep FlexMeasures automation reliable and maintainable by reviewing GitHub Actio
7475
- [ ] **Fail-fast**: Usually false for comprehensive testing
7576
- [ ] **Coverage**: One Python version runs coverage
7677

78+
### Agent Environment Setup
79+
80+
File: **`.github/workflows/copilot-setup-steps.yml`**
81+
82+
This file defines standardized environment setup for GitHub Copilot agents. When reviewing or updating:
83+
84+
- [ ] **System dependencies**: Are all required packages installed?
85+
- PostgreSQL client libraries (`libpq-dev`)
86+
- Redis server
87+
- Other system tools
88+
89+
- [ ] **Python environment**:
90+
- Is Python version appropriate? (Default: 3.11)
91+
- Are dependencies installed correctly? (`pip-sync`, `pip install -e .`)
92+
- Is pip-tools version pinned?
93+
94+
- [ ] **Database setup**:
95+
- Is PostgreSQL service started?
96+
- Are test user and database created correctly?
97+
- Are permissions granted? (`CREATEDB` privilege)
98+
- Are extensions loaded? (`ci/load-psql-extensions.sql`)
99+
100+
- [ ] **Environment variables**:
101+
- `FLEXMEASURES_ENV=testing`
102+
- `SQLALCHEMY_DATABASE_URI` (PostgreSQL connection string)
103+
- `FLEXMEASURES_REDIS_URL` (Redis connection string)
104+
105+
- [ ] **Documentation**:
106+
- Are usage notes clear and accurate?
107+
- Are common issues and solutions documented?
108+
- Are testing commands documented?
109+
110+
**IMPORTANT**: When this file is updated, verify it actually works:
111+
112+
1. Follow the setup steps in a clean environment
113+
2. Run tests to confirm environment is functional
114+
3. Document any issues or unclear steps
115+
4. Update the file based on learnings
116+
77117
## Domain Knowledge
78118

79119
### FlexMeasures CI Infrastructure

0 commit comments

Comments
 (0)