Removes the .taskid file fallback from auto_merge.py, making the branch name the sole source of truth for task ID resolution.
Problem
The .taskid file caused recurring issues:
Stale entries when branches were reused
Mismatches between branch name and .taskid causing auto-merge failures
Required manual updates when creating new PRs from existing branches
Solution
Branch name is the only source of task ID (e.g., DEVX-31-fix-bug → DEVX-31)
.taskid file is gitignored in all repos
A deprecation warning is printed if a stale .taskid file exists
Removed .taskid from classify_changes.py workflow-only list
Updated tests and documentation
Files changed
src/devx/ci/auto_merge.py — removed .taskid fallback in read_taskid()
src/devx/ci/classify_changes.py — removed .taskid from workflow-only list
.gitignore — added .taskid
AGENTS.md — updated task ID resolution docs
tests/unit/test_auto_merge.py — updated tests
Closes DEVX-40
## Summary
Removes the `.taskid` file fallback from `auto_merge.py`, making the branch name the sole source of truth for task ID resolution.
### Problem
The `.taskid` file caused recurring issues:
- Stale entries when branches were reused
- Mismatches between branch name and `.taskid` causing auto-merge failures
- Required manual updates when creating new PRs from existing branches
### Solution
- Branch name is the only source of task ID (e.g., `DEVX-31-fix-bug` → `DEVX-31`)
- `.taskid` file is gitignored in all repos
- A deprecation warning is printed if a stale `.taskid` file exists
- Removed `.taskid` from `classify_changes.py` workflow-only list
- Updated tests and documentation
### Files changed
- `src/devx/ci/auto_merge.py` — removed `.taskid` fallback in `read_taskid()`
- `src/devx/ci/classify_changes.py` — removed `.taskid` from workflow-only list
- `.gitignore` — added `.taskid`
- `AGENTS.md` — updated task ID resolution docs
- `tests/unit/test_auto_merge.py` — updated tests
Closes DEVX-40
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: OK
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: OK
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil
changed title from DEVX-40: Remove .taskid file fallback, use branch name only to DEVX-40: Remove .taskid file: branch-name-only task ID resolution2026-06-24 19:58:35 +00:00
Auto-merge: If all CI checks pass, this PR will be merged automatically.
## Automated PR Review
- Architecture compliance: OK
- Best practices: OK
- Security: OK
- i18n: OK
- Resource management: OK
- Documentation: OK
- Tests: OK
- Commit conventions: OK
No issues found by automated checks.
---
**Auto-merge:** If all CI checks pass, this PR will be merged automatically.
emil
merged commit cf85964877 into master2026-06-24 20:02:20 +00:00
emil
deleted branch DEVX-40-remove-taskid-file2026-06-24 20:02:21 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
Removes the
.taskidfile fallback fromauto_merge.py, making the branch name the sole source of truth for task ID resolution.Problem
The
.taskidfile caused recurring issues:.taskidcausing auto-merge failuresSolution
DEVX-31-fix-bug→DEVX-31).taskidfile is gitignored in all repos.taskidfile exists.taskidfromclassify_changes.pyworkflow-only listFiles changed
src/devx/ci/auto_merge.py— removed.taskidfallback inread_taskid()src/devx/ci/classify_changes.py— removed.taskidfrom workflow-only list.gitignore— added.taskidAGENTS.md— updated task ID resolution docstests/unit/test_auto_merge.py— updated testsCloses DEVX-40
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
Automated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.
DEVX-40: Remove .taskid file fallback, use branch name onlyto DEVX-40: Remove .taskid file: branch-name-only task ID resolutionAutomated PR Review
No issues found by automated checks.
Auto-merge: If all CI checks pass, this PR will be merged automatically.