Repository navigation
✨ Lockdown start/end carried from the workbook; Add dialog explains lockdown refusals (meta#15632) (ovcs) - #4691
Merged
Merged
Conversation
…a#15632) The Architect's workbook reader kept only six scheduled actions, so a START/END_LOCKDOWN_PERIOD row in the release Sheet was dropped with a warning and never reached the package. Carry both, event-wide only (Step refuses a lockdown naming an election), with the end after the start. The Scheduled Events Add dialog now shows the server's reason when it refuses a lockdown schedule, as the lockdown banner already did. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review: 2
Please check the settings in the CodeRabbit UI or the
|
…meta#15632) manage-election-dates now refuses an event-wide START_LOCKDOWN_PERIOD at or after a pending END_LOCKDOWN_PERIOD, and an end at or before a pending start, with "The lockdown must end after it starts." The Add dialog shows it as a lockdown refusal. Matches the workbook check from the previous commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Generated sequent-core archives and yarn.lock collisions resolved to the base (ovcs) placeholders; canonical WASM refresh to be re-queued. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Conflicts were only in generated files (the four sequent-core-0.1.0.tgz archives and packages/yarn.lock); taken from origin/ovcs as temporary placeholders. Both sides changed packages/sequent-core sources, so a canonical WASM rebuild is still required. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Parent issue: https://github.com/sequentech/meta/issues/15632 (rc.49 tracker sequentech/meta#15576)
Why
TOR 2.5.4.7.1 and Annex PQRI D.1 3.6.3.1.1 ask the EMS to set the start and end dates of system lockdown. Step already runs
START_LOCKDOWN_PERIOD/END_LOCKDOWN_PERIODevent-wide. Two things kept a lockdown schedule out of the demo:plan_from_workbook.rsCARRIED_ACTIONSkept six actions, so a lockdown row in the release Sheet was dropped with the warning "not one of the scheduled actions the wizard keeps" on the Architect path.manage-election-datesrefused a lockdown (for example "Choose a future date for the lockdown schedule."), the Scheduled Events Add dialog showed only the generic "createError".Change
START_LOCKDOWN_PERIODandEND_LOCKDOWN_PERIOD.check_imported_schedulerefuses a lockdown that names an election. Step's import andmanage-election-datesrefuse one too.fixedProcessor) already did. The message for other types is unchanged.The companion Architect UI change is in sequentech/beyond (meta#15632). It needs a Step pin that includes this PR.
Tests
cargo test -p sequent-core --features default_features,keycloak,election_config_xlsx,election_config_templates,election_config_archive,election_config_signing --lib -- plan_from_workbook schedul lockdown: 87 passed. This includes the newan_imported_lockdown_schedule_is_kept_for_the_whole_event.CreateScheduledEvent.test.tsandLockdownBanner.test.tsx: 46 passed. This includes the new "schedules an event-wide start of lockdown from Add and shows a server refusal".🤖 Generated with Claude Code