Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/upstreaming-controller.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
(github.event_name == 'issues' &&
(contains(github.event.issue.labels.*.name, 'upstreaming-request') ||
(github.event.action == 'unlabeled' && github.event.label.name == 'upstreaming-request'))) ||
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '/upstreaming '))
(github.event_name == 'issue_comment' && contains(github.event.comment.body, '/upstreaming '))
steps:
- run: echo "event accepted for reconciliation"

Expand Down
1 change: 1 addition & 0 deletions SESSIONLOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@
- Added an exact-path repair compatibility flag for live contributions whose dossiers predate mandatory path coverage; new dossiers are marked coverage-complete and cannot use the legacy allowance.
- Added trusted post-publication review acknowledgements: every addressed feedback item gets a short App-authored response, inline review threads are resolved after replying, and marker/readback checks make retries idempotent.
- Added a fast ungrouped controller job that idempotently reacts `+1` to visible `/upstreaming` tracking-issue comments while leaving all parsing, authorization and command effects in serialized reconciliation.
- Aligned the controller's cheap comment filter with first-nonblank-line command parsing so blank-line-prefixed commands are both acknowledged and reconciled.
2 changes: 2 additions & 0 deletions upstreaming/tests/test_workflow_contracts.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,8 @@ def test_controller_chains_every_pipeline_completion_and_has_schedule_fallback(s
self.assertIn("github.event.action == 'unlabeled'", filter_if)
self.assertIn("github.event.label.name == 'upstreaming-request'", filter_if)
self.assertIn("created", triggers["issue_comment"]["types"])
self.assertIn("contains(github.event.comment.body, '/upstreaming ')", filter_if)
self.assertNotIn("startsWith(github.event.comment.body", filter_if)
self.assertIn("github.event_name == 'workflow_run'", controller["jobs"]["filter"]["if"])

def test_command_acknowledgement_is_fast_idempotent_and_not_serialized(self):
Expand Down