Subham-KRLX commented on issue #62500:
URL: https://github.com/apache/airflow/issues/62500#issuecomment-4100061249

   Hi @potiuk @jason810496  I have submitted a draft PoC PR addressing this 
issue.
   
   PR: #64012
   
   **What's implemented:**
   - 
[BreezieContext](cci:2://file:///Users/subhamsangwan/airflow/scripts/ci/prek/breeze_context.py:60:0-212:22)
 API — detects host vs Breeze vs Podman via a 4-step priority chain 
(`BREEZE_HOME` → `/.dockerenv` → `/.containerenv` → `/opt/airflow`)
   - [get_command(skill_id, 
**kwargs)](cci:1://file:///Users/subhamsangwan/airflow/scripts/ci/prek/breeze_context.py:146:4-212:22)
 — returns the correct command for the current context
   - Two core skills: `run-static-checks` (`prek run`) and `run-unit-tests` 
(`uv run pytest` / `breeze exec pytest`)
   - Drift detection prek hook — fails CI when 
[SKILL.md](cci:7://file:///Users/subhamsangwan/airflow/.github/skills/breeze-contribution/SKILL.md:0:0-0:0)
 and 
[skills.json](cci:7://file:///Users/subhamsangwan/airflow/.github/skills/breeze-contribution/skills.json:0:0-0:0)
 diverge
   - 27 tests covering context detection, extraction, drift, and edge cases
   
   **Design decision:** Using 
[SKILL.md](cci:7://file:///Users/subhamsangwan/airflow/.github/skills/breeze-contribution/SKILL.md:0:0-0:0)
 as a deliberate stepping stone while the skill block format is being 
established. The extraction pipeline is designed to support future 
auto-generation from Breeze CLI docstrings / `contributing-docs/*.rst` without 
breaking the drift-check contract.
   
   Would love any early feedback on the approach before I iterate further. 
Happy to adjust direction based on mentor guidance.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to