Azure / Azure/sql-action

Ability to rollback sql action if anything fails

Open
#243 0 comments 0 reactions 0 assignees View on GitHub
need-to-triage
Dominant language
TypeScript
Stars
142
Forks
73
PR merge metrics
No merged PRs in 30d

Description

I am using version 2.3 to run entity framework migrations against env databases. I would like to know if I can rollback all of the script if any failure happens. Currently, bits and pieces of a migration will work while others fail. The end result is an insert into the ef migration history table which is not ideal for us.

Contributor guide

Open the contributing guide

Research direction

Review the action's migration execution logic and how Entity Framework migration scripts are run against Azure SQL. Reproduce a migration with a deliberate failure, then verify whether partial changes and an entry in the EF migration history table remain; done means the migration is all-or-nothing and the behavior is covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, github-actions, sql, typescript
Domain
databases, devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.