fix: default force_generation to true and fix schedule-run skip logic#879
Merged
fix: default force_generation to true and fix schedule-run skip logic#879
Conversation
Closed
…to prevent no-op runs - Change force_generation/force_translation default from false to true in all 10 workflow .md files - Update corresponding .lock.yml files to match - Fix EP_FORCE_GENERATION bash default to 'true' when unset (schedule runs) - Fix breaking news force check to only skip on explicit false - Update translate workflow to respect force_translation flag Agent-Logs-Url: https://github.com/Hack23/euparliamentmonitor/sessions/62132379-18e8-45f9-b58d-d274d93c01b7 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
…rn across all workflows Agent-Logs-Url: https://github.com/Hack23/euparliamentmonitor/sessions/62132379-18e8-45f9-b58d-d274d93c01b7 Co-authored-by: pethers <1726836+pethers@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Track no-op runs from agentic workflows
fix: default force_generation to true and fix schedule-run skip logic
Mar 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agentic news workflows were no-op'ing on scheduled (cron) runs because
force_generationdefaulted tofalseand the bash skip logic treated unset env vars as "don't force."Changes
force_generation/force_translationtotruein all 10 workflow.mdand.lock.ymlfiles${EP_FORCE_GENERATION:-}→${EP_FORCE_GENERATION:-true}so cron-triggered runs (wheregithub.event.inputsis empty) force generation instead of skipping!= "true"→= "false"to match the same semantics--skip-existing; now respectsforce_translationflagThe core issue: for
workflow_dispatch, thedefaultvalue populates the input. Forscheduletriggers,github.event.inputs.force_generationis empty, not the default. So this:Investigation: no hardcoded dates found
All workflows use dynamic dates (
$TODAY,timeframe: "today"/"one-week"). The DATE GUARD warnings and analysis-before-noop mandates are already in place.